On Tue, Nov 03, 2009 at 01:54:10PM +0100, Marc Haber wrote:
> I can reproduce the issue with the instructions given by Jameson.
> 
> On Mon, Oct 12, 2009 at 09:39:42AM +0000, Gerrit Pape wrote:
> > Hi Jameson, if you still have this problem, please tar the service
> > directory, and mail the tar archive to this bug report, I'll take a look
> > then.
> 
> Attached.
> 
> $ pstree -apl 2856
> runsvdir,2856 -P 
> /etc/servicelog:\040..................................................
> $ sudo update-service --add /var/lib/cereal/sessions/sw01 cereal.sw01
> Service cereal.sw01 added.
> $ pstree -apl 2856
> runsvdir,2856 -P 
> /etc/servicelog:\040..................................................
>   └─runsv,3113 cereal.sw01
>       └─run,3114 -e ./run
> $ sudo update-service --remove /var/lib/cereal/sessions/sw01 cereal.sw01
> Service cereal.sw01 removed, the service daemon received the TERM and CONT 
> signals.
> $ pstree -apl 2856
> runsvdir,2856 -P 
> /etc/servicelog:\040..................................................
>   └─runsv,3113 cereal.sw01
>       └─run,3114 -e ./run
> $
> 
> I would have expected processes 3113 and 3114 to die.
> 
> Please note that you will probably have to install cereal to reproduce
> the issue as cereal makes heavy use of out-of-tree symlinks in its
> service directories.

Hi, thanks for this and sorry for the late reply.

I guess the service is hanging in the finish state, if so, ./finish
should be fixed.  runsv will not exit unless the ./finish script has
done its job and terminated.

The output of 'sv stat /var/lib/cereal/sessions/sw01' would be
interesing in this situation, and tell us whether the service is in the
finish state.  Do you still have these services in operation and can
check?

Regards, Gerrit.


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to