28 points · by lproven · 3y ago · 18 comments
Is the implication that systemd has bugs and nothing else does? If so that’s nonsensical.
I have been using Debian for a long time, and I moved to systemd when they switched and I have not had any issues with it that I can think of.
But initV is the wrong comparison point anyway. Runit, upstart, openRC are all much better than initV. I certainly had less problems with openRC on my gentoo box than with systemD on my ubuntu box -- mainly because of all the add-ons (ntp, dns etc.) beyond init itself.
Distros are typically configured to use these features because they bring a bunch of benefits and are simpler to configure, but they're completely optional. At my job we manage an embedded Linux distro (using Yocto) and while we've been using systemd as init for a while, we only enabled journald relatively recently, and don't use the other stuff.
Unit/Service file syntax controls per-service logging, PID1 is rather tightly coupled to journald in implementing those features.
Hence the service manager explicitly checks that journald is running at startup:
https://github.com/systemd/systemd/blob/v254/src/core/manage...
Other components like resolved and networkd are optional however.
> The journal is fully and entirely up? If so, let's permit logging to it, if that's configured. If the journal is down, don't ever log to it, otherwise we might end up deadlocking ourselves as we might trigger an activation ourselves we can't fulfill.
I have never run in such a configuration, but based on this code, it sounds like there is explicit support for running without journald.
Are you sure? I don't think it's possible to disable the journal for the whole system.
(note the "Init software" section of checkbox choices, near the end...)