Re: supervision-scripts 2015-06

From: Wayne Marshall <>
Date: Mon, 13 Jul 2015 16:27:47 -0700

On Tue, 14 Jul 2015 01:12:21 +0200
Laurent Bercot <> 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.

Received on Mon Jul 13 2015 - 23:27:47 UTC

This archive was generated by hypermail 2.3.0 : Sun May 09 2021 - 19:44:19 UTC