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..123d48f 100644 --- a/systemd/systemd.nm +++ b/systemd/systemd.nm @@ -5,7 +5,7 @@
name = systemd version = 215 -release = 1 +release = 1.1
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-reexe + # 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 || :
On Sun, 2015-06-21 at 22:02 +0200, Stefan Schantl wrote:
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..123d48f 100644 --- a/systemd/systemd.nm +++ b/systemd/systemd.nm @@ -5,7 +5,7 @@
name = systemd version = 215 -release = 1 +release = 1.1
Why 1.1 and not 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-reexe
Rejected as there is clearly a 'c' missing.
# 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 || :
Do we need the daemon-reload command after re-exec?
-Michael
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 || :