unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: "Ludovic Courtès" <ludo@gnu.org>
To: "Jakob L. Kreuze" <zerodaysfordays@sdf.lonestar.org>
Cc: 36517@debbugs.gnu.org
Subject: bug#36517: 'guix deploy' does not restart services
Date: Fri, 12 Jul 2019 22:43:22 +0200	[thread overview]
Message-ID: <87v9w7dlw5.fsf@gnu.org> (raw)
In-Reply-To: <874l3sqz7n.fsf@sdf.lonestar.org> (Jakob L. Kreuze's message of "Thu, 11 Jul 2019 13:05:00 -0400")

Howdy!

zerodaysfordays@sdf.lonestar.org (Jakob L. Kreuze) skribis:

> Ludovic Courtès <ludo@gnu.org> 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’s not a bug: ‘guix system reconfigure’ does not restart already
>> running services, simply because it cannot tell whether now is a good
>> time to restart them.  It’s a decision that’s left to the system
>> administrator.
>>
>> However, note that ‘guix system reconfigure’ loads “replacements” for
>> each Shepherd service, such that next time you run ‘herd restart FOO’,
>> 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.

Oh, I see.  To me that’s completely orthogonal to ‘guix deploy’ though,
in that ‘guix system reconfigure’ and ‘guix deploy’ should use the same
code for that.

Thanks,
Ludo’.

  reply	other threads:[~2019-07-12 20:44 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-07-05 23:23 bug#36517: 'guix deploy' does not restart services Jakob L. Kreuze
2019-07-11 15:32 ` Ludovic Courtès
2019-07-11 17:05   ` Jakob L. Kreuze
2019-07-12 20:43     ` Ludovic Courtès [this message]
2019-07-13 17:14       ` Jakob L. Kreuze
2019-08-24 13:22         ` Ludovic Courtès
2019-08-24 17:44           ` Jakob L. Kreuze
2019-08-26  8:19             ` Ludovic Courtès

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87v9w7dlw5.fsf@gnu.org \
    --to=ludo@gnu.org \
    --cc=36517@debbugs.gnu.org \
    --cc=zerodaysfordays@sdf.lonestar.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).