systemd/SOURCES/0100-journal-don-t-enable-systemd-journald-audit.socket-b.patch

42 lines
1.7 KiB
Diff
Raw Normal View History

2023-05-09 05:39:14 +00:00
From 44740b947ed0b34ed9848dae276ec1d448340ce9 Mon Sep 17 00:00:00 2001
2022-05-17 10:28:40 +00:00
From: Jan Synacek <jsynacek@redhat.com>
Date: Thu, 2 May 2019 14:11:54 +0200
Subject: [PATCH] journal: don't enable systemd-journald-audit.socket by
default
RHEL-only
2023-05-09 05:39:14 +00:00
Related: #2138081
2022-05-17 10:28:40 +00:00
---
units/meson.build | 3 +--
units/systemd-journald.service.in | 2 +-
2 files changed, 2 insertions(+), 3 deletions(-)
diff --git a/units/meson.build b/units/meson.build
2023-05-09 05:39:14 +00:00
index 25e9209b4d..b224701eb9 100644
2022-05-17 10:28:40 +00:00
--- a/units/meson.build
+++ b/units/meson.build
2023-05-09 05:39:14 +00:00
@@ -123,8 +123,7 @@ units = [
2022-05-17 10:28:40 +00:00
'sysinit.target.wants/'],
['systemd-journal-gatewayd.socket', 'ENABLE_REMOTE HAVE_MICROHTTPD'],
['systemd-journal-remote.socket', 'ENABLE_REMOTE HAVE_MICROHTTPD'],
- ['systemd-journald-audit.socket', '',
- 'sockets.target.wants/'],
+ ['systemd-journald-audit.socket', ''],
['systemd-journald-dev-log.socket', '',
'sockets.target.wants/'],
['systemd-journald.socket', '',
diff --git a/units/systemd-journald.service.in b/units/systemd-journald.service.in
2023-05-09 05:39:14 +00:00
index 38ba3e2856..e8be031de5 100644
2022-05-17 10:28:40 +00:00
--- a/units/systemd-journald.service.in
+++ b/units/systemd-journald.service.in
@@ -12,7 +12,7 @@ Description=Journal Service
Documentation=man:systemd-journald.service(8) man:journald.conf(5)
DefaultDependencies=no
Requires=systemd-journald.socket
-After=systemd-journald.socket systemd-journald-dev-log.socket systemd-journald-audit.socket syslog.socket
+After=systemd-journald.socket systemd-journald-dev-log.socket syslog.socket
Before=sysinit.target
2023-05-09 05:39:14 +00:00
# Mount and swap units need the journal socket units. If they were removed by