Re: Preliminary version of s6-rc available

2015-08-23 Thread Guillermo
Hello, I have new issues with the current s6-rc git head (after yesterday's bugfixes), discovered with the following scenario: a service database with only two longruns, producersvc and loggersvc, the latter being the former' s logger. Loggersvc's service definition directory had only

Re: Preliminary version of s6-rc available

2015-08-22 Thread Laurent Bercot
Should be all fixed, thanks! -- Laurent

Re: Preliminary version of s6-rc available

2015-08-22 Thread Laurent Bercot
On 22/08/2015 08:26, Colin Booth wrote: I run my s6 stuff in slashpackage configuration so I missed the s6-fdholder-filler issue. The slashpackage puts full paths in for all generated run scripts so I'm a little surprised it isn't doing that for standard FHS layouts. FHS doesn't guarantee

Re: Preliminary version of s6-rc available

2015-08-22 Thread Colin Booth
On Fri, Aug 21, 2015 at 6:36 PM, Guillermo gdiazhartu...@gmail.com wrote: Hello, I have the following issues with the current s6-rc git head (last commit 8bdcc09f699a919b500885f00db15cd0764cebe1): (snip) I run my s6 stuff in slashpackage configuration so I missed the s6-fdholder-filler

Re: Preliminary version of s6-rc available

2015-08-21 Thread Guillermo
Hello, I have the following issues with the current s6-rc git head (last commit 8bdcc09f699a919b500885f00db15cd0764cebe1): * s6-rc-compile doesn't copy the 'nosetsid' file in the service definition directory of a longrun to the compiled database directory. * s6-rc-compile produces an error if

Re: Preliminary version of s6-rc available

2015-07-19 Thread Guillermo
2015-07-12 2:59 GMT-03:00 Laurent Bercot: s6-rc is available to play with. [...] I decided to publish what's already there, so you can test it and give feedback while I'm working on the rest. You can compile service definition directories, look into the compiled database, and run the

Re: Preliminary version of s6-rc available

2015-07-19 Thread Laurent Bercot
On 19/07/2015 20:13, Guillermo wrote: Well, I haven't been very lucky with oneshots. First, the #!execline shebang with no absolute path doesn't work on my system, even if the execlineb program can be found via the PATH environment variable. Neither does #!bash, #!python, or any similar

Re: Preliminary version of s6-rc available

2015-07-19 Thread Colin Booth
On Fri, Jul 17, 2015 at 10:13 AM, Claes Wallin (韋嘉誠) skar...@clacke.user.lysator.liu.se wrote: On 17-Jul-2015 12:49 am, Colin Booth cathe...@gmail.com wrote: Depending on your cron, users might be able to simply put an @reboot s6-svscan in their user crontab. I don't see many drawbacks with

Re: Preliminary version of s6-rc available

2015-07-17 Thread Laurent Bercot
On 17/07/2015 09:26, Rafal Bisingier wrote: So I run them as a service with sleep BIG in finish script (it's usually unimportant if this runs on same hours every day). I can have this sleep in the main process itself, but it isn't really it's job I also use a supervision infrastructure as a

Re: Preliminary version of s6-rc available

2015-07-16 Thread Laurent Bercot
On 16/07/2015 19:22, Colin Booth wrote: You're right, ./run is up, and being in ./finish doesn't count as up. At work we use a lot of runit and have a lot more services that do cleanup in their ./finish scripts so I'm more used to the runit handling of down statuses (up for ./run, finish for

Re: Preliminary version of s6-rc available

2015-07-14 Thread Colin Booth
On Mon, Jul 13, 2015 at 3:20 PM, Laurent Bercot ska-skaw...@skarnet.org wrote: Ah, so that's why you didn't like the must not exist yet requirement. OK, got it. Yeah, mounting another tmpfs inside the noexec tmpfs can work, thanks for the idea. It's still ugly, but a bit less ugly than the

Re: Preliminary version of s6-rc available

2015-07-13 Thread Laurent Bercot
On 13/07/2015 17:35, Colin Booth wrote: Those options are all bad. My workaround was to mount a new tmpfs inside of run (that wasn't noexec) but that made using s6-rc annoying due to the no directory requirement. I don't think there's anything inherently bad about nesting mounts in this way

Re: Preliminary version of s6-rc available

2015-07-12 Thread Colin Booth
On Sat, Jul 11, 2015 at 10:59 PM, Laurent Bercot ska-skaw...@skarnet.org wrote: So I decided to publish what's already there, so you can test it and give feedback while I'm working on the rest. You can compile service definition directories, look into the compiled database, and run the