Reexec the systemd init daemon after update from now. This will prevent from leaving the system in an undefined / unuseable status.
Fixes #10820.
Signed-off-by: Stefan Schantl stefan.schantl@ipfire.org --- systemd/systemd.nm | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/systemd/systemd.nm b/systemd/systemd.nm index 3ed1b5b..747983c 100644 --- a/systemd/systemd.nm +++ b/systemd/systemd.nm @@ -5,7 +5,7 @@
name = systemd version = 215 -release = 1 +release = 2
maintainer = Stefan Schantl stefan.schantl@ipfire.org groups = System/Base @@ -226,6 +226,9 @@ packages end
script postup + # Re-exec systemd after update. + /usr/bin/systemctl daemon-reexec + # Restart login service after update /usr/bin/systemctl daemon-reload >/dev/null 2>&1 || : /usr/bin/systemctl try-restart systemd-logind.service >/dev/null 2>&1 || :