Re: s6-rc-update initial findings

From: Laurent Bercot <>
Date: Tue, 15 Sep 2015 01:44:57 +0200

On 15/09/2015 00:40, Colin Booth wrote:
> Ok, did some more testing and it looks like the contents of $SVCDIR
> end up being the additive delta between current and new. When
> initializing, there are no s6-rc managed servoces in $SVCDIR so of
> course the delta will be all new services. When adding a new longrun,
> your contents of $SVCDIR will only be the new service. It's probably
> safe since giving s6-svscan SIGALRM only adds services (never
> removes), and s6-rc brings down services by directly sending s6-svc
> -wD -dx to the service. Not sure if this was a design decision, but I
> still prefer having $SVCDIR be representative of my run state. At
> least I now know what's going on.

  Yeah, that's not normal. s6-rc-update should remove the links when it
brings the old services down, and should also add the links when it
brings the new services up. I don't have an exact picture of what is
actually happening in all cases; I didn't have the time today, but I'll
do more testing on that tomorrow.

Received on Mon Sep 14 2015 - 23:44:57 UTC

This archive was generated by hypermail 2.3.0 : Sun May 09 2021 - 19:38:49 UTC