Re: A dumb question

2017-05-02 Thread Alex Efros
Hi! On Tue, May 02, 2017 at 07:16:24PM +0200, Francisco Gómez wrote: > Besides, if you could magically do perfect small > applications, that means you'd have to keep working with and on > millions of small tools, right? Wouldn't that just add up complexity!? It depends, but in general just

Re: A dumb question

2017-05-02 Thread Jonathan de Boyne Pollard
Laurent Bercot: > > "It's old software. Its last version is from 2014." > > Old? Let's see... A more amusant counterexample is perhaps the Debian Almquist shell, put into widespread use on Debian and Ubuntu a decade ago in order to speed up bootstrap. M. Almquist first published it in May

Re: A dumb question

2017-05-02 Thread Jonathan de Boyne Pollard
Laurent Bercot: > It is also true that it would benefit from closer maintenance. > Gerrit Pape, runit's author, is still around and still reads this list, > but is not as active as he was a few years ago (typically during > runit development). Fortunately, there are not many feature requests.

Re: A dumb question

2017-05-02 Thread Francisco Gómez
May 2, 2017 12:00 PM, "Laurent Bercot" wrote: > Old? Let's see... > The MTA used by this very mailing-list is netqmail-1.06, i.e. > qmail (latest version released in 1996) with user-contributed > patches, the latest of which is from 2005. > So yeah, that's 12 years

Re: On possibly "finer" dependencies in s6-rc

2017-05-02 Thread Casper Ti. Vector
Well, I found this to be fairly over-simplified. If all members of the disjunction are longruns, using s6-svwait is OK; however this is not directly extensible to oneshots and bundles. Nevertheless, I think the idea of using a separate command to wait for the disjunction is still architecturally

Re: A dumb question

2017-05-02 Thread Laurent Bercot
The Debian maintainer is now Dmitry Bogatov. * https://tracker.debian.org/pkg/runit And unless I'm mistaken, he's not subscribed to this list, which is a shame. It makes no sense for software to only be maintained for a distribution (unless, of course, it's distribution-specific software);

Re: A dumb question

2017-05-02 Thread Francisco Gómez García
May 2, 2017 8:35 AM, "Steve Litt" wrote: > I also am surprised you could get Gnome to work without systemd. Just > for fun, try out LXDE, and install dmenu and have it at the ready > with an easy hotkey. I think you'll love the productivity > enhancement, once you get

Re: Customise shutdown signal at the s6-rc level?

2017-05-02 Thread Casper Ti. Vector
On Tue, May 02, 2017 at 08:51:19AM +, Laurent Bercot wrote: > If I were to work on a more official, better integrated solution, I would > do it at the s6-supervise level. I would not implement custom control > scripts, for the reasons indicated in the above link, but it would > probably be

Re: Customise shutdown signal at the s6-rc level?

2017-05-02 Thread Laurent Bercot
[1] Damn ezmlm-cgi bug, this time it triggered without an accented character. Sorry about that :( Here's the URL to the full message: https://www.mail-archive.com/supervision@list.skarnet.org/msg01427.html About customizing shutdown signals in s6-rc: how do you suggest it should be done?

Re: On possibly "finer" dependencies in s6-rc

2017-05-02 Thread Laurent Bercot
Nevertheless, s6-svwait -o seems to also fail if some failure occurs before the wanted state is reached, eg. one `dnscrypt-proxy' instance reporting permanent failure before another one comes up successfully. So we might need to add an option to ignore such failures. Yes, that's a good point.

Re: Customise shutdown signal at the s6-rc level?

2017-05-02 Thread Van Bemten, Lionel (Nokia - BE/Antwerp)
What I would like to have is "s6-rc -d change foo" sending SIGTERM and then SIGKILL if the service is not down after x seconds. Currently If a daemon hangs it has annoying side effects. If I don't put a timeout on the s6-rc command the state machine is blocked, and I cannot shut down the system

Re: A dumb question

2017-05-02 Thread Francisco Gómez García
May 2, 2017 12:08 AM, "Alex Efros" wrote: > Hi! Hey! First of all, thanks for the quick, polite reply. Didn't expect to be written in days, actually - so that on itself is already a good-enough greeting. > That sounds like everyone has own preference and that's ok. If

Re: A dumb question

2017-05-02 Thread Laurent Bercot
"It's old software. Its last version is from 2014." Old? Let's see... The MTA used by this very mailing-list is netqmail-1.06, i.e. qmail (latest version released in 1996) with user-contributed patches, the latest of which is from 2005. So yeah, that's 12 years old software. It could be

Re: Customise shutdown signal at the s6-rc level?

2017-05-02 Thread Laurent Bercot
What I would like to have is "s6-rc -d change foo" sending SIGTERM and then SIGKILL if the service is not down after x seconds. Currently If a daemon hangs it has annoying side effects. If I don't put a timeout on the s6-rc command the state machine is blocked, and I cannot shut down the system

Re: On possibly "finer" dependencies in s6-rc

2017-05-02 Thread Casper Ti. Vector
Yes, I think this is the correct behaviour: if the user does not want it, the warnings can be somehow filtered; on the other hand, there would not be a trivial way to know such failures if the user wants it but there is no warning in the first place. By the way, if this change is done in

Re: Customise shutdown signal at the s6-rc level?

2017-05-02 Thread Van Bemten, Lionel (Nokia - BE/Antwerp)
> Doesn't > >svc -wD -T1000 servicedir || svc -k servicedir > > do what you want for the "hangup problem" ? Problem is that you can't trigger that from s6-rc. Lionel

Re: Customise shutdown signal at the s6-rc level?

2017-05-02 Thread Joan Picanyol i Puig
* Casper Ti. Vector <caspervec...@gmail.com> [20170502 12:48]: > On Tue, May 02, 2017 at 08:51:19AM +, Laurent Bercot wrote: > > If I were to work on a more official, better integrated solution, I would > > do it at the s6-supervise level. I would not implement custo

Re: A dumb question

2017-05-02 Thread Guillermo
Hi, 2017-05-02 6:32 GMT-03:00 Francisco Gómez García: > > May 2, 2017 8:35 AM, "Steve Litt" wrote: > >> I also am surprised you could get Gnome to work without systemd. Just >> for fun, try out LXDE, and install dmenu and have it at the ready >> with an easy hotkey. I think you'll love the

Re: A dumb question

2017-05-02 Thread Steve Litt
On Mon, 01 May 2017 23:11:25 +0200 Francisco Gómez wrote: > Hello there, nice to meet you! If you don't mind, I'll be quite too > straight and tell you what I'm coming for. > > So, a few days ago, I switched to Void Linux. This not only meant that > my hipster

Re: On possibly "finer" dependencies in s6-rc

2017-05-02 Thread Laurent Bercot
By the way, if this change is done in s6-svwait, perhaps the s6-rc FAQ can mention that dynamic (i.e. without using s6-rc-update manually) virtual dependencies can be implemented using s6-svwait oneshots? Probably not. If anything, I'll think about the use of s6-svwait oneshots a bit more, and

Re: On possibly "finer" dependencies in s6-rc

2017-05-02 Thread Casper Ti. Vector
That would be much cleaner. Thanks :) On Tue, May 02, 2017 at 02:40:56PM +, Laurent Bercot wrote: > Probably not. If anything, I'll think about the use of s6-svwait > oneshots > a bit more, and if I assess it's the correct, or as correct as it gets, > way to implement disjunctions, I'll