2013-12-03 23:28:29 +01:00
|
|
|
From: Tony Jones <tonyj@suse.de>
|
|
|
|
Subject: allow service stop
|
|
|
|
References: https://lists.fedoraproject.org/pipermail/devel/2012-June/169411.html
|
|
|
|
References: https://www.redhat.com/archives/linux-audit/2013-July/msg00048.html
|
|
|
|
---
|
|
|
|
|
|
|
|
legacy-actions is Fedora specific, so blocking manual stop won't work for
|
|
|
|
SuSE since we lack the ability to use a custom stop/restart
|
|
|
|
|
|
|
|
|
|
|
|
init.d/auditd.service | 1 -
|
|
|
|
1 file changed, 1 deletion(-)
|
|
|
|
|
|
|
|
--- a/init.d/auditd.service
|
|
|
|
+++ b/init.d/auditd.service
|
|
|
|
@@ -4,7 +4,6 @@ DefaultDependencies=no
|
2014-09-03 01:07:21 +02:00
|
|
|
After=local-fs.target systemd-tmpfiles-setup.service
|
2013-12-03 23:28:29 +01:00
|
|
|
Conflicts=shutdown.target
|
|
|
|
Before=sysinit.target shutdown.target
|
|
|
|
-RefuseManualStop=yes
|
2014-09-03 01:07:21 +02:00
|
|
|
ConditionKernelCommandLine=!audit=0
|
2013-12-03 23:28:29 +01:00
|
|
|
|
|
|
|
[Service]
|