GNU bug report logs -
#68093
Guix system reconfigure starts services with auto-start? #f
Previous Next
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 68093 in the body.
You can then email your comments to 68093 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-guix <at> gnu.org
:
bug#68093
; Package
guix
.
(Thu, 28 Dec 2023 22:26:01 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Richard Sent <richard <at> freakingpenguin.com>
:
New bug report received and forwarded. Copy sent to
bug-guix <at> gnu.org
.
(Thu, 28 Dec 2023 22:26:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
When reconfiguring the system with Guix, shepherd services that have
auto-start? set to #f are started during reconfiguration. Per
https://issues.guix.gnu.org/22039#26, services shouldn't be started by
reconfigure if auto-start is #f. These services are not started on boot,
which matches expected behavior.
This is different from bug#42167, as this problem occurs even if the
service already exists and is stopped.
I created an test OS configuration to help others reproduce it, see
attached. This was run on guix 931d893c550128591018587c90d2491fd66a11a4.
I used openssh-service with %auto-start set to #f as well as
ganeti-metad-service since both of these services are already supplied
with Guix and are/can be set to auto-start?=#f. I haven't actually
configured ganeti-metad-service so the service won't start successfully,
but we can still see Guix attempt to start the service when it
shouldn't.
Below are snippets of the console output. I've attached the full
versions to this email. I also attached result of building
upgrade-shepherd-services.scm.drv.
On a clean boot, post test.scm reconfiguration:
--8<---------------cut here---------------start------------->8---
richard <at> test ~$ sudo herd status
Password:
Started:
[...]
Stopped:
- ganeti-metad
- ssh-daemon
[...]
--8<---------------cut here---------------end--------------->8---
While running reconfigure:
--8<---------------cut here---------------start------------->8---
building
/gnu/store/6dcgjsa8gbv6wdq8nyrdkm5sxw8zgxl3-upgrade-shepherd-services.scm.drv...
[...]
shepherd: Service user-homes has been started.
shepherd: Starting service ganeti-metad...
shepherd: Service ganeti-metad could not be started.
shepherd: Service user-homes has been started.
shepherd: Starting service ssh-daemon...
shepherd: Service ssh-daemon has been started.
To complete the upgrade, run 'herd restart SERVICE' to stop,
upgrade, and restart each service that was not automatically restarted.
Run 'herd status' to view the list of services on your system.
--8<---------------cut here---------------end--------------->8---
After running reconfigure:
--8<---------------cut here---------------start------------->8---
richard <at> test ~$ sudo herd status
Started:
[...]
+ ssh-daemon
[...]
Failed to start:
! ganeti-metad
--8<---------------cut here---------------end--------------->8---
Guix describe output:
--8<---------------cut here---------------start------------->8---
Generation 5 Dec 27 2023 16:35:46 (current)
nonguix 71a53fa
repository URL: https://gitlab.com/nonguix/nonguix
branch: master
commit: 71a53faf2e1925a309b480f17e5b836740ce54bc
guix 931d893
repository URL: https://git.savannah.gnu.org/git/guix.git
branch: master
commit: 931d893c550128591018587c90d2491fd66a11a4
--8<---------------cut here---------------end--------------->8---
[clean-boot-herd-status.txt (text/plain, attachment)]
[guix-describe.txt (text/plain, attachment)]
[post-reconfigure-herd-status.txt (text/plain, attachment)]
[reconfigure_log.txt (text/plain, attachment)]
[test.scm (text/plain, attachment)]
[upgrade-shepherd-services.scm (text/plain, attachment)]
Information forwarded
to
bug-guix <at> gnu.org
:
bug#68093
; Package
guix
.
(Thu, 14 Mar 2024 19:48:02 GMT)
Full text and
rfc822 format available.
Message #8 received at 68093 <at> debbugs.gnu.org (full text, mbox):
Patch submitted, https://issues.guix.gnu.org/69801
--
Take it easy,
Richard Sent
Making my computer weirder one commit at a time.
bug closed, send any further explanations to
68093 <at> debbugs.gnu.org and Richard Sent <richard <at> freakingpenguin.com>
Request was from
Richard Sent <richard <at> freakingpenguin.com>
to
control <at> debbugs.gnu.org
.
(Wed, 03 Apr 2024 02:14:02 GMT)
Full text and
rfc822 format available.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Wed, 01 May 2024 11:24:15 GMT)
Full text and
rfc822 format available.
This bug report was last modified 2 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.