[2016-07-31 11:36] Stephane Cottin <[email protected]>
>
> Package: runit
> Version: 2.1.2-3
> Severity: wishlist
> Tags: patch
>
> Dear Maintainer,
>
>  When running a process who fork itself with runsv, like haproxy, it
>  detach from it's parent and is adopted by init (pid 1).

Sure. That is normal behavior. An solution for it is to not fork.

>  In some situations, when running in isolated environments like
>  docker / mesos-executor, or just to keep the process tree readable (ps
>  afx), it'll be better if runsv could adopt it's orphaned children.
>  Linux is providing since kernel 3.4 a subreaper feature, the following
>  patch enable this feature when available.

Please, no Linux-specific syscalls.

-- 
Accept: text/plain, text/x-diff
Accept-Language: eo,en,ru
X-Web-Site: sinsekvu.github.io

Reply via email to