|
|
|
|
|
by lawl
4164 days ago
|
|
Now you have the process supervisor in your init. What happens if your supervisor crashes now? So obviously that's not a good idea. Additionaly it bears the problem that you can't upgrade your process supervisor without rebooting. So what benefits does it actually provide? |
|
systemd PID 1 won't be rendered prone to crashing just because it contains more than trivial amounts of code. If that were the case, then surely the Linux kernel would be crashing every fifteen minutes, considering how much code it contains.
As far as I'm aware, the only component that can screw up systemd is dbus, and since the relevant parts are moving into the kernel, you won't just be able to hose your system by killing the dbus daemon accidentally.
I have yet to see an argument for process supervision functionality not existing in PID 1, besides simply stating that it must be so. Meanwhile, an init which is guaranteed to know whether the processes it starts (or stops!) are actually running is able to behave much more intelligently than scripts sending signals to PIDs that hopefully correspond to the correct process.