ryantimwilson / rpms / systemd

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