2022-03-01 12:41:19 +00:00
|
|
|
From f1d66259bcff8333d7dd495bbeef274206f7300d Mon Sep 17 00:00:00 2001
|
2021-11-04 00:51:05 +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
|
|
|
|
|
|
|
|
Resolves: #1973856
|
|
|
|
---
|
|
|
|
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
|
2022-03-01 12:41:19 +00:00
|
|
|
index a9bf28f6d9..69d53f4259 100644
|
2021-11-04 00:51:05 +00:00
|
|
|
--- a/units/meson.build
|
|
|
|
+++ b/units/meson.build
|
2022-03-01 12:41:19 +00:00
|
|
|
@@ -124,8 +124,7 @@ units = [
|
2021-11-04 00:51:05 +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
|
|
|
|
index cd17b6b4e7..d981273b07 100644
|
|
|
|
--- 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
|
|
|
|
|
|
|
|
[Service]
|