From 11a55b15bfb7e4c7e19a15f1d126ff5d6684df5f Mon Sep 17 00:00:00 2001 From: Yu Watanabe Date: Fri, 17 May 2024 11:50:44 +0900 Subject: [PATCH] units: drop dependencies of soft-reboot.target from systemd-journald@.service The service deos not have DefaultDependencies=no. Hence it has dependencies of shutdown.target, and dependencies of soft-reboot.target are not necessary. Follow-up for f89985ca494b79b2beed47e1f10d46ef2d59ce3e. --- units/systemd-journald@.service.in | 5 ----- 1 file changed, 5 deletions(-) diff --git a/units/systemd-journald@.service.in b/units/systemd-journald@.service.in index c3bcb085335..b705ce08ff5 100644 --- a/units/systemd-journald@.service.in +++ b/units/systemd-journald@.service.in @@ -13,11 +13,6 @@ Documentation=man:systemd-journald.service(8) man:journald.conf(5) Requires=systemd-journald@%i.socket systemd-journald-varlink@%i.socket After=systemd-journald@%i.socket systemd-journald-varlink@%i.socket -# To avoid journald SIGKILLed during soft-reboot and corrupting journals. -# See https://github.com/systemd/systemd/issues/30195 -Before=soft-reboot.target -Conflicts=soft-reboot.target - [Service] CapabilityBoundingSet=CAP_SYS_ADMIN CAP_DAC_OVERRIDE CAP_SYS_PTRACE CAP_CHOWN CAP_DAC_READ_SEARCH CAP_FOWNER CAP_SETUID CAP_SETGID CAP_MAC_OVERRIDE DevicePolicy=closed