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

2015-01-19 Thread Jonathan de Boyne Pollard
Avery Payne: I have been giving the "one shot" question considerable thought. I have a number of scripts that require this kind of behavior, so it's of great interest to me. The current methods that I have encountered are: + use a pause(1) command that simply sleeps forever on a subset of s

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

2015-01-19 Thread Jonathan de Boyne Pollard
Luke Diamand: > 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 ? It's called runit-run, created over a decade ago, and it was a Debian package for some yea

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

2015-01-02 Thread Avery Payne
On Fri, Jan 2, 2015 at 6:51 AM, Luke Diamand wrote: > On 02/01/15 10:40, Avery Payne wrote: > >> On Thu, Jan 1, 2015 at 3:39 PM, Luke Diamand wrote: >> >> Caution, a shameless plug follows: >> >> If you are willing to share the contents of your scripts with a very >> permissive license, I would

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

2015-01-02 Thread Steve Litt
On Fri, 02 Jan 2015 14:51:59 + Luke Diamand wrote: > On 02/01/15 10:40, Avery Payne wrote: > > On Thu, Jan 1, 2015 at 3:39 PM, Luke Diamand > > wrote: > > > > Caution, a shameless plug follows: > > > > If you are willing to share the contents of your scripts with a very > > permissive licens

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

2015-01-02 Thread Luke Diamand
On 02/01/15 10:40, Avery Payne wrote: On Thu, Jan 1, 2015 at 3:39 PM, Luke Diamand wrote: 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 proj

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

2015-01-02 Thread Steve Litt
ry Payne > Date: 2015-01-02 11:54 GMT+01:00 > Subject: Re: Using runit-init on debian/Jessie in place of > sysvinit/systemd To: toki clover > > > > On Thu, Jan 1, 2015 at 4:31 PM, toki clover > wrote: > > > -- Forwarded message -- > > Fro

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

2015-01-02 Thread toki clover
I need some mes to calm down... Ugh, what an awful formating and typos. Lets take some vacation. 2015-01-02 11:53 GMT+01:00 toki clover : > > > 2015-01-02 11:25 GMT+01:00 Steve Litt : > >> runit->OpenRC was pretty easy for me to do in the OpenRC edition of >> Manjaro. Put: >> >> /usr/bin/openrc

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

2015-01-02 Thread toki clover
Feel free to take meds and re-invent the wheel when you feel like it. No problem of course. Take care. -- Forwarded message -- From: Avery Payne Date: 2015-01-02 11:54 GMT+01:00 Subject: Re: Using runit-init on debian/Jessie in place of sysvinit/systemd To: toki clover On

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

2015-01-02 Thread Avery Payne
-- Forwarded message -- >> From: toki clover >> Date: 2015-01-02 1:30 GMT+01:00 >> Subject: Re: Using runit-init on debian/Jessie in place of >> sysvinit/systemd >> To: Luke Diamand >> >> >> First, it's a bit crazy to use runit for init+service mana

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

2015-01-02 Thread toki clover
2015-01-02 11:25 GMT+01:00 Steve Litt : > runit->OpenRC was pretty easy for me to do in the OpenRC edition of > Manjaro. Put: > > /usr/bin/openrc sysinit > /usr/bin/openrc boot > /usr/bin/openrc default > > in /etc/runit/1 > > And of course, you need to have runit manage your ttys because OpenRC >

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

2015-01-02 Thread Avery Payne
On Thu, Jan 1, 2015 at 3:39 PM, Luke Diamand 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

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

2015-01-02 Thread Avery Payne
On Thu, Jan 1, 2015 at 6:24 PM, James Powell wrote: > One service that falls into a massive gray area is udev. There is an older posting on the mailing list about this. > Be advised that some services that are one-shots may need a suitable > execution state maintenance utility to keep the ex

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

2015-01-02 Thread Steve Litt
On Fri, 2 Jan 2015 01:31:46 +0100 toki clover wrote: > -- Forwarded message -- > From: toki clover > Date: 2015-01-02 1:30 GMT+01:00 > Subject: Re: Using runit-init on debian/Jessie in place of > sysvinit/systemd To: Luke Diamand > > > First, it's

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

2015-01-01 Thread James Powell
dows Phone From: toki clover<mailto:tokiclo...@gmail.com> Sent: ‎1/‎1/‎2015 4:31 PM To: supervision@list.skarnet.org<mailto:supervision@list.skarnet.org> Subject: Fwd: Using runit-init on debian/Jessie in place of sysvinit/systemd -- Forwarded message -- From: t

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

2015-01-01 Thread Jameson Graef Rollins
On Thu, Jan 01 2015, toki clover wrote: > First, it's a bit crazy to use runit for init+service management > entirely because: I use runit-init as init (process 1) on several machines (albeit very stripped down ones). It's not that crazy, and is well supported in Debian (at least last I checked)

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

2015-01-01 Thread toki clover
Naturally, you just need to append `init=/sbin/runit-init' (check the path beforehand) to use runit-init as PID 1 (to replace `init=/sbin/init' or `init=/usr/lib/systemd'.)

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

2015-01-01 Thread toki clover
-- Forwarded message -- From: toki clover Date: 2015-01-02 1:30 GMT+01:00 Subject: Re: Using runit-init on debian/Jessie in place of sysvinit/systemd To: Luke Diamand First, it's a bit crazy to use runit for init+service management entirely because: - It's completel

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

2015-01-01 Thread Luke Diamand
Hi! I've started trying to follow the instructions on getting Debian to use runit as init, on Jessie. http://smarden.org/runit/replaceinit.html 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 s