From mboxrd@z Thu Jan 1 00:00:00 1970 From: zerodaysfordays@sdf.lonestar.org (Jakob L. Kreuze) Subject: bug#36517: 'guix deploy' does not restart services Date: Thu, 11 Jul 2019 13:05:00 -0400 Message-ID: <874l3sqz7n.fsf@sdf.lonestar.org> References: <87pnmof4lf.fsf@sdf.lonestar.org> <878st4vb74.fsf@gnu.org> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:55170) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hlcWB-0001oy-V6 for bug-guix@gnu.org; Thu, 11 Jul 2019 13:06:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hlcWA-0007a3-Qj for bug-guix@gnu.org; Thu, 11 Jul 2019 13:06:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:57960) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hlcWA-0007Zn-MP for bug-guix@gnu.org; Thu, 11 Jul 2019 13:06:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hlcWA-0004Y3-Fz for bug-guix@gnu.org; Thu, 11 Jul 2019 13:06:02 -0400 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <878st4vb74.fsf@gnu.org> ("Ludovic \=\?utf-8\?Q\?Court\=C3\=A8s\=22'\?\= \=\?utf-8\?Q\?s\?\= message of "Thu, 11 Jul 2019 17:32:31 +0200") List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: 36517@debbugs.gnu.org --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hi, Ludovic! Ludovic Court=C3=A8s writes: > Hi, > > zerodaysfordays@sdf.lonestar.org (Jakob L. Kreuze) skribis: > >> This issue is described in more detail at [1]. Essentially, 'guix >> deploy' is will happily load and start new services, as well as unload >> obsolete services, but does nothing to restart valid services that are >> already running. > > That=E2=80=99s not a bug: =E2=80=98guix system reconfigure=E2=80=99 does = not restart already > running services, simply because it cannot tell whether now is a good > time to restart them. It=E2=80=99s a decision that=E2=80=99s left to the= system > administrator. > > However, note that =E2=80=98guix system reconfigure=E2=80=99 loads =E2=80= =9Creplacements=E2=80=9D for > each Shepherd service, such that next time you run =E2=80=98herd restart = FOO=E2=80=99, > you spawn that new version of FOO. > > Does that make sense? Yes, that does make sense. I suppose the way I worded the initial report wasn't great; I opened this to track support for 'restart-strategy' as described in #33508 in 'guix deploy'. This takes care of the question of when a good time to restart the service would be. Regards, Jakob --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEa1VJLOiXAjQ2BGSm9Qb9Fp2P2VoFAl0nbDwACgkQ9Qb9Fp2P 2Vp2Kw//byxrE/csx6boyhw+RLfEwdTrxenZpTonY9zM6rznU48ML8PzTIDv+iDR hqUhLbTmhjXnWZ/2Rb8qPD3vgE8HBYRd4s1bIW40YavFbQUum3QXnvYJ5QYu/7ca 5BqTjukazyKrLysTdANveoMdz4URP1iZ9EWkWQatC8+LbDN0cu2G4+Fl1m6UVAKM S86ROXjloJEXfCX9fA08Ws0Eirj3IPhVKOooeVZ0yR3Brw27Mul4BNuP8OHYxe2O qaZhvFelFbUdPTu4HDSr434IaePd4ISrbv4rxptQgiNIYwA4HbuqtSL89Iaw8yFD A8m8+1icc4X3L7hvxp+s65Uw0eeI+RGIyuEgJcrLhy2jGqN2fB4aLBLqls59DLkT Yp74pprhv6+ixA8+gLzukiQkfD2hzGo7YU44be12muOBQIOOUjUnMkzc5+Z25Pej Bpc5KdpH9P0Y8FrSfgO2SWzs4GAq7vcHozENj0bnPQtjxrThMLsCSx11+f5vkjgp zmbYu9ZxQplOm3a+MTMoDBqL2cWVDF6myAI5D5iiCm7yg0XSRQ48qzj6f1germNV 3giuzIRxUvldYcJof49IkjkkRk4sLIBUhUEWgkD6f+Px7mkWwR0FXfeLg6vuHGR3 On2tCoD2y08ObvRK0nbIfHfN2PiG0oPCCBdCldIwEwTLghEsMOQ= =ABmW -----END PGP SIGNATURE----- --=-=-=--