From 6f4e2f97d738e720ae843cef67cf83e350aa7667 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Fri, 9 Dec 2016 17:36:40 +0100 Subject: [PATCH] units: drop --fail parameter from "systemctl switch-root" invocation This parameter has no effect on switch root hence we shouldn't specify it. --- units/initrd-switch-root.service.in | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/units/initrd-switch-root.service.in b/units/initrd-switch-root.service.in index 82893dafb1..219748d19b 100644 --- a/units/initrd-switch-root.service.in +++ b/units/initrd-switch-root.service.in @@ -15,6 +15,5 @@ AllowIsolate=yes [Service] Type=oneshot -# we have to use "--force" here, otherwise systemd would umount /run -ExecStart=@rootbindir@/systemctl --no-block --force switch-root /sysroot +ExecStart=@rootbindir@/systemctl --no-block switch-root /sysroot KillMode=none