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