Re: [Dng] Why daemontools is so cool

2015-03-28 Thread Steve Litt
On Sat, 28 Mar 2015 17:04:39 +0100 poitr pogo lepo...@gmail.com wrote: s6 advertises itself as init replacement. I'm not using s6 or daemontools. I do not need them. Just learned about them and I'm bit surprised thy tend to replace init instead of being a good helpers for those who need them.

Re: [Dng] libudev-compat

2015-03-28 Thread Jude Nelson
Hi Scooby, It's not ready yet--it's not yet ABI-compatible with libudev (but it is API-compatible--Kay Sievers' tests pass when recompiled). Some background for the rest of the list. I've managed to extract the required variables, macros, and headers from systemd 219 to make libudev compile

Re: [Dng] Why daemontools is so cool

2015-03-28 Thread Steve Litt
On Sat, 28 Mar 2015 22:24:51 +0800 Robert Storey robert.sto...@gmail.com wrote: Thanks for telling us about this. I hadn't heard of daemontools before. I did an apt-cache show daemontools and interestingly it suggests runit. I presume that Devuan will at least include daemontools and

Re: [Dng] Why daemontools is so cool

2015-03-28 Thread Steve Litt
On Sat, 28 Mar 2015 12:31:04 + Nuno Magalhães nunomagalh...@eu.ipp.pt wrote: On Sat, Mar 28, 2015 at 12:15 PM, poitr pogo lepo...@gmail.com wrote: S6 even forces such a program must not handle daemon mode itself. That process must not background itself: being run by a supervision

Re: [Dng] Why daemontools is so cool

2015-03-28 Thread Steve Litt
On Sat, 28 Mar 2015 14:52:47 +0100 poitr pogo lepo...@gmail.com wrote: Cannot. Cannot what? This is from the s6 docs. I'm not using s6. Just heard about it today. I sure can't accuse you of procrastinating in forming an opinion. Another s6 limitation - finish script must end in 3

Re: [Dng] Why daemontools is so cool

2015-03-28 Thread Nuno Magalhães
On Sat, Mar 28, 2015 at 12:15 PM, poitr pogo lepo...@gmail.com wrote: S6 even forces such a program must not handle daemon mode itself. That process must not background itself: being run by a supervision tree already makes it a background task. I don't know its innards, but i find it

Re: [Dng] Devuan commitments - will trade-off be applied?

2015-03-28 Thread Didier Kryn
Le 28/03/2015 05:53, John Morris a écrit : On Fri, 2015-03-27 at 16:37 +0100, Didier Kryn wrote: Hi John, When I wrote anti-freedom, I considered a stricter definition of freedom than GPL, beyond free access to the source and gratuitous redistribution, including e.g. the absence

Re: [Dng] Why daemontools is so cool

2015-03-28 Thread poitr pogo
Cannot. This is from the s6 docs. I'm not using s6. Just heard about it today. Another s6 limitation - finish script must end in 3 seconds. or will be killed. Nice for desktop, not a server. It used to be that an application is responsible for proper start up/shutdown procedure, as application

Re: [Dng] Why daemontools is so cool

2015-03-28 Thread Robert Storey
Thanks for telling us about this. I hadn't heard of daemontools before. I did an apt-cache show daemontools and interestingly it suggests runit. I presume that Devuan will at least include daemontools and possibly runit, which should be a fascinating combination to play with. Can't wait to get

Re: [Dng] Why daemontools is so cool

2015-03-28 Thread poitr pogo
On Sat, Mar 28, 2015 at 4:15 PM, Isaac Dunham ibid...@gmail.com wrote: (...) If you want to *manage* a daemon (ie, do something when it stops, like restarting it), it's very tricky to do it reliably without having a fixed It might be tricky if application does not support startup/shutdown

Re: [Dng] Devuan commitments - will trade-off be applied?

2015-03-28 Thread Hendrik Boom
On Sat, Mar 28, 2015 at 12:33:34PM +0100, Didier Kryn wrote: Le 28/03/2015 05:53, John Morris a écrit : Trying to take the high moral ground and claim to be shooting for a stricter freedom is what leads to RMS and Debian unable to agree on which is the more 'Free.' Debian rejecting the

Re: [Dng] Why daemontools is so cool

2015-03-28 Thread Isaac Dunham
On Sat, Mar 28, 2015 at 02:52:47PM +0100, poitr pogo wrote: (in response to the question of why s6 prevents daemonizing) Cannot. This is from the s6 docs. I'm not using s6. Just heard about it today. If you want to *manage* a daemon (ie, do something when it stops, like restarting it), it's very

Re: [Dng] Why daemontools is so cool

2015-03-28 Thread Martijn Dekkers
Hey Poitr, s6 advertises itself as init replacement. No, S6, runit, daemontools, etc advertise as supervisor tools. Some of these, like S6, are also a sane init replacement, should you want to go this way. I'm not using s6 or daemontools. I do not need them. Some people do need them. We do a

Re: [Dng] Why daemontools is so cool

2015-03-28 Thread Martijn Dekkers
IMHO s6/daemontools and similar tools are just a helpers. That is *exactly* what they are. They help to run as a unix daemon a program which is not written to be a unix daemon. No, sorry, you are wrong. They are supervisors, and as such they ensure any long-running job keeps running when it

Re: [Dng] Why daemontools is so cool

2015-03-28 Thread Didier Kryn
Le 28/03/2015 17:04, poitr pogo a écrit : On Sat, Mar 28, 2015 at 4:15 PM, Isaac Dunham ibid...@gmail.com wrote: (...) If you want to *manage* a daemon (ie, do something when it stops, like restarting it), it's very tricky to do it reliably without having a fixed It might be tricky if

Re: [Dng] Why daemontools is so cool

2015-03-28 Thread poitr pogo
On Sat, Mar 28, 2015 at 6:59 PM, Martijn Dekkers devuan-li...@dekkers.org.uk wrote: (...) They help to run as a unix daemon a program which is not written to be a unix daemon. No, sorry, you are wrong. They are supervisors, and as such they ensure any long-running job keeps running when it