File audit-modify-systemd-service-to-forking.patch of Package audit.5264
From: sgrubb <sgrubb@03a675c2-f56d-4096-908f-63dba836b7e4>
Date: Fri, 24 Feb 2017 16:45:10 +0000
Subject: Modify systemd service file to make auditd a forking type of service
Git-repo: https://github.com/linux-audit/audit-userspace.git
Git-commit: 6cf57d27d7dd78e9606da0b2327d5f8c46de9de8
References: bsc#1042781
Acked-by: Tony Jones <tonyj@suse.de>
git-svn-id: http://svn.fedorahosted.org/svn/audit/trunk@1528 03a675c2-f56d-4096-908f-63dba836b7e4
[suse: adjust for context,
no Documentation= tag 27ed66551c3f
no default augenrules 484928d37741
]
---
init.d/auditd.service | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
--- a/init.d/auditd.service
+++ b/init.d/auditd.service
@@ -6,7 +6,9 @@ Conflicts=shutdown.target
Before=sysinit.target shutdown.target
[Service]
-ExecStart=/sbin/auditd -n
+Type=forking
+PIDFile=/var/run/auditd.pid
+ExecStart=/sbin/auditd
## To use augenrules, copy this file to /etc/systemd/system/auditd.service
## and uncomment the next line and delete/comment out the auditctl line.
## Then copy existing rules to /etc/audit/rules.d/