bug-guix
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#63869: [shepherd] `guix system reconfigure` forgets `herd disable my


From: Ludovic Courtès
Subject: bug#63869: [shepherd] `guix system reconfigure` forgets `herd disable mysrv`
Date: Mon, 05 Jun 2023 09:08:30 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux)

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’.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]