summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCarlos Santos <casantos@datacom.com.br>2018-11-03 13:42:42 -0300
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>2018-11-03 22:21:53 +0100
commit6fe5fe4c4d034bd471a9ed28e5fba81475ae09ec (patch)
treec498d54b0f041c211e08e349f673810d923dbc25
parent4be494b8045b51ddc41cec370950a95bc72fba55 (diff)
downloadbuildroot-6fe5fe4c4d034bd471a9ed28e5fba81475ae09ec.tar.gz
buildroot-6fe5fe4c4d034bd471a9ed28e5fba81475ae09ec.zip
package/audit: ensure that it starts after the logging daemon
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 <casantos@datacom.com.br> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
-rw-r--r--package/audit/S02auditd (renamed from package/audit/S01auditd)0
-rw-r--r--package/audit/audit.mk2
2 files changed, 1 insertions, 1 deletions
diff --git a/package/audit/S01auditd b/package/audit/S02auditd
index 2ecf0f1df9..2ecf0f1df9 100644
--- a/package/audit/S01auditd
+++ b/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
OpenPOWER on IntegriCloud