systemd/SOURCES/0103-Really-don-t-enable-systemd-journald-audit.socket.patch

26 lines
906 B
Diff
Raw Normal View History

2023-03-28 09:30:11 +00:00
From e715ac2104707b6a8744fa54b1e4419a07ff88f6 Mon Sep 17 00:00:00 2001
2021-12-07 19:23:34 +00:00
From: David Tardon <dtardon@redhat.com>
Date: Wed, 25 Aug 2021 16:03:04 +0200
Subject: [PATCH] Really don't enable systemd-journald-audit.socket
RHEL-only
2023-03-28 09:30:11 +00:00
Related: #2138081
2021-12-07 19:23:34 +00:00
---
units/systemd-journald.service.in | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/units/systemd-journald.service.in b/units/systemd-journald.service.in
2023-03-28 09:30:11 +00:00
index e8be031de5..ee8bdcb9ca 100644
2021-12-07 19:23:34 +00:00
--- a/units/systemd-journald.service.in
+++ b/units/systemd-journald.service.in
2023-03-28 09:30:11 +00:00
@@ -38,7 +38,7 @@ RestrictRealtime=yes
2021-12-07 19:23:34 +00:00
RestrictSUIDSGID=yes
RuntimeDirectory=systemd/journal
RuntimeDirectoryPreserve=yes
-Sockets=systemd-journald.socket systemd-journald-dev-log.socket systemd-journald-audit.socket
+Sockets=systemd-journald.socket systemd-journald-dev-log.socket
StandardOutput=null
SystemCallArchitectures=native
SystemCallErrorNumber=EPERM