supervision - discussion about system services, daemon supervision, init, runlevel management, and tools such as s6 and runit
 help / color / mirror / Atom feed
From: Gerrit Pape <pape@smarden.org>
Subject: Re: Debian/Ubuntu apt package instead of tar.gz?
Date: Wed, 7 Dec 2005 17:54:01 +0100	[thread overview]
Message-ID: <20051207165401.21571.qmail@5dd47da67daad7.315fe32.mid.smarden.org> (raw)
In-Reply-To: <87psob6v3q.fsf@asfast.com>

On Mon, Dec 05, 2005 at 05:24:09PM -0500, Lloyd Zusman wrote:
> Gerrit Pape <pape@smarden.org> writes:
> > On Tue, Nov 29, 2005 at 05:14:15PM -0500, Lloyd Zusman wrote:
> >> And finally, one more question: I know that the runit apt package
> >> doesn't replace init, but I can't tell whether it installs itself into
> >> inittab as described on the "runit - use with traditional init" web
> >> page.  Does it do so?
> >
> > Yes it does, and for replacing sysvinit, there's the runit-run package,
> > try
> >  $ apt-cache show runit-run
> 
> Yep, I know about runit-run, but "apt-cache show runit" doesn't state
> whether or not runit installs itself into inittab.  Could that perhaps
> be briefly mentioned in a future release of those docs?

This currently is documented in /usr/share/doc/runit/README.Debian, but
I can add it to the package description also.

> Actually, this brings up a related question.  Assuming for the moment
> that Ubuntu functions the same as Debian, how many of the seven steps
> described in the "Replacing sysvinit (GNU/Linux)" section of the "runit
> - replacing init" page of the official docs will be automatically
> performed on a well-configured Debian/Ubuntu during an "apt-get install
> runit-run"?

See /usr/share/doc/runit-run/README.Debian, it does all but the
service migration, and the final reboot.

> In other words, after installing runit-run in this manner, will I still
> have to manually convert some /etc/init.d scripts to be runit-based
> before I reboot?

Debian services that are integrated into sysvinit are disabled by
default, and need to be converted manually if they should run by
default; the runit-run package enables a getty service, and additionally
takes care that the packages' init scripts aren't run automatically on
package installation/upgrade/remove through the policy-rc.d interface.

To ease service migration on Debian, I'm in the progress of creating a
runit-services package that includes service directories for some
services, see
 http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=330029

Help's always welcome ;-).

Regards, Gerrit.


  reply	other threads:[~2005-12-07 16:54 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-11-29 22:14 Lloyd Zusman
2005-12-05 17:17 ` Gerrit Pape
2005-12-05 17:36   ` Paul Jarc
2005-12-05 17:43     ` Gerrit Pape
2005-12-05 22:24   ` Lloyd Zusman
2005-12-07 16:54     ` Gerrit Pape [this message]
2005-12-08  0:52       ` Lloyd Zusman

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=20051207165401.21571.qmail@5dd47da67daad7.315fe32.mid.smarden.org \
    --to=pape@smarden.org \
    /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).