661545
From 7872e75d4be31e6ba295c8360e801fd133ee6d76 Mon Sep 17 00:00:00 2001
661545
From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= <zbyszek@in.waw.pl>
661545
Date: Sun, 29 Jan 2017 12:45:51 -0500
661545
Subject: [PATCH] units: drop KillMode= from initrd-switch-root.service
661545
661545
The service already has DefaultDeps disabled, so systemd should not try to stop
661545
it. And if it *does* get stopped, we don't want the zombie process around.
661545
KillMode=none does not change anything in the killall() phase, and we already
661545
use argv[0][0] = '@' to protect against that anyway. KillMode=none should not
661545
be useful in normal operation, so let's leave it out.
661545
661545
(cherry picked from commit 0af9a194ca0243fcb206499116e28612f571bd91)
661545
661545
Related: #1754053
661545
---
661545
 units/initrd-switch-root.service.in | 1 -
661545
 1 file changed, 1 deletion(-)
661545
661545
diff --git a/units/initrd-switch-root.service.in b/units/initrd-switch-root.service.in
661545
index 82893dafb1..d8e35c79fe 100644
661545
--- a/units/initrd-switch-root.service.in
661545
+++ b/units/initrd-switch-root.service.in
661545
@@ -17,4 +17,3 @@ AllowIsolate=yes
661545
 Type=oneshot
661545
 # we have to use "--force" here, otherwise systemd would umount /run
661545
 ExecStart=@rootbindir@/systemctl --no-block --force switch-root /sysroot
661545
-KillMode=none