Welcome to Soft32 Linux Forums!
FAQFAQ    SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

Bug#536546: Fwd: Re: daemontools-run: Should stop services..

 
   Soft32 Home -> Linux -> Bugs Dist RSS
Next:  Bug#554446: [/master] 20_r5913_queued_torrents_di..  
Author Message
Matthew Gabeler-Lee

External


Since: Feb 08, 2007
Posts: 4



(Msg. 1) Posted: Fri Nov 06, 2009 1:20 pm
Post subject: Bug#536546: Fwd: Re: daemontools-run: Should stop services at shutdown
Archived from groups: linux>debian>bugs>dist (more info?)

Forwarding some accidentally private conversation

-------- Original Message --------
Subject: Re: daemontools-run: Should stop services at shutdown
Date: Fri, 6 Nov 2009 20:54:45 +0300
From: Konstantin Khomoutov <flatworm.DeleteThis@users.sourceforge.net>
Organization: Service 007 http://007spb.ru
To: Matthew Gabeler-Lee <cheetah.DeleteThis@fastcat.org>

On Fri, 06 Nov 2009 12:16:45 -0500
Matthew Gabeler-Lee <cheetah.DeleteThis@fastcat.org> wrote:

> > [...]
> >> daemontools-run should install a script in /etc/init.d that runs in
> >> runlevels 0 and 6 to shutdown everything in /etc/service/.
> >
> > I think it should suffice to just remove runlevel 6 from the
> > inittab entry for svscanboot: according to init manual, when
> > changing runlevel, it sends TERM following by KILL to all
> > processes, defined in inittab, which are undefined on that
> > new runlevel. As runlevel 6 means reboot, init will send TERM
> > to the running copy of svscanboot, which is then supposed
> > to clean up the daemons it supervises.
>
> I don't think svscanboot works that way, unfortunately. It's just a
> tiny shell script, and sending it SIGTERM doesn't seem to do anything to
> the subprocesses (svscan, readproctitle) that it launches. Looking at
> my inittab, I in fact did remove it from levels 0, 1, and 6, and that
> didn't fix the problem for me.
Unfortunately, my first message missed cc to 536546.DeleteThis@bugs.debian.org,
so could you please send your comment there also so it won't get lost?

I now wonder what was the idea of the original daemontools author --
does he suppose systems never get stopped or rebooted?
In fact I like the idea of daemontools, but if there's no clean way
to bring the supervisor down, the whole point of it is worthless.



--
To UNSUBSCRIBE, email to debian-bugs-dist-REQUEST.DeleteThis@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster.DeleteThis@lists.debian.org
Back to top
Login to vote
Display posts from previous:   
Related Topics:
Bug#435553: Add search on package names - Package: reportbug-ng Version: 0.2007.07.19 Severity: wishlist --- Please enter the report below this line. --- I..

Bug#431170: The way to keep entity is documented in debian.. - Hi, It was a bit ambiguous but debiandoc-sgml-doc has appendix which goes in details how to keep entity. Osamu -- ...

Bug#435552: Doesn't detect debcontrol files in non-debian/.. - Package: vim-runtime Version: 1:7.1-022+1 Severity: minor Tags: patch Hi, "vi control" on a debcon...

Bug#435554: pidgin: Info text in About dialog scrolls down - Package: pidgin Version: 2.1.0-1 Severity: minor -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 When opening the About...

Bug#417674: new versions available - Dear Baishampayan, Please do consider packaging the latest version. Thanks. Kumar -- Kumar Appaiah, 458, Jamuna..

Bug#435556: p7zip-full: 7za should support -sfx - Package: p7zip-full Version: 4.47~dfsg.1-1 Severity: normal On Fedora, the p7zip package only includes the 7za binary....
       Soft32 Home -> Linux -> Bugs Dist All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

Categories:
 Windows
  Linux
 Mac
 PDA


[ Contact us | Terms of Service/Privacy Policy ]