|
|
Subscribe / Log in / New account

NO TO SYSVINIT - or initscripts, rather!

NO TO SYSVINIT - or initscripts, rather!

Posted Mar 13, 2019 16:30 UTC (Wed) by nopsled (guest, #129072)
In reply to: NO TO SYSVINIT - or initscripts, rather! by luto
Parent article: Init system support in Debian

Have you seen https://www.freebsd.org/cgi/man.cgi?query=procctl&sek...

It would be nice if Linux had the PROC_REAP_KILL stuff. I think one could improve the FreeBSD interface a tad bit when incorporating it, but the concept looks sound.

systemd ofcourse has one supervisor per context (system or user), but this will be especially useful for supervisors that have one monitor per service (s6, runit style), and that these can be nested supervisors (so an option to not cross subreaper boundaries where each supervisor is a subreaper, or a way to kill inherited children only, and a way to kill direct children only, and OR the flags to do both). You could get creative, but if done right, this could solve a lot of woes with process management.


to post comments


Copyright © 2025, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds