3bb3ed0e创建于 2023年6月5日历史提交
Description: Remove the RefuseManualStop=yes option
 This option is preventing the daemon to be restarted on upgrade.
 .
 When using systemctl to stop audit, the audit framework is recording the pid
 of systemd instead of the one from the user process that actually stopped the
 process. This is breaking the conformity with some gouvernemental
 certifications.
Author: Laurent Bigonville <bigon@debian.org>
Forwarded: not-needed

--- a/init.d/auditd.service
+++ b/init.d/auditd.service
@@ -11,7 +11,6 @@ After=local-fs.target systemd-tmpfiles-s
 Before=sysinit.target shutdown.target
 ##Before=shutdown.target
 Conflicts=shutdown.target
-RefuseManualStop=yes
 ConditionKernelCommandLine=!audit=0
 ConditionKernelCommandLine=!audit=off