Re: upstart: please update to latest upstream version
Hi,
On Tue, Mar 6, 2012 at 7:46 PM, Josh Triplett <josh@joshtriplett.org> wrote:
> To give one particular example: systemd uses Linux-specific features to
> accurately track all the processes started by a service, which allows
> accurate monitoring and shutdown of processes which could otherwise
> disassociate themselves from their parent processes via the usual
> daemonizing trick. POSIX doesn't provide features that allow this in
> general, but Linux does. (Quite possibly other OSes provide those
> features too, but not in a standardized way.)
By the way, upstart uses ptrace for this:
http://netsplit.com/2007/12/07/how-to-and-why-supervise-forking-processes/
It's an interesting trick, and probably more portable too.
Regards,
Reply to: