by blibble · 7y ago · 0 comments
every few days I discover some new bit of non-determinism:
- systems getting stuck for long periods at startup or reboot with with some useless text like "Waiting for user session to shutdown"
- reboots never completing at all (getting completely wedged shutting down)
- jobs starting in weird orders, like crond starting up before the network, causing various things to break in new novel ways (sometimes, not always)
I can fix most of these systemd-created issues one by one as I discover them, but it's hardly making my life easierFor example, you mentioned crond startup before the network but that's hardly new with systemd — checking the oldest system I have access to shows that it's configured with two dependencies: “# Required-Start: $local_fs $syslog”. To the extent that systemd changed anything it was exposing that an assumption was wrong — and the nice thing is that you can use a systemd service to replace that cron task with something which _does_ behave the way you thought with precise service dependencies and all of the other benefits to using systemd (e.g. resource management): https://www.freedesktop.org/software/systemd/man/systemd.tim...
as I said, I can fix the issues one by one as I notice them, but if they only occur 1 boot in 10, or maybe 1 in 100 it's miserable and a much less reliable system than before
but hey, the systems now boot 2 seconds faster (if they boot at all...)
the problem is not the issues themselves, as once I know they're there I can trivially google for how to fix them, it's the fact they don't show up except sometimes
I do not care about boot speed at all, I care that I upgrade the system to a new distro release with systemd, test it, then it continues to work that way until I change something else
this is no longer the case, and in 20 odd years of maintaining systems I've never had as much "fun" before as I've had over the last couple of years with systemd
I just want my systems to boot, run my simple applications, then shutdown when I ask them to