Subject: Re: bug#54919: Guix hangs near the end of ‘home’ operations

From: Ludovic Courtès <[email-masked]>
Date: Wed, 20 Apr 2022 17:26:22 +0200

Ludovic Courtès <[email-masked]> 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’.

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)))