Web lists-archives.com

Re: If Linux Is About Choice, Why Then ...




-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Mon, Apr 10, 2017 at 04:13:48PM +0200, Nicolas George wrote:
> Le primidi 21 germinal, an CCXXV, tomas@xxxxxxxxxx a écrit :
> > SysV init is broken because it has no process monitoring? No.
> > Process monitoring isn't in its scope.
> 
> Your other arguments make sense, but sorry, this one does not. The
> process with PID one is the only immortal process on the system, and
> adopts all orphan processes. For that reason, any kind of process
> monitoring, if it needs reliability, must be rooted in PID 1. And in
> turn, that makes process monitoring in scope for any project that aims
> to implement a program for PID 1.

Runit works. Think about how :-)

(And yes, double-forking trickery fools it. Don't do that then. Most
daemons have a command line option for that, and those that dont...
after all, you have to "fix" daemons to let them participate in systemd's
socket activation party too, don't you?

regards
- -- t
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)

iEYEARECAAYFAljrlsQACgkQBcgs9XrR2kZfZgCfT5XdzT/fzBWBo550RAKEyyKB
ucQAn1rdZZVk72FmNMWAs6UC8CV7cER/
=+CMt
-----END PGP SIGNATURE-----