From: "Ludovic Courtès" <ludo@gnu.org>
To: Attila Lendvai <attila@lendvai.name>
Cc: 63869@debbugs.gnu.org
Subject: bug#63869: [shepherd] `guix system reconfigure` forgets `herd disable mysrv`
Date: Mon, 05 Jun 2023 09:08:30 +0200 [thread overview]
Message-ID: <87pm6ajsi9.fsf@gnu.org> (raw)
In-Reply-To: <0-BRpRybKIwoQqvJIFAqQXuRYKM-U2rlt_Gn9XVlAfxUXoNw8PHqgmoQ5qRREt_sD4UffMLKEyindAKpHdYxHb5QMq1jzybHMMq6eLnkBU4=@lendvai.name> (Attila Lendvai's message of "Sat, 03 Jun 2023 11:06:31 +0000")
Attila Lendvai <attila@lendvai.name> skribis:
> i turn off some services using `herd disable`. then i do a `guix system reconfigure`, and these services get enabled and started.
>
> i would expect the enabled/disabled state to be preserved across reconfigures.
When a service is stopped at the time of reconfigure, it is immediately
replaced and then started.
Replacing works by unregistering the old instance from the registry and
registering a new one. As a side effect, you end up with an instance
that’s enabled (see ‘service-registry’ in (shepherd services)).
I never thought it could be a problem. WDYT?
Ludo’.
next prev parent reply other threads:[~2023-06-05 9:55 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-06-03 11:06 bug#63869: [shepherd] `guix system reconfigure` forgets `herd disable mysrv` Attila Lendvai
2023-06-05 7:08 ` Ludovic Courtès [this message]
2023-06-06 16:41 ` Maxim Cournoyer
2023-06-09 13:22 ` Ludovic Courtès
2023-06-09 17:41 ` Maxim Cournoyer
2023-06-14 16:47 ` Ludovic Courtès
2023-06-19 1:28 ` Maxim Cournoyer
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=87pm6ajsi9.fsf@gnu.org \
--to=ludo@gnu.org \
--cc=63869@debbugs.gnu.org \
--cc=attila@lendvai.name \
/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).