in theory systemd is faster because it can do things in parallel
steady hand and a magnetized needle is all I need. kernel is bloat
I'm sure this post isn't going to be controversial at all lol
After over a decade using systemd in arch and Debian, I never had any direct issues with it. However, I never truly got my head around it or got comfortable with how it functioned. I recently swapped arch for void which uses runit, and after over a month using it I to an amazed both how clean and simple it is, how everything just works, how easy to interact and use runit is and am blown away by boot and shutdown times. My arch / systemd setup was heavily optimised for boot, and I thought was quick, but runit starts in about 4 seconds and shutdown is about 2 seconds.
Systemd has been putting a lot of effort into eliminating the need for SUID binaries with run0 and polkit integrations, so I'm curious if other init systems are doing anything similar.
Use what works for you.
Develop what scratches your itch.
Don't tell OSS devs who are volunteering unpaid labor what they should do for you.
If you want a solution that's non-systemd go for it. If it doesn't exist make it or pay someone to do so. Write from scratch or fork a project and get to work. That's the way of the Bazaar.
I'll be in my unenlightened "things work for me good enough" Linux world using what works. Systemd is fine and rarely gives me problems. Actually, I'm not even sure I can remember any.
Huge thank you's to the devs who make this all possible. You rock!
Systemd is developed primarily by paid developers.
I think that is a good thing, isn't it?
Of course it is, I was just addressing the part about "unpaid volunteers". I think it's fair game to criticize a corporation throwing their weight around to push their tools on the ecosystem.
Its built antithetically to the unix principles, it uses binlogs, its slow and its a big ol' bloated mess on low-memory embedded devices, and seemingly is creeping into the whole system.
Also the original author has since fucked off to microslop so I don't care what he thinks or does.
It, as a project, also bent the fucking knee.
Oh hey it's the same nonsense people have been saying for a decade now.
First of all, Linux is not Unix, and Unix principles were developed in like the fuckin 80s when what a computer is and does was different from what it is and does today. I'm betting you also use other software that doesn't follow the 'Unix' philosophy all the damn time, like, I dunno, the browser you used to post this nonsense. It was a guiding principle, not meant to be a dogmatic religious ideology. Also it not being the best choice for low memory embedded devices doesn't mean anything. It was designed for the desktop. These are very different platforms with very different needs. That's like complaining that the wheels on my car don't let it fly.
Also, bent the knee to who?
You can get fucked in this thread too.
Really? Okay, so curl. You use it everyday. How's that using 'unix' principles?
You're just parroting the same old tired arguments.
Curl does exactly one thing and it does it very well.
Systemd aspires to do all the things and does nothing very well.
careful! advocating against systemd in this community will get you branded for heresy. lol
That old load of bullshit again. You could swap out the logs if you want a shittier, less searchable (but text based) logging system. The rest can be countered in a similarly conclusive way, and has been repeatedly in the last decade or so.
Inform yourself before copy-pasting misinformation and misleading propaganda.
less searchable
text based
I don't know how you reach this conclusion, the format has been standardized for decades.
Can you add more fields? Is there no ambiguity in context switching? No breakage around whitespace?
If so, sure, that's fine then.
They both get ingested into Splunk (or whatever tool is used by the company) in any context where this would be a problem. It's one of those things that in practice has never been a problem in my experience.
By the point/scale that context switching, log injection (forging) whitespace is a concern, I'm not piping shell commands. It's over engineered.
Nah, the issue is accidental corruption, different parsers doing things differently, stuff like that. Happens often with “mostly text but actually some structured data also” formats, doesn't happen with formats that have well specified framing.
Boot speed is meaningless. Having to almost never reboot is everything.
True, but for some reason there are a bunch of people who shutdown their PC every time they're done using it and unless you're using a laptop, I have never understood that. Screen lock + monitor sleep is the way.
Sleep is your friend.
Sleep doesn't work well in some environments, like right now my current one using AMD+AMD hardware on EndeavourOS. Therefore I do boot. And couldn't care less for 10 seconds faster or slower boot times.
Lol, I meant this to be a tongue-in-cheek saying
Oh... :D But you were right.
I've never had systemd break either
I have. Never had your machine just sit there and refuse to boot because a network share is down? Or because the wifi isn't connected yet? Or because its waiting on some nebulous thing until timeout..
Never had to crawl through journalctl to diagnose things and wanted to claw your own eyes out in frustration?
You are a fortunate person.
Ever really destroyed your server because the it needed were available? I have. It was so much worse than a boot process that froze.
If Systemd was pausing due to a network share being down, it's only because I (or you) told it to do exactly that. There are lots of good reasons to delay the boot process until all drives the system expects to be there are actually there or the network is up. Cleaning up the mess that happens when the system does not check these kinds of things at boot is so much worse. It's never really some nebulous thing. Like it or not, intentional or not, the machine is doing exactly what you asked it to do and a delayed boot or a boot halted until you can solve the real problem is almost always better (or at least safer) than the alternatives. I've experienced all the things you've mentioned, dealt with each of those issues, and it was so much more of a hassle to diagnose before Systemd.
If you are having those issues with booting maybe it is because you configured your network share incorrectly? If you are waiting on shutdown timeouts for something then just go edit the timeout. systemctl edit <stuck thing>.
Typically when I crawl through journald it is to diagnose a problem with a specific application. Actually, the fact that those logs are easily accessible in a centralized place with easy to understand commands to access them is a reason why systemd (or more specifically systemd-journald) is so great.
The only times that I have had major issues like that was either because (A) I misconfigured something or (B) a package came misconfigured.
My system once refused to boot, because I deleted a partition and didn't remove it from fstab. Thankfully it was an easy and fast fix but I would expect it to just boot and give an error.
That's why I always put a nofail option for all my drives except the boot drive
Right, that happened to me too.
And it's a problem 100% unrelated to systemd, so I wouldn't count it here.
Honestly for desktop usage it doesn't really matter. All inits have their idiosyncrasies ("A stop job is running for Session"/logging hell on openrc/etc). But for managing a fleet of bare-metal servers I find systemd to be the best, most polished one out of the lot.
Linux
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