https://wiki.archlinux.org/title/systemd

Do we love it folks or not?

  • PorkrollPosadist [he/him, they/them]
    ·
    edit-2
    3 years ago

    It's good folks. Everyone says SysV style init systems are more minimalist, but if you have ever actually dug through the init scripts some of them can be pretty dense. In order to properly manage service lifecycles and dependencies, you can end up improvising a lot of complex logic in your scripts without any assistance from that minimalist foundation ("we need to start the synapse server, but first we must start the postgres server, and if it is the first time we need to create some database tables which we can't do until the postgres server is running"). As a Gentoo user, I like OpenRC. I used it for years before systemd was even a thing, but there are tons of edge-cases and dependencies which can be difficult to account for purely in Bash script. Everything is fine if you're installing packages from the package manager. They include their own init scripts and systemd.units, but when you start having to actually mess around with it and plug in a lot of third party software, the scripts are much more of a pain IMO.

    Here's a lecture given by FreeBSD developer Benno Rice titled The Tragedy of Systemd