From 0af9a194ca0243fcb206499116e28612f571bd91 Mon Sep 17 00:00:00 2001 From: Zbigniew Jędrzejewski-Szmek Date: Sun, 29 Jan 2017 12:45:51 -0500 Subject: units: drop KillMode= from initrd-switch-root.service The service already has DefaultDeps disabled, so systemd should not try to stop it. And if it *does* get stopped, we don't want the zombie process around. KillMode=none does not change anything in the killall() phase, and we already use argv[0][0] = '@' to protect against that anyway. KillMode=none should not be useful in normal operation, so let's leave it out. --- units/initrd-switch-root.service.in | 1 - 1 file changed, 1 deletion(-) (limited to 'units/initrd-switch-root.service.in') diff --git a/units/initrd-switch-root.service.in b/units/initrd-switch-root.service.in index 219748d19b..d31497f5e3 100644 --- a/units/initrd-switch-root.service.in +++ b/units/initrd-switch-root.service.in @@ -16,4 +16,3 @@ AllowIsolate=yes [Service] Type=oneshot ExecStart=@rootbindir@/systemctl --no-block switch-root /sysroot -KillMode=none -- cgit v1.2.3-54-g00ecf