Hi,

I still can reproduce the behavior on a wheezy system. Here is the
output of sv stat:

sudo sv stat /var/lib/cereal/sessions/sw01
down: /var/lib/cereal/sessions/sw01: 82s; run: log: (pid 25393) 76s

The process list says:

  └─runsv,25378 cereal.sw01
      └─run,25393 -e ./run

So I suspect that it is not stuck in the finish state.

Greetings
Marc


On Fri, Aug 01, 2014 at 09:55:01AM +0000, Gerrit Pape wrote:
> From: Gerrit Pape <p...@smarden.org>
> Subject: Bug#505608: runit: stopped runsv processes not responding to TERM
>  signals
> To: Marc Haber <mh+debian-b...@zugschlus.de>, 505...@bugs.debian.org
> Cc: 505608-submit...@bugs.debian.org
> Reply-To: Marc Haber <mh+debian-b...@zugschlus.de>, 505...@bugs.debian.org,
>  505608-submit...@bugs.debian.org, 505608-qu...@bugs.debian.org
> Date: Fri, 1 Aug 2014 09:55:01 +0000
> List-Id: <505608.bugs.debian.org>
> X-Debian-PR-Package: runit
> X-Spam-Score: (--) -2.6
> X-Spam-Report: torres.zugschlus.de  Content analysis details:   (-2.6
>  points, 5.0 required)   pts  rule name              description  ----
>  ---------------------- ------------------------------------------- -0.7
>  RP_MATCHES_RCVD        Envelope sender domain matches handover relay
>  domain -1.9 BAYES_00               BODY: Bayes spam probability is 0 to 1%
>                              [score: 0.0000]
> 
> 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, send mail to 505608-unsubscr...@bugs.debian.org.

-- 
-----------------------------------------------------------------------------
Marc Haber         | "I don't trust Computers. They | Mailadresse im Header
Leimen, Germany    |  lose things."    Winona Ryder | Fon: *49 6224 1600402
Nordisch by Nature |  How to make an American Quilt | Fax: *49 6224 1600420


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to