anitazha / rpms / systemd

Forked from rpms/systemd 3 years ago
Clone

Blame SOURCES/0494-units-drop-explicit-NotifyAccess-setting-from-journa.patch

a19bc6
From 3126e1ac82a14399e4a759b68ab85e10ba8ba3b3 Mon Sep 17 00:00:00 2001
a19bc6
From: Michal Sekletar <msekletar@users.noreply.github.com>
a19bc6
Date: Wed, 19 Apr 2017 08:52:40 +0200
a19bc6
Subject: [PATCH] units: drop explicit NotifyAccess setting from journald's
a19bc6
 unit file (#5749)
a19bc6
a19bc6
systemd-journald service consists of only single process and that is the
a19bc6
MainPID. Make unit file shorter and drop NotifyAccess=all since it is
a19bc6
not useful in such case.
a19bc6
a19bc6
https://lists.freedesktop.org/archives/systemd-devel/2017-April/038667.html
a19bc6
a19bc6
(cherry picked from commit 6f0e6bd253f449bedec78ec8a468929d3c5d8faf)
a19bc6
a19bc6
Resolves: #1444356
a19bc6
---
a19bc6
 units/systemd-journald.service.in | 1 -
a19bc6
 1 file changed, 1 deletion(-)
a19bc6
a19bc6
diff --git a/units/systemd-journald.service.in b/units/systemd-journald.service.in
c62b8e
index 8575912bbd..c85c349327 100644
a19bc6
--- a/units/systemd-journald.service.in
a19bc6
+++ b/units/systemd-journald.service.in
a19bc6
@@ -19,7 +19,6 @@ Sockets=systemd-journald.socket
a19bc6
 ExecStart=@rootlibexecdir@/systemd-journald
a19bc6
 Restart=always
a19bc6
 RestartSec=0
a19bc6
-NotifyAccess=all
a19bc6
 StandardOutput=null
a19bc6
 CapabilityBoundingSet=CAP_SYS_ADMIN CAP_DAC_OVERRIDE CAP_SYS_PTRACE CAP_SYSLOG CAP_AUDIT_CONTROL CAP_AUDIT_READ CAP_CHOWN CAP_DAC_READ_SEARCH CAP_FOWNER CAP_SETUID CAP_SETGID CAP_MAC_OVERRIDE
a19bc6
 WatchdogSec=3min