this post was submitted on 06 Aug 2023
19 points (100.0% liked)
Operating Systems
3801 readers
1 users here now
All things operating system related, from Windows to Mac to Linux distros and the more obscure.
Subcommunity of Technology.
This community's icon was made by Aaron Schneider, under the CC-BY-NC-SA 4.0 license.
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Any short comparison between the advantages of OpenRC vs systemd?
Technically speaking, OpenRC doesn't really have any benefits in the real world, some people may claim faster boot times, but that's debatable on modern hardware. In fact objectively, it's inferior to systemd in many ways.
The real advantage though is that it's pretty simple and easy to use, understand and maintain. It follows the Unix philosophy of "do one thing, and do it right". People who like to have full understanding and fine control over their systems would prefer using OpenRC or similar init systems (with a mix-and-match of other utilities and daemons as per their need), instead of relying on a giant monolothic package like systemd which keeps getting bloated with more and more "unnecessary" features with each release.
Basically, you can say that it's a difference of ideology.
Systemd is not monolithical, it just happens that it's made of elements optimized to work well together, instead of running everything through different text parsers when "mixing and matching" random daemons.
I know, which is why I used the word "package" and not "binary". ;)
The thing is, it's neither. You can split the package into multiple pieces, you can replace each of them with whatever you want, the only difference is that instead of serializing-deserializing through plain text, the modules pass full objects so you may need to add a translation layer for the traditional tools pushing serial text.
It's more like the debate between sh and PowerShell/JSON/XML/etc. Some like to grep and cut things, some prefer to address object properties. Some like plain text logs, some prefer compressed binary object logs.
Both come with their pros and cons, but in practice either can be tinkered with and controlled to the same degree.
You called it "bloated" which makes it sound you like you did not know that.