GNU bug report logs - #78576
shepherd believes a process is running while it isn't

Previous Next

Package: guix;

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>

To reply to this bug, email your comments to 78576 AT debbugs.gnu.org.
There is no need to reopen the bug first.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guix <at> gnu.org:
bug#78576; Package guix. (Sat, 24 May 2025 11:55:03 GMT) Full text and rfc822 format available.

Acknowledgement sent to Attila Lendvai <attila <at> lendvai.name>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Sat, 24 May 2025 11:55:03 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Attila Lendvai <attila <at> lendvai.name>
To: "bug-guix <at> gnu.org" <bug-guix <at> gnu.org>
Subject: shepherd believes a process is running while it isn't
Date: Sat, 24 May 2025 11:54:17 +0000
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)





Reply sent to Attila Lendvai <attila.lendvai <at> gmail.com>:
You have taken responsibility. (Sat, 24 May 2025 12:03:02 GMT) Full text and rfc822 format available.

Notification sent to Attila Lendvai <attila <at> lendvai.name>:
bug acknowledged by developer. (Sat, 24 May 2025 12:03:02 GMT) Full text and rfc822 format available.

Message #10 received at 78576-done <at> debbugs.gnu.org (full text, mbox):

From: Attila Lendvai <attila.lendvai <at> gmail.com>
To: 78576-done <at> debbugs.gnu.org
Cc: Attila Lendvai <attila <at> lendvai.name>
Subject: Re: shepherd believes a process is running while it isn't
Date: Sat, 24 May 2025 14:02:46 +0200
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 12 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.