GNU bug report logs - #32128
[PATCH 0/2] Support custom actions for Shepherd services

Previous Next

Package: guix-patches;

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

Date: Wed, 11 Jul 2018 21:48:02 UTC

Severity: normal

Tags: patch

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

Bug is archived. No further changes may be made.

Full log


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

From: Clément Lassieur <clement <at> lassieur.org>
To: Ludovic Courtès <ludo <at> gnu.org>
Cc: 32128 <at> debbugs.gnu.org
Subject: Re: [bug#32128] [PATCH 0/2] Support custom actions for Shepherd
 services
Date: Thu, 12 Jul 2018 15:03:26 +0200
Hi Ludo,

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

> Hello Guix!
>
> This is a long-awaited feature—nothing fancy, but it can certainly be
> useful as illustrated by the ‘herd schedule mcron’ example below.
>
> I suppose we can add actions for hot-swapping and reconfiguration of
> services that support it, such as nginx: <https://bugs.gnu.org/26830>.

This is fantastic!  Thank you :-)  And it looks good to me.

A few notes though (more about the Shepherd):

- It would be great to be able to use actions even when services are not
  started.  In the case of the "mcron" service, for example, it makes
  sense: one may not want to risk spawning a program while wanting to
  debug the schedule.

- It seems that sometimes the SIGCHLD handler is invoked, when the
  'running' field is not yet set.  Should CALL-WITH-BLOCKED-ASYNCS be
  used?
  
Clément




This bug report was last modified 6 years and 313 days ago.

Previous Next


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