From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michael Tremer To: development@lists.ipfire.org Subject: Re: [PATCH] systemd: Reexec systemd after update. Date: Sun, 21 Jun 2015 22:11:49 +0200 Message-ID: <1434917509.16390.1.camel@ipfire.org> In-Reply-To: <1434916976-21899-1-git-send-email-stefan.schantl@ipfire.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============5005635942170413894==" List-Id: --===============5005635942170413894== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable 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. >=20 > Fixes #10820. >=20 > Signed-off-by: Stefan Schantl > --- > systemd/systemd.nm | 5 ++++- > 1 file changed, 4 insertions(+), 1 deletion(-) >=20 > 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 @@ > =20 > name =3D systemd > version =3D 215 > -release =3D 1 > +release =3D 1.1 Why 1.1 and not 2? > =20 > maintainer =3D Stefan Schantl > groups =3D System/Base > @@ -226,6 +226,9 @@ packages > end > =20 > 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 --===============5005635942170413894== Content-Type: application/pgp-signature Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="signature.asc" MIME-Version: 1.0 LS0tLS1CRUdJTiBQR1AgU0lHTkFUVVJFLS0tLS0KVmVyc2lvbjogR251UEcgdjIKCmlRSWNCQUFC Q2dBR0JRSlZoeHFMQUFvSkVJQjU4UDl2a0FrSEVEUVFBSTdsWktKakJZTzI3bW0ydDhZQnUrdkUK bkwyeEJiMmV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