audit/remote-logging-ordering-cycle.patch
Cropi ff70a3750e c9s bugfix
Disable ProtectKernelModules=true in service file
  Resolves: RHEL-59570
af_unix plugin: restore original behavior in binary mode
  Resolves: RHEL-59585
Support image mode
  Resolves: RHEL-69033
Resolve ordering cycle when using remote logging
  Resolves: RHEL-11252
Filter syscalls to ensure architecture-specific availability
  Resolves: RHEL-70455
2025-01-15 10:03:09 +01:00

15 lines
723 B
Diff

diff --git a/init.d/auditd.service b/init.d/auditd.service
index dd7ec694b..d5139ae92 100644
--- a/init.d/auditd.service
+++ b/init.d/auditd.service
@@ -6,6 +6,9 @@ DefaultDependencies=no
## uncomment the second so that network-online.target is part of After.
## then comment the first Before and uncomment the second Before to remove
## sysinit.target from "Before".
+## If using remote logging, ensure that the systemd-update-utmp.service file
+## is updated to remove the After=auditd.service directive to prevent a
+## boot-time ordering cycle.
After=local-fs.target systemd-tmpfiles-setup.service
##After=network-online.target local-fs.target systemd-tmpfiles-setup.service
Before=sysinit.target shutdown.target