guix-devel
[Top][All Lists]
Advanced

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

Re: shepherd: failing test: should `herd stop` stop a respawning process


From: Ludovic Courtès
Subject: Re: shepherd: failing test: should `herd stop` stop a respawning process?
Date: Sat, 30 Nov 2024 19:29:26 +0100
User-agent: Gnus/5.13 (Gnus v5.13)

Hi Attila,

Attila Lendvai <attila@lendvai.name> skribis:

> ok, i've attached a stipped down version of the test case. it hopefully 
> reproduces the same situation i'm observing on my servers.
>
> which seems to be the following:
>
>   1. i have a service that keeps respawning (typically due to a config
>      mistake)
>
>   2. said service is upgraded/replaced in a `guix system reconfigure`
>
>   3. v1 of the service keeps respawning forever, and there's nothing i
>      can do to stop it at this point. `herd disable` operates on v2 of
>      the service, while some fiber, or some signal handler of v1 is
>      still in a respawn loop.

Thanks for the detailed bug report and test case.  It’s a pretty nasty
bug that you found here.

Commit 5fe594d593e6dcb19e23029bf3ff5f4a77a92523 should fix it.  Let me
know if you notice anything wrong!

Ludo’.



reply via email to

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