On Tue, 14 Jul 2015 01:12:21 +0200 Laurent Bercot <[email protected]> wrote:
> > And so, if you had problems with mingetty that you solved by running > it under pgrphack, I'd say that your supervision suite did not run it > in a new session. > daemontools' supervise doesn't setsid() by default. > runsv doesn't setsid() by default. runsv is actually made a session > leader by runsvdir, and runs the daemon and its logger in the same > session. That makes sense from the supervisor's standpoint, but not > from the daemon's standpoint. > I'm not sure what perpd does. There's no mention of sessions in the > documentation. Huh? The documentation for perpd(8) seems as clear as possible on this: perpd runs each child process for rc.main and rc.log in a new session and separate process group. http://b0llix.net/perp/site.cgi?page=perpd.8 Wayne
