Re: register runsvdir as subreaper

From: Steve Litt <slitt_at_troubleshooters.com>
Date: Wed, 1 Feb 2017 12:55:22 -0500

On Wed, 1 Feb 2017 12:09:01 -0500
Roger Pate <roger_at_qxxy.com> wrote:

> On Wed, Feb 1, 2017 at 11:48 AM, Laurent Bercot
> <ska-skaware_at_skarnet.org> wrote:
> > You want a clean process tree with a visually pleasing "ps afuxww"
> > output? Fix your services so they don't leave orphans in the first
> > place. ...
> > Reparenting orphans to anything else than the default is a
> > backwards way to solve a nonexistent problem.
>
> Name it reaperhack:
> reaperhack is what it says: a hack. Ideally, you should never have
> to use it. It is only useful when you want to supervise a daemon that
> results in orphans; and even then, the right thing is to report this
> as a bug to the author of the program leaving orphans and have it
> fixed.

Am I missing something? Do containers not have a PID1? If so, what
runs runsvdir (with the runit init system)? What starts up whatver sv
script?

Thanks,

SteveT

Steve Litt
January 2017 featured book: Troubleshooting: Just the Facts
http://www.troubleshooters.com/tjust
Received on Wed Feb 01 2017 - 17:55:22 UTC

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