From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stefan Schantl To: development@lists.ipfire.org Subject: [PATCH] systemd: Reexec systemd after update. Date: Sun, 21 Jun 2015 22:23:52 +0200 Message-ID: <1434918232-22386-1-git-send-email-stefan.schantl@ipfire.org> In-Reply-To: <1434917509.16390.1.camel@ipfire.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============6369231219754181484==" List-Id: --===============6369231219754181484== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit 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 --- 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 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 || : -- 2.1.0 --===============6369231219754181484==--