Comment by 7bit
3 months ago
I really also don't understand this. I started using Linux on server OS around 2010. I think this was not long before SystemD was available in Ubuntu by default. I found writing or even understanding init scripts was really difficult for me. When I first had to get a program running under SystemD it clicked immediately and it took me about 4 hours to get it run reliably and that includes learning systemd.
I find it easier and better on so many levels!
Systemd is one of the most complex and difficult to understand parts of your system. Did you know it contains a virtualization manager.
>I find it easier and better on so many levels!
Openrc is by any possible standard easier to use. Among the reasons is that it does not include a way to create virtual machines.
I did not know and I must not know that to get a service running on start.
>I did not know and I must not know that to get a service running on start.
Exactly. So why is it part of your init system? Can you think of a reason why it is not a totally separate project which is totally independent of systemd?
From a surface glance systemd and openrc are almost identical. Both require very little to get something to work. The difference is that systemd does a million things more.
What you probably should know though is that many systemd distros do not have a real fstab, the fstab is just a file which systemd uses to create mount units, which are then used during boot.
Another important piece of knowledge is what a systemd "transaction" is, that is a very unintuitive concept which you absolutely need to know if you are debugging on your init system.
7 replies →