Blame SOURCES/audit-2.3.3-augenrules.patch

859841
diff -urp audit-2.3.3.orig/init.d/auditd.service audit-2.3.3/init.d/auditd.service
859841
--- audit-2.3.3.orig/init.d/auditd.service	2014-01-16 06:24:42.000000000 -0500
859841
+++ audit-2.3.3/init.d/auditd.service	2014-03-18 12:47:13.682617960 -0400
859841
@@ -8,12 +8,11 @@ RefuseManualStop=yes
859841
 
859841
 [Service]
859841
 ExecStart=/sbin/auditd -n
859841
-## To use augenrules, copy this file to /etc/systemd/system/auditd.service
859841
-## and uncomment the next line and delete/comment out the auditctl line.
859841
-## Then copy existing rules to /etc/audit/rules.d/
859841
-## Not doing this last step can cause loss of existing rules
859841
-#ExecStartPost=-/sbin/augenrules --load
859841
-ExecStartPost=-/sbin/auditctl -R /etc/audit/audit.rules
859841
+## To not use augenrules, copy this file to /etc/systemd/system/auditd.service
859841
+## and comment/delete the next line and uncomment the auditctl line.
859841
+## NOTE: augenrules expect any rules to be added to /etc/audit/rules.d/
859841
+ExecStartPost=-/sbin/augenrules --load
859841
+#ExecStartPost=-/sbin/auditctl -R /etc/audit/audit.rules
859841
 ExecReload=/bin/kill -HUP $MAINPID
859841
 
859841
 [Install]