GNU bug report logs - #76540
Hang on reboot in Guix system

Previous Next

Package: guix;

Reported by: dannym <at> friendly-machines.com

Date: Tue, 25 Feb 2025 08:14:01 UTC

Severity: normal

Done: Danny Milosavljevic <dannym <at> friendly-machines.com>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 76540 in the body.
You can then email your comments to 76540 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guix <at> gnu.org:
bug#76540; Package guix. (Tue, 25 Feb 2025 08:14:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to dannym <at> friendly-machines.com:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Tue, 25 Feb 2025 08:14:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: dannym <at> friendly-machines.com
To: bug-guix <at> gnu.org, Ludovic Courtès <ludo <at> gnu.org>
Subject: Hang on reboot in Guix system
Date: Tue, 25 Feb 2025 09:06:00 +0100
Hi,

when using a Guix system, it hangs on reboot pretty much every time.

I've tracked it down (using the magic sysrq key) to two processes being 
left over: shepherd(obviously) and virtlogd.

The interesting part of the system config is:

     (service virtlog-service-type
              (virtlog-configuration
               (max-clients 10)))
     (service libvirt-service-type
              (libvirt-configuration
               (keepalive-interval 50)
               (keepalive-count 50)
               (unix-sock-group "libvirt")
               (tls-port "16514")))

Killing virtlogd using sysrq e makes shepherd immediately respawn it 
(!).

Isn't there some shepherd state that says "I'm supposed to shut down, 
don't keep respawning services" ?

For reference, the important sysrq keys are:
  sysrq 9       to increase the log level to 9. After that, you will see 
a line printed every second with the process ids of the processes that 
are still there
  sysrq e       to send SIGTERM to all processes
  sysrq i       to send SIGKILL to all processes
  sysrq t       to see all "tasks"

guix b319256
    repository URL: https://git.savannah.gnu.org/git/guix.git
    branch: master
    commit: b31925665d07acbb049adf702066b95af2b58b4d




Information forwarded to bug-guix <at> gnu.org:
bug#76540; Package guix. (Tue, 25 Feb 2025 09:29:01 GMT) Full text and rfc822 format available.

Message #8 received at 76540 <at> debbugs.gnu.org (full text, mbox):

From: Ashvith Shetty <ashvithshetty0010 <at> zohomail.in>
To: 76540 <at> debbugs.gnu.org
Cc: Ludovic Courtès <ludo <at> gnu.org>,
 dannym <dannym <at> friendly-machines.com>
Subject: Re: Hang on reboot in Guix system
Date: Tue, 25 Feb 2025 14:58:09 +0530
Hi,

This has been resolved - see https://issues.guix.gnu.org/76338#17 for
for information.

Regards,
Ashvith




Reply sent to Danny Milosavljevic <dannym <at> friendly-machines.com>:
You have taken responsibility. (Sun, 30 Mar 2025 21:54:02 GMT) Full text and rfc822 format available.

Notification sent to dannym <at> friendly-machines.com:
bug acknowledged by developer. (Sun, 30 Mar 2025 21:54:02 GMT) Full text and rfc822 format available.

Message #13 received at 76540-done <at> debbugs.gnu.org (full text, mbox):

From: Danny Milosavljevic <dannym <at> friendly-machines.com>
To: 76540-done <at> debbugs.gnu.org
Subject: can confirm hang on reboot is gone
Date: Sun, 30 Mar 2025 23:52:55 +0200
Hi,

I can confirm that shepherd hang on reboot is gone.

(Now I regularily get fsck running after reboot--but I guess that's a
different bug)




Information forwarded to bug-guix <at> gnu.org:
bug#76540; Package guix. (Mon, 31 Mar 2025 17:46:02 GMT) Full text and rfc822 format available.

Message #16 received at 76540 <at> debbugs.gnu.org (full text, mbox):

From: Sebastian Dümcke <code <at> sam-d.com>
To: 76540 <at> debbugs.gnu.org
Subject: Hang on reboot in Guix system
Date: Mon, 31 Mar 2025 19:28:59 +0200
Dear Danny,

the fsck bug after reboot is tracked here: #77086
https://issues.guix.gnu.org/77086

We are still looking for reproducers, could you please report your 
issues in the thread?

Thanks
Sebastian




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Tue, 29 Apr 2025 11:24:17 GMT) Full text and rfc822 format available.

This bug report was last modified 9 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.