bug-guix
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#75460: herd status hangs forever


From: Simen Endsjø
Subject: bug#75460: herd status hangs forever
Date: Sun, 12 Jan 2025 16:50:17 +0100
User-agent: mu4e 1.12.7; emacs 29.4

Ludovic Courtès <ludo@gnu.org> writes:

> Can you try something like:
>
> --8<---------------cut here---------------start------------->8---
> for s in xss-lock volctl unclutter redshift picom \
>   network-manager-applet dunst cbatticon blueman-applet \
>   emacs-daemon ssh-agent dbus x11-display
> do
>   echo "trying $s"; herd status "$s"
> done
> --8<---------------cut here---------------end--------------->8---
>
> to try and determine whether one of these is hanging?

Oh, I only checked some services and assumed all was working. All the
following services hang. The common denominator is that I have written
these myself, so I might be doing something odd here.

• xss-lock
• volctl
• picom
• network-manager-applet
• dunst
• cbatticon
• blueman-applet

For example xss-lock:
<https://git.sr.ht/~simendsjo/dotfiles/tree/main/item/sijo/home/services/xss-lock.scm#L7-30>

┌────
│ (define (home-xss-lock-shepherd-service config)
│   (list
│    (shepherd-service
│     (provision '(xss-lock))
│     (requirement '(x11-display))
│     (start #~(make-forkexec-constructor
│               (list #$(file-append xss-lock "/bin/xss-lock")
│                     "-l" "xsecurelock")
│               #:log-file (string-append
│                           (or (getenv "XDG_STATE_HOME")
│                               (format #f "~a/.local/state"
│                                       (getenv "HOME")))
│                           "/log/xss-lock.log")))
│     (stop #~(make-kill-destructor)))))
│
│ (define-public home-xss-lock-service-type
│   (service-type
│    (name 'home-xss-lock)
│    (extensions
│     (list
│      (service-extension home-shepherd-service-type
│                         home-xss-lock-shepherd-service)))
│    (default-value '())
│    (description "Screen locker")))
└────

> If you don’t mind, could you share ~/.local/state/shepherd/shepherd.log,
> privately if you prefer?  (Preferably remove everything that comes
> before its last boot.)

┌────
│ 2025-01-12 16:39:26 GNU Shepherd 1.0.0 (Guile 3.0.9, x86_64-unknown-linux-gnu)
│ 2025-01-12 16:39:26 Starting service root...
│ 2025-01-12 16:39:26 Service root started.
│ 2025-01-12 16:39:26 Service root running with value #<<process> id: 2377 
command: #f>.
│ 2025-01-12 16:39:26 Service root has been started.
│ 2025-01-12 16:39:26 WARNING: Use of `load' in declarative module (#{ g109}#). 
 Add #:declarative? #f to your define-module invocation.
│ 2025-01-12 16:39:26 Daemonizing...
│ 2025-01-12 16:39:26 Restarting signal handler.
│ 2025-01-12 16:39:26 Now running as process 2396.
│ 2025-01-12 16:39:26 Starting services...
│ 2025-01-12 16:39:26 Configuration successfully loaded from 
'/gnu/store/lwjnnpjca0kplrsm82vf1pjq7x4d8lq7-shepherd.conf'.
│ 2025-01-12 16:39:26 Running value of service root changed to #<<process> id: 
2396 command: #f>.
│ 2025-01-12 16:39:26 Starting service emacs-daemon...
│ 2025-01-12 16:39:26 Starting service ssh-agent...
│ 2025-01-12 16:39:26 Starting service dbus...
│ 2025-01-12 16:39:26 Starting service x11-display...
│ 2025-01-12 16:39:26 Service emacs-daemon has been started.
│ 2025-01-12 16:39:26 Service ssh-agent has been started.
│ 2025-01-12 16:39:26 Service dbus has been started.
│ 2025-01-12 16:39:26 Service x11-display has been started.
│ 2025-01-12 16:39:26 Service emacs-daemon started.
│ 2025-01-12 16:39:26 Service ssh-agent started.
│ 2025-01-12 16:39:26 Service dbus started.
│ 2025-01-12 16:39:26 Service x11-display started.
│ 2025-01-12 16:39:26 Service x11-display running with value ":0".
│ 2025-01-12 16:39:26 Service emacs-daemon running with value #<<process> id: 
2397 command: #f>.
│ 2025-01-12 16:39:26 Service ssh-agent running with value #<<process> id: 2398 
command: #f>.
│ 2025-01-12 16:39:26 Service dbus running with value #<<process> id: 2399 
command: 
("/gnu/store/r799iglam0gk9q35j56239wcdg9xzhwg-dbus-1.15.8/bin/dbus-daemon" 
"--nofork" "--session" "--address=unix:path=/run/user/1000/bus")>.
│ 2025-01-12 16:39:26 Starting service xss-lock...
│ 2025-01-12 16:39:26 Service xss-lock has been started.
│ 2025-01-12 16:39:26 Starting service volctl...
│ 2025-01-12 16:39:26 Service xss-lock started.
│ 2025-01-12 16:39:26 Service volctl has been started.
│ 2025-01-12 16:39:26 Service xss-lock running with value #<<process> id: 2400 
command: 
("/gnu/store/a20h8scrp7jl3ildfxmj7c4mnc5s6nl2-xss-lock-0.3.0-1.1e158fb/bin/xss-lock"
 "-l" "xsecurelock")>.
│ 2025-01-12 16:39:26 Service volctl started.
│ 2025-01-12 16:39:26 Service volctl running with value #<<process> id: 2404 
command: 
("/gnu/store/jjaz1i6kzx7phwjp85gyggf0s85irxv2-volctl-0.9.4/bin/volctl")>.
│ 2025-01-12 16:39:26 Starting service unclutter...
│ 2025-01-12 16:39:26 Service unclutter has been started.
│ 2025-01-12 16:39:26 Service unclutter started.
│ 2025-01-12 16:39:26 Service unclutter running with value #<<process> id: 2407 
command: #f>.
│ 2025-01-12 16:39:26 Starting service redshift...
│ 2025-01-12 16:39:26 Service redshift has been started.
│ 2025-01-12 16:39:26 Service redshift started.
│ 2025-01-12 16:39:26 Service redshift running with value #<<process> id: 2409 
command: #f>.
│ 2025-01-12 16:39:26 Starting service picom...
│ 2025-01-12 16:39:26 Service picom has been started.
│ 2025-01-12 16:39:26 Service picom started.
│ 2025-01-12 16:39:26 Service picom running with value #<<process> id: 2410 
command: ("/gnu/store/0yj6akbzrrvsrnnszkf73pp3a7n9pc45-picom-11.2/bin/picom" 
"--vsync" "--backend" "glx")>.
│ 2025-01-12 16:39:26 Starting service network-manager-applet...
│ 2025-01-12 16:39:26 Service network-manager-applet has been started.
│ 2025-01-12 16:39:26 Service network-manager-applet started.
│ 2025-01-12 16:39:26 Service network-manager-applet running with value 
#<<process> id: 2411 command: 
("/gnu/store/931akl92zv8hjbq88v5xzkww56b433bh-network-manager-applet-1.36.0/bin/nm-applet")>.
│ 2025-01-12 16:39:26 Starting service cbatticon...
│ 2025-01-12 16:39:26 Service cbatticon has been started.
│ 2025-01-12 16:39:26 Starting service blueman-applet...
│ 2025-01-12 16:39:26 Service cbatticon started.
│ 2025-01-12 16:39:26 Service blueman-applet has been started.
│ 2025-01-12 16:39:26 Service cbatticon running with value #<<process> id: 2419 
command: 
("/gnu/store/mhgq9x4pq7vsgrj3fvwxnirc33likw73-cbatticon-1.6.13/bin/cbatticon")>.
│ 2025-01-12 16:39:26 Starting service dunst...
│ 2025-01-12 16:39:26 Service blueman-applet started.
│ 2025-01-12 16:39:26 redshift[2409] Waiting for initial location to become 
available...
│ 2025-01-12 16:39:26 Service dunst has been started.
│ 2025-01-12 16:39:26 Service blueman-applet running with value #<<process> id: 
2420 command: 
("/gnu/store/xpix8bhcvzhyzzzkvsisc2lig15wlqrg-blueman-2.3.4/bin/blueman-applet")>.
│ 2025-01-12 16:39:26 Service dunst started.
│ 2025-01-12 16:39:26 Successfully started 13 services in the background.
│ 2025-01-12 16:39:26 Service dunst running with value #<<process> id: 2436 
command: 
("/gnu/store/9iznijpx287bqkwv2cc4g3x30z72vqky-dunst-1.11.0/bin/dunst")>.
│ (snip emacs load messages)
└────

Attachment: signature.asc
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]