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.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Danny Milosavljevic <dannym <at> friendly-machines.com>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#76540: closed (Hang on reboot in Guix system)
Date: Sun, 30 Mar 2025 21:54:02 +0000
[Message part 1 (text/plain, inline)]
Your message dated Sun, 30 Mar 2025 23:52:55 +0200
with message-id <87ldsmtcco.fsf <at> friendly-machines.com>
and subject line can confirm hang on reboot is gone
has caused the debbugs.gnu.org bug report #76540,
regarding Hang on reboot in Guix system
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
76540: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=76540
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
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


[Message part 3 (message/rfc822, inline)]
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)


This bug report was last modified 109 days ago.

Previous Next


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