steady hand and a magnetized needle is all I need. kernel is bloat
in theory systemd is faster because it can do things in parallel
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.
Boot speed is meaningless. Having to almost never reboot is everything.
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.
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.
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
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.
for script in $(find /etc/init/start); do
exec $script &
done
sleep
Undoubtedly the best init system that exists. No fluff, just starts services.
Why do you need services at all? Just start each program when you need it. Shell is bloat.
Or just set init=/bin/sh.
Yeah but lacks some functionality. I prefer /bin/emacs so I can edit text as well as run commands. EXWM is bloat.
You only need programs if you're unhappy with the current state of your life. Delete computer, become enlightened.
Systemd is mile ahead of the others, thing is that solves problems that you most likely don’t have or even know that exist. To boot a regular machine or small server pretty much any init system is good.
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