3 ms·
So, what do you use instead?
by ergo14 10y ago
So, what do you use instead?
- antocv 10y agoI use OpenRC on my servers, systemd on my desktop/productive-mode laptop. On some servers I use s6 toolset. Those are nice. OpenRC is nice. It gets the work done, its so small, its easy to do things with it, and it has less problems than systemd - which I experience on the desktop. Example, started using networkd for managing networks, because hey why not, and NetworkManager is shit, I had gotten tired of typing wpa-supplicant and dhcpcd commands manually. But then, systemd apparantly takes control over the networking subsystem not only the network interfaces - it changes sysctl flags and doesnt delete after itself when asked to stop - it leaves any addresses and other configuration changes it had done. What!? edit: As all things, systemd-networkd has its place, its just not on a developers laptop, maybe it would be great to have in some kind of cloud environment where you have to configure hordes of machines and virtual machines in them, with networking and networking subsystem configured correctly. Then its nice to have a "do-it-all" tool, but then you should also probably swallow the rest of RedHats output, such as Ansible and look at Project Atomic.
- ausjke 10y agoAlpine Linux uses OpenRC too, the linux preference for Docker these days.
- new299 10y agoOn debian you can reinstall sysvinit-core.
- progman 10y agoOr you can use Devuan: https://devuan.org https://devuan.org
- bandrami 10y agoI'm a fan of Epoch[1], though I don't have it on anything in production right now. On my laptop I use GNU Shepherd[2], because it's what comes with GUIX SD. On my servers I do what I've done for about 2 decades now: I ditch whatever init crap my distribution came with and write a single sh rc script that mounts stuff, starts whatever services I want started, and starts getty. [1]: http://universe2.us/epoch.html http://universe2.us/epoch.html [2]: https://www.gnu.org/software/shepherd/ https://www.gnu.org/software/shepherd/
- semi-extrinsic 10y agoI recently replaced Systemd with OpenRC on one of my Arch Linux systems. It was the first time for me, so I was being careful, but still it just took ~60 minutes and I ended up with a more sane system afterwards. My pet peeve about Systemd is the abysmal error logging for services. Usually it will spit out 50-100 lines that offer zero useful information about why something failed. Adding insult to injury, I have noe easy way to add logging of services. If it were a bash script, I could inject "echo $foo > /tmp/service-debug.log" in the script, figure out the problem and fix it. Now I'm stuck with reporting it upstream and likely getting "Unable to reproduce, closing".