ryantimwilson / rpms / systemd

Forked from rpms/systemd a month ago
Clone
923a60
From c45af40e61ab34508862f9e668f47cc6eb2f6d45 Mon Sep 17 00:00:00 2001
923a60
From: Lukas Nykryn <lnykryn@redhat.com>
923a60
Date: Thu, 16 Apr 2015 10:50:10 +0200
923a60
Subject: [PATCH] journal: remove audit socket unit-files
923a60
923a60
---
923a60
 Makefile.am                         |  6 ++----
923a60
 units/systemd-journald-audit.socket | 19 -------------------
923a60
 units/systemd-journald.service.in   |  4 ++--
923a60
 3 files changed, 4 insertions(+), 25 deletions(-)
923a60
 delete mode 100644 units/systemd-journald-audit.socket
923a60
923a60
diff --git a/Makefile.am b/Makefile.am
923a60
index bec32c39e5..6d6b650f24 100644
923a60
--- a/Makefile.am
923a60
+++ b/Makefile.am
923a60
@@ -4518,8 +4518,7 @@ bin_PROGRAMS += \
923a60
 
923a60
 dist_systemunit_DATA += \
923a60
 	units/systemd-journald.socket \
923a60
-	units/systemd-journald-dev-log.socket \
923a60
-	units/systemd-journald-audit.socket
923a60
+	units/systemd-journald-dev-log.socket
923a60
 
923a60
 nodist_systemunit_DATA += \
923a60
 	units/systemd-journald.service \
923a60
@@ -4539,8 +4538,7 @@ dist_catalog_DATA = \
923a60
 
923a60
 SOCKETS_TARGET_WANTS += \
923a60
 	systemd-journald.socket \
923a60
-	systemd-journald-dev-log.socket \
923a60
-	systemd-journald-audit.socket
923a60
+	systemd-journald-dev-log.socket
923a60
 
923a60
 SYSINIT_TARGET_WANTS += \
923a60
 	systemd-journald.service \
923a60
diff --git a/units/systemd-journald-audit.socket b/units/systemd-journald-audit.socket
923a60
deleted file mode 100644
923a60
index 35397aaeb8..0000000000
923a60
--- a/units/systemd-journald-audit.socket
923a60
+++ /dev/null
923a60
@@ -1,19 +0,0 @@
923a60
-#  This file is part of systemd.
923a60
-#
923a60
-#  systemd is free software; you can redistribute it and/or modify it
923a60
-#  under the terms of the GNU Lesser General Public License as published by
923a60
-#  the Free Software Foundation; either version 2.1 of the License, or
923a60
-#  (at your option) any later version.
923a60
-
923a60
-[Unit]
923a60
-Description=Journal Audit Socket
923a60
-Documentation=man:systemd-journald.service(8) man:journald.conf(5)
923a60
-DefaultDependencies=no
923a60
-Before=sockets.target
923a60
-ConditionSecurity=audit
923a60
-
923a60
-[Socket]
923a60
-Service=systemd-journald.service
923a60
-ReceiveBuffer=128M
923a60
-ListenNetlink=audit 1
923a60
-PassCredentials=yes
923a60
diff --git a/units/systemd-journald.service.in b/units/systemd-journald.service.in
923a60
index 87704bb9c1..1bcc290ec4 100644
923a60
--- a/units/systemd-journald.service.in
923a60
+++ b/units/systemd-journald.service.in
923a60
@@ -10,12 +10,12 @@ Description=Journal Service
923a60
 Documentation=man:systemd-journald.service(8) man:journald.conf(5)
923a60
 DefaultDependencies=no
923a60
 Requires=systemd-journald.socket
923a60
-After=systemd-journald.socket systemd-journald-dev-log.socket systemd-journald-audit.socket syslog.socket
923a60
+After=systemd-journald.socket systemd-journald-dev-log.socket syslog.socket
923a60
 Before=sysinit.target
923a60
 
923a60
 [Service]
923a60
 Type=notify
923a60
-Sockets=systemd-journald.socket systemd-journald-dev-log.socket systemd-journald-audit.socket
923a60
+Sockets=systemd-journald.socket systemd-journald-dev-log.socket
923a60
 ExecStart=@rootlibexecdir@/systemd-journald
923a60
 Restart=always
923a60
 RestartSec=0