GNU bug report logs -
#78576
shepherd believes a process is running while it isn't
Previous Next
Reported by: Attila Lendvai <attila <at> lendvai.name>
Date: Sat, 24 May 2025 11:55:02 UTC
Severity: normal
Done: Attila Lendvai <attila.lendvai <at> gmail.com>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
[Message part 1 (text/plain, inline)]
Your message dated Sat, 24 May 2025 14:02:46 +0200
with message-id <87bjrirzbt.fsf <at> lendvai.name>
and subject line Re: shepherd believes a process is running while it isn't
has caused the debbugs.gnu.org bug report #78576,
regarding shepherd believes a process is running while it isn't
to be marked as done.
(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)
--
78576: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=78576
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
this happens on a recently pulled guix. it's been like this for a long time, i'm just only now getting around to finally report it.
in essence:
# herd status | grep bee
+ bee-0
+ bee-1
# herd restart bee-0
herd: error: exception caught while executing 'stop' on service 'bee-0':
In procedure getpgid: No such process
# herd restart bee-0
Service bee-0 is not running.
Service user-homes has been started.
Service bee-0 has been started.
judging from the daemon's own log i think the process simply quits with zero exit code (background info: it happens after some days of running when an external service is temporarily not responding).
the default respawn-limit of the service is not changed.
i don't see anything interesting/relevant in /var/log/messages
IIUC shepherd should be respawning the daemon, even if it quits with zero exit code, right?
--
• attila lendvai
• PGP: 963F 5D5F 45C7 DFCD 0A39
--
“Political speech and writing are largely the defense of the indefensible.”
— George Orwell (1903–1950), 'Politics and the English Language' (1946)
[Message part 3 (message/rfc822, inline)]
instead reported as: https://codeberg.org/shepherd/shepherd/issues/5
<#secure method=pgpmime mode=sign>
--
• attila lendvai
• PGP: 963F 5D5F 45C7 DFCD 0A39
--
“I know that most men, including those at ease with problems of the greatest complexity, can seldom accept even the simplest and most obvious truth if it be such as would oblige them to admit the falsity of conclusions which they have delighted in explaining to colleagues, which they have proudly taught to others, and which they have woven, thread by thread, into the fabric of their lives.”
— Leo Tolstoy (1828–1910)
Or in short: “Science advances one funeral at a time.”
— Max Planck (1858–1947), paraphrased
This bug report was last modified 54 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.