Seen with 0.10.4:

--8<---------------cut here---------------start------------->8---
ludo@guix-hpc7 ~$ sudo herd status tor
Statut de tor :
  It is running since sam. 01 juin 2024 15:58:57 (9 days ago).
  Valeur d’exécution 453.
  Activé.
  Fournit (tor).
  Requiert (user-processes loopback syslogd).
  Sera relancé.
ludo@guix-hpc7 ~$ sudo herd unload root tor
Removing service 'tor'...
Done.
ludo@guix-hpc7 ~$ sudo herd status tor
^C
ludo@guix-hpc7 ~$ sudo herd status
^C
ludo@guix-hpc7 ~$ ps 453
  PID TTY      STAT   TIME COMMAND
ludo@guix-hpc7 ~$ cat /proc/1/cmdline |xargs -0
/gnu/store/bhynhk0c6ssq3fqqc59fvhxjzwywsjbb-guile-3.0.9/bin/guile 
--no-auto-compile 
/gnu/store/39li5qpiaj1lx89xgahlbgvfnjhpcpwg-shepherd-0.10.4/bin/shepherd 
--config /gnu/store/2vynkp1zv8ybq513clrcp1ga1bi156wb-shepherd.conf
--8<---------------cut here---------------end--------------->8---

Inetd services such as sshd also become unavailable: shepherd accepts
connections but does not process them.

Excerpt of /var/log/messages:

--8<---------------cut here---------------start------------->8---
Jun 10 16:20:29 localhost shepherd[1]: Removing service 'tor'... 
Jun 10 16:20:29 localhost shepherd[1]: Stopping service tor... 
Jun 10 16:20:29 localhost Tor[2]: Catching signal TERM, exiting cleanly. 
Jun 10 16:20:29 localhost shepherd[1]: Service tor stopped. 
Jun 10 16:20:29 localhost shepherd[1]: Service tor is now stopped. 
Jun 10 16:20:29 localhost shepherd[1]: Done. 
--8<---------------cut here---------------end--------------->8---

The workaround is to reboot the hard way:

  sudo guile --no-auto-compile -L 
/gnu/store/39li5qpiaj1lx89xgahlbgvfnjhpcpwg-shepherd-0.10.4/share/guile/site/3.0/
 -c '(use-modules (shepherd system)) (sync) (pk "bye!") (reboot)'

Ludo’.



Reply via email to