auditd.service: if audit=0 in kernel cmdline do not start service
PATCH 1/1 auditd.service: if audit=0 in kernel cmdline do not start service
If audit is disabled in the kernel command line, skip systemd service activation.
Signature · 3 lines
Cristian "I don't know the key to success, but the key to failure is trying to please everybody."
auditd.service +1 -0
@@ -5,6 +5,7 @@ Conflicts=shutdown.target Before=sysinit.target shutdown.target RefuseManualStop=yes +ConditionKernelCommandLine=!audit=0 [Service] ExecStart=/sbin/auditd -n
Steve Grubb
AppliedQuoted 2 lines · Cristian Rodríguez
If audit is disabled in the kernel command line, skip systemd service activation.
Applied in commit 996. Thanks!
-Steve