Welcome to Incremental Social! Learn more about this project here!
Check out lemmyverse to find more communities to join from here!

Simon ,

Cause mine still runs systemctl

m4 ,

Gentoo comes with OpenRC as default so I roll with it. And it's simple and it works.

Plus the idea of having to randomly wait for some obscure stuff to block for a minute the boot/shutdown is not my thing.

gentooer ,

The cool thing with Gentoo is that you can just decide one day to switch to systemd and it's about as easy as changing your profile and updating your system (and maybe recompiling your kernel)

pete_the_cat ,

You have to compile everything though, even from a stage 2 installation. I haven't attempted one for like 15 years, but I imagine it's still not quick.

redcalcium ,
pete_the_cat ,

Dafuq?

That goes against everything I know about Gentoo....

Samueru ,

They are also shipping x86-64 v3 packages. Something that on arch you still rely on 3rd party repos.

hornedfiend ,

or you can use cachyos. running V3 packages on vanilla arch makes it more prone to breakage.

Hawk , (edited )

It’s not too bad. I very rarely recompile everything from scratch and after I do that I just create a snapshot with btrfs. Are usually then chroot into that snapshot and compile everything natively overnight for that 5% Theoretical performance boost.

Most recently I took that snapshot and then used btrfs send to adapt it to a laptop as well and that worked quite well actually.

Everything I install is typically through flatpack or distro box just like silver blue. This means install times are pretty much okay but I have a huge amount of flexibility in the way the system works

Also heaps of binary packages as well, so that’s not too bad. The binary packages much slower than both arch and Alpine but not a lot slower than for example Fedora.

pete_the_cat ,

I just skip all of that and go with the next best thing, Arch 😉

SeekPie ,

I've been using linux for ~2 years now and only know one of these (GUI installer), anyone smarter than me can explain what they are?

3w0 ,

Systemd is an init system (the first process that manages/runs everything else). However it does far more than a traditional init system; arguably it's tendrils are all over mainstream Linux now.

GLIBC is the GNU Project's implementation of the C standard library. It is a wrapper around system calls of the kernel for application use.

MrPenguinSky ,

To be fair, I don't think systemd is classified as just an init system anymore. It's a software suite that just "conveniently" happened to have an init system included.

3w0 ,

I agree, some of us just want a simple init system that isn't millions of lines of code and to be able to pick our own parts to use in a UNIXY fashion - If it ain't broke why fix it...

For example on my alpine system I have acpid, crond, dhcpcd, openntpd, seatd, udev, wpa_supplicant as services that systemd would replace.

r00ty ,
@r00ty@kbin.life avatar

People that complain about people not running systemd. Why does it bother you so much? :P

Waffelson OP ,

I'm wondering why people do things that don't seem profitable from my point of view

FrederikNJS ,

Are you profiting from running systemd?

Waffelson OP ,

Does absence of problems count?

I'm not sure if it was related to systemd, but when I used void linux I had a strange sound problem that I never had on systemd distros,
when I tried to change the volume level, it returned to its original level,
I tried to find solution but I didn't found because void linux isn't very popular distro, and probably only I had this problem

3w0 ,

This doesn't sound like a non-systemd problem, more likely something related to Void.

s_s , (edited )

Does Alpine Linux count as "running"?

SystemD just isn't necessary for every Linux install.

Linux has thousands of uses that aren't "running on bare metal on my customized gaming rig at my computer desk to play steam games and pretend to look like Mr. Robot"

3w0 ,

Yep alpine is lovely. Minimal, no bullshit.

notabot ,

SysV init works more reliably, is smaller, does just one job and is much, much better architected.

SystemD tends to fail if you do anything out of the ordinary, is massively bloated, has it's claws into far too many parts of the system, is IMHO poorly architected, the many of the individual components are poorly designed and the whole thing is a huge, and utterly unnecessary, attack surface.

SystemD is probably adaquate if you just want to use your machine in the most basic way, but as soon as you try to do anything beyond that you start running into the rough edges and bad design decisions that it's plagued with.

jrgd ,
@jrgd@lemm.ee avatar

Could you elaborate on this? As someone who uses SystemD extensively on workstations and servers for spawning and managing both system-level and user-level services, I do find minimal issues overall with SystemD minus some certain functionalities such as socket spawning/respawning.

Of course some of default SystemD's housekeeping services do suck and I replace them with others. I would like to see the ability to just remove those services outright from my systems as separate packages since they do remain useless, but it isn't that big of an issue.

Max_P ,
@Max_P@lemmy.max-p.me avatar

I also use systemd a lot and it baffles me people can claim sysvinit was more reliable with a straight face.

Half the time I restarted MySQL in the sysvinit days (pre-upstart as well), it would fail to stop it then try to start a new instance of it with the old one still running and the only way to fix it was to manually stop the other instance.

Process management is like the one thing systemd really does well thanks to cgroups, it's impossible for it to lose track of processes because the process lied about its pidfile.

notabot ,

SysV init does one job, it runs a set of scripts in an admin defined order, the init portion of SystemD attempts to solve a dependency graph at boot time and execute the startup scripts (units) in the order it devines from that. The big problems I've had around that have been services silently failing to start because it failed to resolve the ordering, and the difficulty of inserting a new unit into the ordering in a specific place. It's doable if there happens to be a target at the point you want, but if not you can't really do it as the existing, and any new, services all sequenced on the existing target. With SysV, of course, setting the service start order is trivial.

The thing is, if SystemD was just an init system it wouldn't be as bad, and has some useful ideas, but it tries to replace huge swathes of the system. As you say, some, and I'd say most, of the default housekeeping services suck, and you need to replace them. Unfortunately this then breaks the much vaunted integration of those services. Leaving them on the system isn't a great plan as it just leaves the extra attack surface. So now you need to contemplate repackaging it to exclude the stuff you don't need, which is a huge pain, and makes keeping up-to-date a big job. You've also got to worry about breaking dependencies from other packages.

Probably the biggest issue though is the huge attack surface SystemD exposes on your system. We've just seen an example of how that can be taken advantage of, with malware in a library way down the dependency chain from the system library that gets jammed into all sorts of things. I understand there is an effort underway to reduce those dependencies, but it'll always be worse than simply not doing that in the first place.

The architectural and design issues are to do with the way the different parts are so tightly linked when they have no rational reason for being, the level of complexity introduced to core services and the incoherence of some of the choices around behavior. A recent bugbear was the automounter. It works most of the time, but if a mount unit fails it just gives access to the mountpoint, when by definition you obviously and explicitly didn't want that. It also has a nasty habit of marking the unit failed, so future attempts also get bypassed until you reset it or have a recovery unit to do that.

Anyway this turned into a wall of text, and its late, so I'm going to stop there, I hope it's reasonable coherent.

pete_the_cat ,

Systemd has a larger attack surface area since it touches more things, even though you can assign user accounts and such. Just the simple fact that it does more things than simply executing a shell script (like everything before systemd does) makes it more vulnerable.

RecluseRamble ,

Systemd has a larger attack surface area since it touches more things

That's what the critics always say but are the things it manages unnecessary? If not, you'd use other tools for that but the overall attack surface would be the same.

timbuck2themoon ,

Yes that's why the top enterprise distros all avoid systemd.

lud ,

Such as?

Black616Angel ,

I think he is talking about the /s distro made by sarcasm inc.

timbuck2themoon ,

Bingo.

Presi300 ,
@Presi300@lemmy.world avatar

Makes me feel smarter and my system boots slightly faster... yeah

pete_the_cat ,

I used to configure and compile my own kernels in attempt to make them leaner and faster.... They always ended up slower 🤦‍♂️

pete_the_cat ,

My initial learning was in 2004 with Ubuntu, so Upstart and I also messed with FreeBSD, so I was familiar with the RC system. Systemd took me a bit to wrap my head around, and I don't mind it. It's good to know both.

Presi300 ,
@Presi300@lemmy.world avatar

I use gentoo, so I feel that

SexualPolytope ,
@SexualPolytope@lemmy.sdf.org avatar

Totally valid reason lol

pastermil ,

Dunno...

Wanna ask my OpenWRT router that?

Also, is Android not Linux anymore?

MyNamesNotRobert ,

What actually are the advantages of system rc over systemd?

TootSweet ,

Not having to go on an hour-long googling adventure to figure out how to write a simple init script. If you know bash, that's all you need if you're running (for instance) OpenRC. Systemd services are a mishmash of obscure setting names.

pete_the_cat ,

Systemd is definitely more of a pain in the ass.

pete_the_cat ,

It's easier to manage/secure since it's essentially just shell scripts. Systemd touches a lot of things and makes the initialization process more complex, which introduces more security vectors.

mea_rah ,

It's easier to manage/secure since it's essentially just shell scripts

I love the fact that I can't tell whether this is irony or not.

cley_faye ,

I like being able to see my logs without waiting 20 minutes, knowing who started what without playing cat and mouse with random processes and being able to change something without going through multiple levels of merged configurations files from three different sources.

I also enjoy tools that were developed over decades and not rewritten from scratch reintroducing long-solved issues.

Hobbes_Dent ,

Because they can.

Solely_a_Catt ,
@Solely_a_Catt@programming.dev avatar

Me using runit, I agree

TheBat ,
@TheBat@lemmy.world avatar

For the good of all of us

Except the ones who are dead

Okami_No_Rei ,
@Okami_No_Rei@lemmy.world avatar

But there's no sense crying after every mistake.

You just keep on trying 'til you run out of cake.

Water_Melon_boy ,

And the science gets done, and you made a neat distro.

For the people who are using linux.

3w0 , (edited )

Systemd is bloat, was somewhat forced upon Linux, took over critical projects (udev et al), huge attack surface, shit tooling (binary logs), not really modular in the sense of portability, not just an init system (behemoth).

BCsven , (edited )

Give this systemd lecture a watch it explains the
why https://www.youtube.com/watch?v=o_AIw9bGogo

AMDIsOurLord ,

I can actually configure and understand everything the UNIX way, which is actually important to me, because I do some wacky shit with my system + I'm a developer, I physically need to understand my system so I can debug it when it starts to eat shit

Although, seriously, if you're not a developer and don't intend on doing something specific with your system, just pick a mainstream distro and roll. I install Mint MATE or Ubuntu on my secondary systems too.

suzune ,
@suzune@ani.social avatar

To keep the system simple and transparent.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • random
  • linuxmemes@lemmy.world
  • incremental_games
  • meta
  • All magazines