Re: initialization vs supervision

2014-07-26 Thread Joan Picanyol i Puig
* Laurent Bercot [20140723 23:17]: > On 23/07/2014 20:16, Wayne Marshall wrote: > >In the best of un!x traditions, a stronger system may in fact be one > >that recognizes the fundamental differences between the two > >functions, and provides purpose-specific solutions for each of them. > > This i

Re: initialization vs supervision

2014-07-27 Thread Joan Picanyol i Puig
* Laurent Bercot [20140727 00:53]: > On 26/07/2014 20:47, Joan Picanyol i Puig wrote: > >What "tricky" responsabilities are you thinking of for /sbin/init that > >would make it Linux specific? > > s6-svscan wants a read-write directory to run in, and another to &g

Re: runit-for-lfs at GoogleCode

2014-08-06 Thread Joan Picanyol i Puig
* Charlie Brady [20140730 00:37]: > > On Tue, 29 Jul 2014, James Powell wrote: > > > A replacement is something to replace a faulty or broken part. Sysvinit, > > in our any many others' opinions, was not broken. > > Seriously? Start something, often something crucial to the running of the > s

Re: service dependency examples?

2014-11-10 Thread Joan Picanyol i Puig
* Wayne Marshall [20141103 17:10]: > Would someone kindly provide a real-world example of a service > dependency? That is, some service "foo" that critically depends on > another service "bar", and that satisfies either or both of the > following conditions: > > c1: service "foo" MUST NOT be st

Re: Holidays Brainstorming: instanced supervision

2016-01-18 Thread Joan Picanyol i Puig
* Laurent Bercot [20151226 12:33]: > In the past few years, there have been some bits and pieces of > discussion about "instanced services", i.e. some kind of supervised > service that would be able to create different instances of the > process at will. But it never got very detailed. > > I'd

Re: runit kill runsv

2016-06-27 Thread Joan Picanyol i Puig
* Laurent Bercot [20160623 14:20]: > On 23/06/2016 03:46, Thomas Lau wrote: > >LOL, well I am trying to do drill test and see how resilience of runit > >could be, this is one of the minor downfall. > > Current supervisors have no way of knowing that they died and > their child is still running.

Re: runit kill runsv

2016-09-01 Thread Joan Picanyol i Puig
[sorry for replying late, catching up] * Laurent Bercot [20160627 18:05]: > On 27/06/2016 14:02, Joan Picanyol i Puig wrote: > >However, couldn't they know whether their child did not cease to run > >because > >of a signal they sent? > > I'm not sure abo

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

2017-05-02 Thread Joan Picanyol i Puig
* Casper Ti. Vector [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 custom control > > scripts, for the reasons indicated i

Re: A better method than daisy-chaining logging files?

2019-06-18 Thread Joan Picanyol i Puig
* Laurent Bercot [20190618 08:22]: > >FYI: The fifo queue permissions, which the jail sees > >pr---w 1 mylogger www 0B May 31 13:27 apache24-error| > > Ah, so the www group is the one that writes to the fifo. Got it. > > Then you don't need mylogger to belong to the www group (and > it

Re: A better method than daisy-chaining logging files?

2019-06-18 Thread Joan Picanyol i Puig
* Dewayne Geraghty [20190618 09:38]: > # ktrace -f /tmp/s-log.txt -p 83417 > ktrace: /tmp/s-log.txt: Function not implemented > > Its a preproduction box, everything optimised and stripped (no debug > symbols). Apparently you've stripped options KTRACE from your kernel config. Boot GENERIC