[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#58926: Shepherd becomes unresponsive after an interrupt
From: |
Ludovic Courtès |
Subject: |
bug#58926: Shepherd becomes unresponsive after an interrupt |
Date: |
Thu, 10 Nov 2022 10:59:23 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) |
Hi,
Mathieu Othacehe <othacehe@gnu.org> skribis:
> sudo herd restart service-that-hangs-upon-restart
>
>
> then hitting C-c, Shepherd becomes totally unresponsive:
>
> sudo herd status
>
>
> and all further Shpeherd commands hang forever. I was able to reproduce
> it in two different configurations:
>
> 1. On my laptop with a Wireguard service trying to reach a non-existing
> DNS server.
>
> (service wireguard-service-type
> (wireguard-configuration
> (addresses (list "10.0.0.2/24"))
> (dns '("10.0.0.50")) #does not exit
>
> 2. On Berlin, while trying to restart nginx.
I experienced case #2: in that case ‘strace -p1’ showed that shepherd
was stuck on waitpid of the nginx process, which was not terminating.
Killing that process would unlock shepherd.
This might be <https://issues.guix.gnu.org/56674>.
Would be good to see what’s up with WireGuard.
Ludo’.
- bug#58926: Shepherd becomes unresponsive after an interrupt,
Ludovic Courtès <=