Subject: Re: bug#75460: herd status hangs forever

From: Ludovic Courtès <[email-masked]>
Date: Mon, 13 Jan 2025 11:43:26 +0100

Hi,

I was able to reproduce a problem (maybe not *the* problem) running
<https://git.sr.ht/~simendsjo/dotfiles/tree/main/item/sijo/home/simendsjo/home-environment.scm>
in ‘guix home container’, with the changes below to simplify setup.

What I noticed is that, until ‘x11-display’ has failed to start (it
necessarily fails to start in the container), shepherd is unresponsive:
any ‘herd’ command hangs.  After that, everything is fine.

This is fixed by
<https://git.savannah.gnu.org/cgit/shepherd.git/commit/?id=ffcd3745e5d8a3e4134ae76fe94a5ec80f52c465>.

It would be great if you could give it a try because I’m not sure this
is exactly the problem you were having, but it may be related at least.

Thanks,
Ludo’.

diff --git a/sijo/home/services/sijo-fonts.scm b/sijo/home/services/sijo-fonts.scm
index ba6f9f6..2fdd922 100644
--- a/sijo/home/services/sijo-fonts.scm
+++ b/sijo/home/services/sijo-fonts.scm
@@ -8,7 +8,7 @@
   #:use-module (gnu packages ghostscript)
   #:use-module (gnu packages javascript)
   #:use-module (gnu packages xorg)
-  #:use-module (nongnu packages fonts))
+)
 
 (define sijo-fonts-service-profile
   (lambda (config)
diff --git a/sijo/home/simendsjo/home-environment.scm b/sijo/home/simendsjo/home-environment.scm
index 8d5f999..469ce67 100644
--- a/sijo/home/simendsjo/home-environment.scm
+++ b/sijo/home/simendsjo/home-environment.scm
@@ -89,9 +89,9 @@ guix home \
   #:use-module (gnu services configuration)
   #:use-module (gnu services)
   #:use-module (guix gexp)
-  #:use-module (nongnu packages chrome)
-  #:use-module (nongnu packages game-client)
-  #:use-module (nongnu packages mozilla)
+  ;; #:use-module (nongnu packages chrome)
+  ;; #:use-module (nongnu packages game-client)
+  ;; #:use-module (nongnu packages mozilla)
   #:use-module (sijo home services blueman-applet)
   #:use-module (sijo home services cbatticon)
   #:use-module (sijo home services dropbox)
@@ -115,7 +115,7 @@ guix home \
 
 (define-public simendsjo-home-environment
   (home-environment
-    (packages (list
+    #;(packages (list
                ;; spell checking
                ispell                 ; interactive spell checking
                hunspell               ; spell checker (used by e.g. libreoffice)
@@ -346,9 +346,7 @@ guix home \
                 (extra-content "allow-loopback-pinentry")))
       (service sijo-gpg-service-type)
       ;; Font configuration
-      (service sijo-fonts-service-type)
       ;; dotnet
-      (service sijo-dotnet-service-type)
       (service sijo-mob-service-type)
       ;; Guix configuration
       ;; TODO: There is a custom service type for channels which we should use instead