668
submitted 10 months ago by frippa@lemmy.ml to c/linuxmemes@lemmy.world

I use plasma, BTW

you are viewing a single comment's thread
view the rest of the comments
[-] ale@lemmy.world 77 points 10 months ago

Can someone persuade me to not use systemd without using the word 'bloat?'

[-] zephr_c@lemm.ee 45 points 10 months ago

Use systemd if you want. It's not perfect, but nothing is. There are certainly good reasons to use systemd, including, but not limited to, that it's the default on most distros and you don't want to mess with init systems. My only complaint is that too much software and documentation is written with the expectation that you have systemd for no good reason, which makes it harder to leave, which makes more people stick with it, which is an excuse to neglect support for other init systems even more.

[-] Kusimulkku@lemm.ee 35 points 10 months ago

for no good reason

I think the reason is that almost everyone uses systemd

[-] laurelraven@lemmy.blahaj.zone 12 points 10 months ago
[-] RobertOwnageJunior@lemmy.world 3 points 10 months ago

Circles are superior geometric forms. Peak design!

[-] WhiskyTangoFoxtrot@lemmy.world 3 points 10 months ago
[-] PipedLinkBot@feddit.rocks 1 points 10 months ago

Here is an alternative Piped link(s):

https://piped.video/thOifuHs6eY

Piped is a privacy-respecting open-source alternative frontend to YouTube.

I'm open-source; check me out at GitHub.

[-] Kusimulkku@lemm.ee 1 points 10 months ago

I'm not sure if this counts as reasoning, more like they just feed each other, with all starting from the original lack of documentation

[-] kuberoot@discuss.tchncs.de 4 points 10 months ago

That just sounds like a reason to not bother supporting Linux, when Windows is so much more popular

[-] Kusimulkku@lemm.ee 1 points 10 months ago

Yes that's what lots of companies/people do

[-] zephr_c@lemm.ee 2 points 10 months ago

Yeah. That was my point. It's a self fulfilling cycle of people using it because it's all that's supported, and it being all that's supported because people use it. I think that is a problem. That's the same reason most software is for Windows. I don't think that's a good reason.

[-] ale@lemmy.world 13 points 10 months ago

My question was just curiosity. If there's a good reason to switch to something else, I'd like to know, you know?

[-] thisbenzingring@lemmy.sdf.org 13 points 10 months ago

You get a lot more transparency with the other init systems. Systemd is a big system that does lots of things and it's not always possible to see everything it's doing, because it's doing a lot.

[-] laurelraven@lemmy.blahaj.zone 8 points 10 months ago

It also likes to hide things behind port redirections and binary storage of things that have always been text before so you pretty much have to use their tools to even read them

[-] dan@upvote.au 3 points 10 months ago

I assume there's an advantage to the binary formats though. More efficient in terms of storage size? Easier to quickly search by a particular field even in huge files? Maybe something like that. (I genuinely don't know)

[-] zephr_c@lemm.ee 4 points 10 months ago* (last edited 10 months ago)

I can actually understand what's going on with other init systems. They're basically just a list of stuff that gets run before you even log in. I do not understand everything that systemd does. I like understanding what my computer is doing. Most people don't care about that, and there's nothing wrong with that, but systemd is not what I want. I feel forced into using it anyway though, because it can be a lot of work to avoid it, and there's no reason for that beyond the fact that not enough people care.

I get it. I'm in a small niche within a small niche. Nobody owes me an easy alternative to systemd. I'd still like one though.

[-] MigratingtoLemmy@lemmy.world 3 points 10 months ago

Exactly. Other systems are clearly doing one thing: init. Systemd wants to do everything

[-] MigratingtoLemmy@lemmy.world 2 points 10 months ago

Agreed. Was just looking at Podman's documentation the other day, and even though it'll run on distributions without systemd, for a second I thought cgroups might not even work without systemd. Glad that's not the case though, but I'm predicting a few problems down the road simply because I plan to use Alpine.

[-] Limitless_screaming@kbin.social 23 points 10 months ago

If you try to switch a distro that's already using Systemd to some other init system, you'll have so many broken things to fix!

[-] dan@upvote.au 3 points 10 months ago* (last edited 10 months ago)

Debian lets you switch and AFAIK it mostly works fine. They provide both sysvinit and runit as alternatives. Packages are only required to provide systemd units now, however a lot of core packages still provide sysvinit scripts, and Debian provides a package orphan-sysvinit-scripts that contains all the legacy sysvinit scripts that package maintianers have chosen to remove from their packages.

That's just in the official repository, of course. Third-party repos can do whatever they want.

[-] ale@lemmy.world 2 points 10 months ago

Ah ok. Is that different for runit or the other typical alternatives?

[-] laurelraven@lemmy.blahaj.zone 6 points 10 months ago

None of the others are as deeply integrated into everything as systemd, they pretty much just handle starting things up so dropping in a replacement should be fairly straightforward. At least, it was until everything switched to systemd. Which is probably my biggest issue with it: that it integrates to the point you can't replace it anymore.

[-] Limitless_screaming@kbin.social 5 points 10 months ago

Honestly I don't know. I just know that desktop environments and a lot of other packages have hard dependencies on Systemd, at least on Arch and Debian based systems. Those packages include: base, flatpak, polkit, xdg-desktop-portals, and vulkan-intel. So yeah, it's nearly impossible to not break anything.

[-] Limitless_screaming@kbin.social 11 points 10 months ago

If you actually want a reason, then most people experience faster boot up times using runit instead of Systemd. I haven't tried it yet though.

[-] ares35@kbin.social 15 points 10 months ago

maybe if you ran systemd you wouldn't have to boot up so often that actual boot times mattered that much.

[-] aberrate_junior_beatnik@lemmy.world 14 points 10 months ago

I'm curious if there's any quantitative evidence to show this.

[-] BaroqueInMind@kbin.social 12 points 10 months ago

There is none. It's all conjecture or circumstantial.

[-] bdonvr@thelemmy.club 5 points 10 months ago

I think it would be pretty easy to qualitatively test this

[-] JustEnoughDucks@feddit.nl 2 points 10 months ago* (last edited 10 months ago)

But then it wouldn't fit the "systemd = devil" narrative if it was actually tested and found out to be false lol

[-] HuntressHimbo@lemm.ee 1 points 10 months ago

I think it would not actually be easy to test this. The massive combinations of hardware and software configurations in use out in the world make it nearly impossible to conclusively say one way or the other.

For instance consider the hypothetical of a service with a bug that increases its startup in certain circumstances. If Systemd triggered this bug and OpenRC didn't because of some default setting in each, perhaps a timeout setting, would you say OpenRC is conclusively better at start up time? Not really, they just got lucky that their default bypassed someone elses bug. Just off the top of my head other things that would probably cause hell in comparisons are disk access speeds, RAM bottlenecks, network load, CPU and GPU temp and performance etc.

You can perhaps test for specific use cases and sets of services, but I think this is more useful for improving each init system than it is as a comparison between them.

[-] MooseBoys@lemmy.world 2 points 10 months ago

Is boot time that much of an issue besides for arbitrary competitive reasons? I haven’t tried any optimizations and boot time on my headless server is less than two seconds.

[-] pascal@lemm.ee 1 points 10 months ago

It comes in handy for people who wants to run Linux on their notebook without being an engineer and look at Mac users with envy because of their "ready to work" time on their macbooks of 1-2 seconds after they open the lid.

On a server, it solves nothing.

[-] ObviouslyNotBanana@lemmy.world 1 points 10 months ago

I maybe reboot my computer once a month. Why care?

[-] tetris11@lemmy.ml 9 points 10 months ago

Fun. You can dick around with your init scripts without having to worry about the right triggers or spawn classes or anything. Your system is hackable with bash. Systemd: here are a list of approved keywords, don't insert that there, why are using cron when you can use me?

[-] optimal@lemmy.blahaj.zone 5 points 10 months ago

oh, you haven't seen nothing yet. you know the lisp-y, hackable goodness you get in emacs? what if an init system was that hackable, and configured with a lisp? go give GNU shepherd a try.

[-] tetris11@lemmy.ml 2 points 10 months ago

I'm an avid GUIX user, is Shepherd already incorporated into it?

[-] cley_faye@lemmy.world 5 points 10 months ago

Systemd, as a replacement init system, is fine-ish. It's sometimes slow and when it decides a service is lost there's not much to do aside from killing the thing and restarting it.

Systemd, the full blown ecosystem that wants to replace literally everything by systemd-thesamethingasbeforebutfromscratch however, invites scepticism, especially when there are no particular flaws in the existing versions of things. DNS resolution, DHCP clients, NTP sync, etc. worked perfectly well.

[-] ale@lemmy.world 4 points 10 months ago

From reading all of these comments, I think I have to agree. It seems like systemd as "the tool" is ok (I know there's some argument there too), but systemd as the project and ecosystem seems to go a bit against the soul of GNU and Unix.

[-] corsicanguppy@lemmy.ca 4 points 10 months ago

"building codes."

It's like the rules systemd breaks except more noticeable when people have fucked around and now find out.

[-] onlinepersona@programming.dev 3 points 10 months ago* (last edited 10 months ago)
[-] HuntressHimbo@lemm.ee 3 points 10 months ago

Perhaps the most asinine reason I can give, I really like the color scheme and log design used in OpenRC, makes for a very nice init scroll of text

[-] ale@lemmy.world 3 points 10 months ago

That's a great reason! Why use a computer at all if you can't look cool while you use it?

[-] Neon@lemmy.world 3 points 10 months ago* (last edited 10 months ago)

Easy:

Less Code in Kernelspace means safer OS

I want a Mikrokernel Linux. Maybe RedoxOS will be suitable.

[-] owatnext@lemmy.world 0 points 10 months ago

Yeah! So it's... uhh... overloaded...? There! Didn't use bloat!

this post was submitted on 12 Nov 2023
668 points (94.5% liked)

linuxmemes

20753 readers
1420 users here now

I use Arch btw


Sister communities:

Community rules

  1. Follow the site-wide rules and code of conduct
  2. Be civil
  3. Post Linux-related content
  4. No recent reposts

Please report posts and comments that break these rules!

founded 1 year ago
MODERATORS