GNU bug report logs - #33968
errors in shepherd service constructors are not logged and lead to misleading status

Previous Next

Package: guix;

Reported by: Florian Dold <florian.dold <at> gmail.com>

Date: Thu, 3 Jan 2019 21:37:02 UTC

Severity: important

Done: Ludovic Courtès <ludo <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


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

From: Ludovic Courtès <ludo <at> gnu.org>
To: 33968-done <at> debbugs.gnu.org
Subject: Re: bug#33968: errors in shepherd service constructors are not
 logged and lead to misleading status
Date: Thu, 15 Jun 2023 23:15:29 +0200
Florian Dold <florian.dold <at> gmail.com> skribis:

> when defining a service type that extends shepherd-root-service-type and
> the 'start' function of the shepherd-service definition contains an
> error, the error is silently ignored.  No log output is generated at all.

[...]

> I generally feel like the state machine for services needs some work.
> In particular, it would be useful to distinguish between "failed" and
> "completed" services instead of conflating both states into "stopped".
> Or maybe have some more general mechanism for storing state about the
> service, instead of just the slot that usually contains the PID?

It’s been 4 years (!) but the good news is that all this is fixed as of
Shepherd 0.10.  Closing!

Ludo’.




This bug report was last modified 1 year and 337 days ago.

Previous Next


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