Re: Some suggestions about s6 and s6-rc

2015-09-19 Thread Steve Litt
On Sun, 20 Sep 2015 11:06:34 +0800 "Casper Ti. Vector" wrote: > On Sun, Sep 20, 2015 at 12:33:28AM +0200, Laurent Bercot wrote: > > I agree that the name collision is confusing, and it is an > > annoyance. > > Since s6-rc is still unreleased, perhaps we can still take the chance > to rename `

Re: Some suggestions about s6 and s6-rc

2015-09-19 Thread Colin Booth
On Sep 19, 2015 8:07 PM, "Casper Ti. Vector" wrote: > > Since s6-rc is still unreleased, perhaps we can still take the chance to > rename `up'/`down' in oneshots to `run'/`finish', in order to let them > look a little more unified? > I don't know about anyone else, but I actually like the differen

Re: Some suggestions about s6 and s6-rc

2015-09-19 Thread Casper Ti. Vector
I just read your modification on the blurb page (commit e56e1294), and found it somehow still lacking: in my experience, dependency is honoured by OpenRC even with `rc_parallel' enabled; and more than that, "readiness" (here defined as `exit 0' for a runscript) is also honoured: > % head /etc/init

Re: Some suggestions about s6 and s6-rc

2015-09-19 Thread Casper Ti. Vector
Since s6-rc is still unreleased, perhaps we can still take the chance to rename `up'/`down' in oneshots to `run'/`finish', in order to let them look a little more unified? On Sun, Sep 20, 2015 at 12:33:28AM +0200, Laurent Bercot wrote: > I agree that the name collision is confusing, and it is an

Re: Some suggestions about s6 and s6-rc

2015-09-19 Thread Laurent Bercot
On 20/09/2015 00:23, Steve Litt wrote: Basically, on startup, before bringing up the process supervisor, you write "down" files to every service not containing a "nodown". Then you erase down files one at a time. Clarity check. Casper, Guillermo and I were not talking about ./down files in a

Re: Some suggestions about s6 and s6-rc

2015-09-19 Thread Steve Litt
On Sat, 19 Sep 2015 11:11:37 -0700 Avery Payne wrote: > With regard to having scripted placement of down files, if it was in a > template or compiled as such, then the entire process of writing it > into the definition becomes trivial or moot. While there should > always be a manual option to ov

Re: Some suggestions about s6 and s6-rc

2015-09-19 Thread Avery Payne
With regard to having scripted placement of down files, if it was in a template or compiled as such, then the entire process of writing it into the definition becomes trivial or moot. While there should always be a manual option to override a script, or the option to write one directly, I think th

Re: Some suggestions about s6 and s6-rc

2015-09-19 Thread Guillermo
2015-09-19 13:23 GMT-03:00 Casper Ti. Vector: > > Allow me to clarify myself: what I proposed is to *also* allow oneshots > which have a `down' file but no `up' file. Oh, right. I read too fast and misunderstood, sorry. G.

Re: Some suggestions about s6 and s6-rc

2015-09-19 Thread Casper Ti. Vector
Allow me to clarify myself: what I proposed is to *also* allow oneshots which have a `down' file but no `up' file. But again, the choice is not up to me, so I stop here... On Sat, Sep 19, 2015 at 01:03:32PM -0300, Guillermo wrote: > have an explicit start(). Being forced to always do 'touch down;

Re: Some suggestions about s6 and s6-rc

2015-09-19 Thread Guillermo
2015-09-19 10:17 GMT-03:00 Casper Ti. Vector: > On Sat, Sep 19, 2015 at 02:26:44PM +0200, Laurent Bercot wrote: >> >> So, I don't mind the asymmetry because it's a natural one given the >> way a system works, and working around it is trivial. I only made >> the "down" script optional because it's

Re: Some suggestions about s6 and s6-rc

2015-09-19 Thread Laurent Bercot
On 19/09/2015 14:52, James Powell wrote: I don't see it, rc_parallel, as entirely broken, that is if you follow proper scripting techniques and create the proper dependency prestarts. Even if you do, it's not guaranteed to work as long as you don't have a way to notify readiness. In the serial

Re: Some suggestions about s6 and s6-rc

2015-09-19 Thread Casper Ti. Vector
On Sat, Sep 19, 2015 at 02:26:44PM +0200, Laurent Bercot wrote: > You can't add parallel service start/stop as an afterthought. It has to > be included in the design. OpenRC is a good serial rc system, but it's > not a parallel rc system by any means. Thanks for your explanation, it is very clea

RE: Some suggestions about s6 and s6-rc

2015-09-19 Thread James Powell
I don't see it, rc_parallel, as entirely broken, that is if you follow proper scripting techniques and create the proper dependency prestarts. However, against the alternative of systemd, OpenRC is what sysvinit should have been to some degree, and is a more valid and viable choice, and at least

Re: Some suggestions about s6 and s6-rc

2015-09-19 Thread Laurent Bercot
On 19/09/2015 11:23, Casper Ti. Vector wrote: * In `s6:doc/servicedir.html': Fixed, thanks. * In `s6-rc:doc/why.html': This "blurb" page describes OpenRC as starting (and shutting down, though not explicitly saying that) services sequentially. This is only partially true: in Gent

Some suggestions about s6 and s6-rc

2015-09-19 Thread Casper Ti. Vector
Since it has been public that Laurent schedules the release of s6-rc in September 2015, I think it will be beneficial to try to rip the related documentation of factual errors (I keep imagining how Rachel Carson and her friends tried to eliminate flaws in "Silent Spring"). Here are my own findings