diff options
author | Ludovic Courtès <[email protected]> | 2025-02-23 15:20:41 +0100 |
---|---|---|
committer | Ludovic Courtès <[email protected]> | 2025-03-05 00:28:49 +0100 |
commit | 749eb1a2dd9fdf63a71f223b3f6756d9cb5940e6 (patch) | |
tree | 0334ba964679d4cc87110ead1fc3af7c14bf7131 /etc/teams | |
parent | c92fbc83d4d2a98cc15e10d1fc4d5bcc13c9af5b (diff) |
services: ‘shepherd-service-upgrade’ handles canonical name changes.
Partly fixes <https://issues.guix.gnu.org/76315>.
Fixes a bug whereby a service whose canonical name has changed would not
be restarted—e.g., if '(syslogd) has a replacement providing
'(system-log syslogd).
* gnu/services/shepherd.scm (shepherd-service-upgrade)[running?]:
Remove.
[to-restart]: Change to a subset of LIVE. Look up all the names of each
element of TARGET.
* guix/scripts/system/reconfigure.scm (upgrade-shepherd-services):
TO-RESTART is now a list of <live-service>; adjust accordingly.
* tests/services.scm ("shepherd-service-upgrade: one unchanged, one upgraded, one new"):
("shepherd-service-upgrade: service depended on is not unloaded"):
("shepherd-service-upgrade: obsolete services that depend on each other"):
("shepherd-service-upgrade: transient service"): Adjust accordingly.
("shepherd-service-upgrade: service has new canonical name"): New test.
Reported-by: Tomas Volf <[email protected]>
Change-Id: I7cec495b4e824da5fad5518f039607cf92f935d9
Diffstat (limited to 'etc/teams')
0 files changed, 0 insertions, 0 deletions