supervision - discussion about system services, daemon supervision, init, runlevel management, and tools such as s6 and runit
 help / color / mirror / Atom feed
* Re: runit on debian sid success, and questions
@ 2005-01-19  1:13 Larry Doolittle
  2005-01-19  3:59 ` Dean Hall
                   ` (3 more replies)
  0 siblings, 4 replies; 13+ messages in thread
From: Larry Doolittle @ 2005-01-19  1:13 UTC (permalink / 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


^ permalink raw reply	[flat|nested] 13+ messages in thread
* Re: runit on debian sid success, and questions
@ 2005-01-19  6:12 Larry Doolittle
  2005-01-19 21:07 ` Thomas Schwinge
  2005-01-20 22:55 ` Vincent Danen
  0 siblings, 2 replies; 13+ messages in thread
From: Larry Doolittle @ 2005-01-19  6:12 UTC (permalink / raw)


[trimmed copy of private e-mail]

On Tue, Jan 18, 2005 at 08:38:31PM -0500, Dean Hall wrote:
> How did you get rid of portmap? Did you get rid of the services for
> which it's required? Or did you force them to use a static port?

rm /etc/rcS.d/S18portmap; sh /etc/init.d/portmap stop
I don't have any services that require portmap.

> You might check out uschedule <http://www.ohse.de/uwe/uschedule.html>.
> It's a decent and simple cron and at replacement.

Thanks for the link!  I think I'll keep my script for now, but
that program looks better than cron if I'm forced to use something
more complex.  Right now all I need is something to run the daily
maintenance for man, locate, and TeX.

> | It was quite a trick
> | to shut down the machine the first time after that install!
> 
> Yeah, you have to use the sysv init executable to shut down the machine
> the first time. *shrug*

Right, but the list of familiar things that don't work (cntrl-alt-del, 
reboot, shutdown -h now, telinit 0) is much longer than what does work.

      - Larry


^ permalink raw reply	[flat|nested] 13+ messages in thread
* runit on debian sid success, and questions
@ 2005-01-14 20:08 Larry Doolittle
  2005-01-15 16:07 ` Gerrit Pape
  0 siblings, 1 reply; 13+ messages in thread
From: Larry Doolittle @ 2005-01-14 20:08 UTC (permalink / raw)


Gerrit -

I have my debian sid amd64 system converted to runit-1.05.
The stock init scripts are totally out of control, IMNSHO.
I'd even like to rework the rcS (one-time) scripts, but
by running /etc/init.d/rcS from /etc/runit/1 I can postpone
that effort.

I'm not done setting everything up, but at the moment my
system is running about as well as it did before the change.

$ ls /var/service
boa  getty-5  getty-6  klogd  ntpclient  qmail  socklog  sshd  xfs
$

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

Here are my questions (so far) about runit and friends:

In the debian kit, most static files are in /etc/runit,
while dynamic files are in /var.  A forest of symlinks
connects the two "databases".  One exception to that rule
is the log configuration file, in /var/log/foo/config.
Is this purposeful and/or unavoidable?

The process of setting up service directories is tedious.
It's a little late for me, but I can imagine automating some
of the creation and maintenance process.  Maybe even (gasp)
a GUI.  Are you aware of any efforts in this direction?

Thanks for freeing me from SysV-init!

      - Larry


^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2005-01-23 12:23 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-01-19  1:13 runit on debian sid success, and questions Larry Doolittle
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

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).