GNU bug report logs - #75460
'herd status' hangs with daemonized shepherd

Previous Next

Package: guix;

Reported by: Simen Endsjø <contact <at> simendsjo.me>

Date: Thu, 9 Jan 2025 11:46:02 UTC

Severity: normal

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

Bug is archived. No further changes may be made.

Full log


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

From: Ludovic Courtès <ludo <at> gnu.org>
To: Simen Endsjø <contact <at> simendsjo.me>
Cc: 75460 <at> debbugs.gnu.org
Subject: Re: bug#75460: herd status hangs forever
Date: Mon, 13 Jan 2025 11:43:26 +0100
[Message part 1 (text/plain, inline)]
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’.

[Message part 2 (text/x-patch, inline)]
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

This bug report was last modified 94 days ago.

Previous Next


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