On Tue, Feb 16, 2016 at 07:32:08PM +0000, James Le Cuirot wrote: > On Tue, 16 Feb 2016 12:51:17 -0600 > William Hubbs <willi...@gentoo.org> wrote: > > > there is a branch in the OpenRC github repo called supervisor. > > Interesting! > > > It is still very rough, and not ready for production, but at this > > point I would like to make everyone aware that it exists and ask > > folks to go over the code and provide comments. > > I'm not really qualified to comment on the code but I'm aware that > there are lot of ways to get this wrong so please do your homework if > you haven't done so already. Your post seems like a good start. :) That's exactly why I posted it; I know this is a complex issue, so I want others to look over the code and provide suggestions for cleaning it up before it goes mainline.
> runit seems highly regarded and we use it at work on CentOS to allow > users of the same UNIX group to manage a collection of processes > without requiring root or sudo. I wasn't aware of s6 at the time but > I've heard that's also good and this makes an interesting read. > > http://skarnet.org/software/s6/why.html > > I wonder if it might even make more sense to reuse one of these instead > of reinventing the wheel. They are both extremely lightweight. If you > feel you can do better though then go for it! We have s6 support in OpenRC, and I am looking at integrating runit support as well. For s6 info, see the s6-guide.md file located in /usr/share/doc/openrc-*. This is experimental work at this point, because I've been asked to determine how much work would be involved in having a small light-weight supervisor in OpenRC directly. > Regards, > -- > James Le Cuirot (chewi) > Gentoo Linux Developer William
signature.asc
Description: Digital signature