audit/audit-allow-manual-stop.patch
Enzo Matsumiya 239d018a6e - Update audit.spec (bsc#1231236):
* add requirement for 'awk' package
  * move some %post logic from audit to audit-rules

- Update audit.spec: add requirement for 'awk' package (bsc#1231236)

OBS-URL: https://build.opensuse.org/package/show/security/audit?expand=0&rev=159
2024-10-11 13:04:43 +00:00

24 lines
741 B
Diff

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
@@ -14,7 +14,6 @@ After=local-fs.target systemd-tmpfiles-s
Before=sysinit.target shutdown.target
##Before=shutdown.target
Conflicts=shutdown.target
-RefuseManualStop=yes
Documentation=man:auditd(8) https://github.com/linux-audit/audit-documentation