Skip to content

Commit b823ce4

Browse files
committed
Re-order daemon starting sequence
Start auditd before loading any rules. This matches how it was done in the previous versions of auditd.
1 parent ad59cf9 commit b823ce4

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

init.d/auditd.service.in

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@ Wants=audit-rules.service
1616
## a minimal file that overrides only the necessary lines but inherits the
1717
## original settings in case they get updated by a distribution. Please check
1818
## systemd documentation if it's unclear how to override settings.
19-
After=local-fs.target systemd-tmpfiles-setup.service audit-rules.service
19+
After=local-fs.target systemd-tmpfiles-setup.service
2020
#After=network-online.target local-fs.target systemd-tmpfiles-setup.service
21-
Before=sysinit.target shutdown.target
21+
Before=sysinit.target shutdown.target audit-rules.service
2222
#Before=shutdown.target
2323
Conflicts=shutdown.target
2424
RefuseManualStop=yes

0 commit comments

Comments
 (0)