From patchwork Sat Nov 3 16:42:42 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Carlos Santos X-Patchwork-Id: 992668 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=busybox.net (client-ip=140.211.166.138; helo=whitealder.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=datacom.com.br Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 42nPrX4Q51zB4gG for ; Sun, 4 Nov 2018 03:43:08 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id AB0AB87BC0; Sat, 3 Nov 2018 16:43:03 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id SGfnLCycapHZ; Sat, 3 Nov 2018 16:43:02 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by whitealder.osuosl.org (Postfix) with ESMTP id F23AA878F4; Sat, 3 Nov 2018 16:43:01 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id B929F1BF587 for ; Sat, 3 Nov 2018 16:42:57 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id B59A687101 for ; Sat, 3 Nov 2018 16:42:57 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id nVGQ9Ijbmkj1 for ; Sat, 3 Nov 2018 16:42:55 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail.datacom.com.br (mx.datacom.ind.br [177.66.5.10]) by whitealder.osuosl.org (Postfix) with ESMTPS id 728A086BEC for ; Sat, 3 Nov 2018 16:42:55 +0000 (UTC) Received: from mail.datacom.com.br (localhost [127.0.0.1]) by mail.datacom.com.br (Postfix) with ESMTPS id 381A01BA11B7; Sat, 3 Nov 2018 13:43:19 -0300 (-03) Received: from localhost (localhost [127.0.0.1]) by mail.datacom.com.br (Postfix) with ESMTP id 2315A1BA11B3; Sat, 3 Nov 2018 13:43:19 -0300 (-03) Received: from mail.datacom.com.br ([127.0.0.1]) by localhost (mail.datacom.com.br [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id CbEF7fVxw_xC; Sat, 3 Nov 2018 13:43:19 -0300 (-03) Received: from p7-1130br.casantos.org (unknown [201.86.221.14]) by mail.datacom.com.br (Postfix) with ESMTPSA id A54731BA11B9; Sat, 3 Nov 2018 13:43:18 -0300 (-03) From: Carlos Santos To: buildroot@buildroot.org Date: Sat, 3 Nov 2018 13:42:42 -0300 Message-Id: <20181103164244.10607-3-casantos@datacom.com.br> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20181103164244.10607-1-casantos@datacom.com.br> References: <20181103164244.10607-1-casantos@datacom.com.br> Subject: [Buildroot] [PATCH 2/4] audit: ensure that it starts after the logging daemon X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Adam Duskett MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" audit uses syslog(). Rename its init script to S02auditd to ensure that it will start after syslogd. Otherwise the initial log messages will be sent to the console (and probably lost, since almost nobody watches the system console on embedded systems). Signed-off-by: Carlos Santos --- package/audit/{S01auditd => S02auditd} | 0 package/audit/audit.mk | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) rename package/audit/{S01auditd => S02auditd} (100%) diff --git a/package/audit/S01auditd b/package/audit/S02auditd similarity index 100% rename from package/audit/S01auditd rename to package/audit/S02auditd diff --git a/package/audit/audit.mk b/package/audit/audit.mk index 2f6e6653b3..228ef9998c 100644 --- a/package/audit/audit.mk +++ b/package/audit/audit.mk @@ -38,7 +38,7 @@ AUDIT_CONF_OPTS += --disable-systemd endif define AUDIT_INSTALL_INIT_SYSV - $(INSTALL) -D -m 755 package/audit/S01auditd $(TARGET_DIR)/etc/init.d/S01auditd + $(INSTALL) -D -m 755 package/audit/S02auditd $(TARGET_DIR)/etc/init.d/S02auditd endef define AUDIT_INSTALL_INIT_SYSTEMD