supervision - discussion about system services, daemon supervision, init, runlevel management, and tools such as s6 and runit
 help / color / mirror / Atom feed
From: Larry Doolittle <ldoolitt@recycle.lbl.gov>
Subject: Re: runit on debian sid success, and questions
Date: Tue, 18 Jan 2005 17:13:03 -0800	[thread overview]
Message-ID: <20050118171303.A27683@recycle.lbl.gov> (raw)

> > The only (non-kernel) daemons left running _not_ under runsvdir
> > are udevd, portmap, and gconfd-2.  Vixie cron and I aren't getting
> > along very well at the moment, it's not running at all.  :-p
> 
> See here for examples for portmap and Debian's cron:

My problem is not so much putting these daemons under runit,
it's getting them _out_ of SysV init.  In the case of cron
and portmap, I ended up simply getting rid of them.

I can post my norc (antithesis of cron) script if anyone
is interested.  It's a ten-line shell script that runs
the scripts in /etc/cron.daily at three in the morning,
using sleep and date.

I just noticed the ipsvd package yesterday, which is an
apt-get away.  Whee!  I have started to phase out tcpserver.

I ran into odd runit shutdown behavior on another machine,
vanilla Pentium (Celeron) with Debian sarge.  I don't have
the exact message, but it said something like

   power down
   kernel panic, attempting to kill init!

then the disks spun down, but the video kept going.
It then needed me to reset or power down.  Of course, this
machine powered down normally with stock debian sarge init.

For that installation, I simply used "apt-get install runit-init"
once I had the basics tested under runit.  It was quite a trick
to shut down the machine the first time after that install!
Something like "/sbin/sysv-init 0" finally did it; telint was
linked to runit-init, which of course didn't know how to shut
down the system running under the old paradigm.  I think I saw
a message giving hints about this as part of the apt-get, but
I blew it off a little too lightly.

    - Larry


             reply	other threads:[~2005-01-19  1:13 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-01-19  1:13 Larry Doolittle [this message]
2005-01-19  3:59 ` Dean Hall
2005-01-19 10:03   ` Milan P. Stanic
2005-01-19  6:08 ` Larry Doolittle
2005-01-19 21:09   ` Thomas Schwinge
2005-01-19  6:39 ` Dean Hall
2005-01-23 12:23 ` Gerrit Pape
  -- strict thread matches above, loose matches on Subject: below --
2005-01-19  6:12 Larry Doolittle
2005-01-19 21:07 ` Thomas Schwinge
2005-01-19 21:53   ` Larry Doolittle
2005-01-20 22:55 ` Vincent Danen
2005-01-14 20:08 Larry Doolittle
2005-01-15 16:07 ` Gerrit Pape

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20050118171303.A27683@recycle.lbl.gov \
    --to=ldoolitt@recycle.lbl.gov \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).