GNU bug report logs - #54919
Guix hangs near the end of ‘home’ operations

Previous Next

Package: guix;

Reported by: Brian Cully <bjc <at> spork.org>

Date: Wed, 13 Apr 2022 20:21:01 UTC

Severity: important

Merged with 54779

Done: Ludovic Courtès <ludo <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


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

From: Ludovic Courtès <ludo <at> gnu.org>
To: Brian Cully <bjc <at> spork.org>
Cc: 54919 <at> debbugs.gnu.org
Subject: Re: bug#54919: Guix hangs near the end of ‘home’ operations
Date: Wed, 20 Apr 2022 17:26:22 +0200
[Message part 1 (text/plain, inline)]
Ludovic Courtès <ludo <at> gnu.org> skribis:

> We can probably fix it by avoiding the use of ‘start-in-the-background’.

Specifically, the proposed fix is attached below.  I cannot test it
right now so I’m happy if somebody else can confirm the intuition in the
meantime :-) by applying the patch and running:

  ./pre-inst-env guix home reconfigure …

from there.

Ludo’.

[Message part 2 (text/x-patch, inline)]
diff --git a/gnu/home/services/shepherd.scm b/gnu/home/services/shepherd.scm
index df6bbb30e6..3ac29cb005 100644
--- a/gnu/home/services/shepherd.scm
+++ b/gnu/home/services/shepherd.scm
@@ -82,9 +82,7 @@ (define config
                  '#$(append-map shepherd-service-provision
                                 (filter shepherd-service-auto-start?
                                         services))))
-            (if (defined? 'start-in-the-background)
-                (start-in-the-background services-to-start)
-                (for-each start services-to-start)))))
+            (for-each start services-to-start))))
 
     (scheme-file "shepherd.conf" config)))
 

This bug report was last modified 3 years and 32 days ago.

Previous Next


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