Re: Using runit-init on debian/Jessie in place of sysvinit/systemd

From: Avery Payne <avery.p.payne_at_gmail.com>
Date: Fri, 2 Jan 2015 02:40:46 -0800

On Thu, Jan 1, 2015 at 3:39 PM, Luke Diamand <luke_at_diamand.org> wrote:

> I think I've finally got it going, with most of the old /etc/init.d/
> scripts just run from /etc/runit/1, but autofs, ypbind and sshd being run
> as services.
>

Caution, a shameless plug follows:

If you are willing to share the contents of your scripts with a very
permissive license, I would like to see them and possibly incorporate the
ideas into my current project.


>
> Quite a few things seem to be subtly (but trivially) wrong in the
> instructions to get this going, so although it's actually quite
> straightforward now I've worked out what I'm doing, it took a lot longer
> than I expected.
>

The instructions do need to be updated a bit. Once it is up and running
it's not so bad; in fact, it probably wouldn't take too long to update the
instructions (hint hint).


> For example, the service directory in the instructions is /service, but
> debian now uses /etc/service (OK....), but the example [123] scripts
> shipped in /usr/share/doc still use /service, and at least in my case,
> having a symlink in /service resulted in weird error messages which went
> away once I fixed this.
>

I currently have /service -> /etc/service on a system at home and haven't
had any issues. What are you seeing? What version of runit do you have?


> Are there any plans to create a debian package that would just put all the
> bits in the right place, so you can simply install the package and have it
> then use runit-init as /sbin/init ?
>

The problem isn't the package; the problem is the size of Debian itself.
Or rather, the fact that Debian is a very, very large organization, and to
make it work properly, all of the package maintainers would have to be
"hassled" into supporting the arrangement. This is one of the many reasons
I started the supervision-scripts project, because Debian was lacking a
reasonable set of management scripts out-of-the-box.
Received on Fri Jan 02 2015 - 10:40:46 UTC

This archive was generated by hypermail 2.3.0 : Sun May 09 2021 - 19:44:18 UTC