180
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
this post was submitted on 20 Aug 2023
180 points (95.9% liked)
Linux
48179 readers
993 users here now
From Wikipedia, the free encyclopedia
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.
Rules
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.
- No misinformation
- No NSFW content
- No hate speech, bigotry, etc
Related Communities
Community icon by Alpár-Etele Méder, licensed under CC BY 3.0
founded 5 years ago
MODERATORS
Quit your bullshit, nothing was ever forced on you. This is Linux, free software and all that, if you're not happy then use a systemd-less distro and stop complaining about meaningless points. SystemD works very well for me (and the vast majority of the Linux community) and is very easy to use and understand
This. If you want to go back to the days without systemd and writing invit scripts manually, knock yourselves out. The rest of us will continue to live in the modern world of systemd, pulse audio (and now pipe wire).
Udev was changed to depend on systemd. No good reason for it. So it practically was forced. You can lie all you want, it won't change reality. SystemD was hyped up by comparing it with the worst implementation of sysV, at a time when no major distro other then fedora even used sysV. And that is not even the tip of the pile of dishonesty.
Just by saying that it is no better then alternatives of the time will get ignorant people like you to yell. That is how strong the hype was around it. How can you even talk about free software when RH can take a core component and make it hard dependant on whatever they want. Just like bluetooth has a hard dependency on PA. I'm also free to say something sucks, just like you are free to lick their balls.
Use Devuan and quit whining.
It always was about feelings with you fanboys. Pathetic.
PS I wouldn't mind using systemD, it's the same as every other. Functionally absolutely the same.
As someone currently actively supporting two commercial products, one using OpenRC and one using systemd to meet different requirements for different projects
Makes it blatantly obvious you have no idea what you’re saying
As someone who wrote an init system for fun and knows how udev and practically everything else associated with bringing a modern computer to a fully functional state (including network mounts, if that is your nitpick) works, i can not know what you are nitpicking about without you saying it. Not that someone who is actively supporting two commercial products to meet different requirements would have any idea what i am saying.
PS It's all simple really, just that it seems magic to people without curiosity.
Sure - it’s primarily the way systemd uses cgroups
For example, systemd’s use of cgroups for process monitoring makes it trivial to support setting resource limits for us
One of the major issues we’re having with systemd, and the reason we’re using OpenRC on a different project, is the way Before and After with targets still cause all the services to start at the same time, causing resource contention
An alternative we’ve used once is to create a special target for the services that had to start early, even if the entire boot took longer, and use a process to then request new targets be started by systemd
This project we found it simpler to use OpenRC, though
Calling them “functionally the same” without taking into account how process monitoring works on different init systems is disingenuous
Process monitoring, in the basic sense, is seeing if a process is running. You mean how they handle dependency trees/graphs ? From what i just read sysD targets are groups that can have other groups in them (aka inherit, aka "services", aka compose). I wonder if that is the core of the problem. Not that i care, that's the hole they dug for themselves when they insisted only pid EINS can orchestrate cgroups (didn't use to be).
Either way, in the overwhelming majority of use cases they are practically the same.
Bdw, i didn't downvote you. I reserve it only for the most irrational fans, aka parroting fanboys.
One of the big issues with process monitoring, in the general sense, is how PID 1 checks on processes
The cgroups usage lets them make use of a very powerful Linux-specific feature. Some competitors such as Upstart tried to use ptrace for this, but that causes services to run slower
“Is a process running” I think is a harder question than you realize. systemd also offers the ability to ask “is a process running correctly” through watchdogs, and “is a process using too much memory” or “is a process using too much CPU” and offer corrective action if they are
The systemd.target issues I mention are related to different design goals. Systemd tries to start as many services as possible at once, but we need some services up within 1 second, and the rest can take longer
One option I offered was a modification to systemd so that targets could handle Before/After during our design, but the maintenance of porting it over for each update versus using OpenRC was decided to be too much effort