this post was submitted on 30 Apr 2024
79 points (92.5% liked)

Linux

5186 readers
69 users here now

A community for everything relating to the linux operating system

Also check out [email protected]

Original icon base courtesy of [email protected] and The GIMP

founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 56 points 6 months ago (3 children)

This will probably lead to vocal outrage because it's Systemd rather than an alternative project coming up with the solution.

Sudo has long known to have dangerous weaknesses, but it's generally been accepted since sudo solves a bunch of other problems. If we can fix the problems sudo has, then that's a good thing. Would be nicer if we could split up some of these projects though to stop uber projects.

[–] [email protected] 20 points 6 months ago* (last edited 6 months ago) (4 children)

The outrage is that the solution is to suck the feature into an already massive project built to replace initd and has absorbed several other services (syslog, logind, crond), creating dependencies along the way.

systemd will be superceded, like pulseaudio, because it has an awful design. It'll just be a lot more work for distros to replace because of all the other services it's absorbed. Hopefully by then Poettering will have retired and stopped inflicting his software in people. The problem isn't his initial offerings; those are rather good and solve a problem well. Good enough that distros adopt it. It's just that he can't resist feature envy and bloat, and once a distro has a dependency on his solution, the bloat comes along and it's more work to switch away than just let the bloat take over.

Edit: "superseded?" Where were you when I needed you, autocorrect?

[–] FizzyOrange 22 points 6 months ago

The reason systemd absorbs other services is because it's trying to make a proper integrated OS userland. Having a load of separate components that don't really know anything about each other kiiind of works, but it's super janky.

For example Windows has supported a secure attention key sequence (ctrl-alt-del) for literal decades. Linux still doesn't support this very basic - and critical for shared computing environments like schools - feature, because it requires coordinating X11 and logind and the kernel and god knows what else and they simply aren't properly integrated.

The systemd hatred strongly reminds me of when Xorg started automating the config and you no longer needed xfree86config. You didn't need to manually write mode lines and tell X that your mouse had 3 buttons, and some people did not like that.

Yes it sounds completely insane that people wouldn't like this obvious improvement where things used to require tedious manual configuration and now they worked automatically but some people really didn't I promise! My theory is that it's because a) it made their hard won knowledge obsolete, making them less smart relatively, and b) they resented the fact that they had to go through the pain but new people wouldn't and that isn't fair.

Seems similar with systemd. I would like my laptop to sleep properly please.

Also I have actually read some of the sudo source code. There's absolutely no way that code should be SUID. Insane.

[–] [email protected] 12 points 6 months ago (1 children)

systemd will be superseded

wake me up when this happen lol

[–] [email protected] 2 points 6 months ago (2 children)

A few years ago, you'd have said the same thing about pulseaudio.

[–] [email protected] 5 points 6 months ago

pulseaudio was always shit LMAO, the same about the stupid bash scripts used for init before systemd

[–] [email protected] 1 points 6 months ago (1 children)
[–] [email protected] 7 points 6 months ago* (last edited 6 months ago) (1 children)

Yep, completely agree. That was essentially the last line of my comment.

I also wish that journald had a spec for its database, or standardised on something like Sqlite which could be interrogated with generic tooling.

[–] [email protected] 9 points 6 months ago

Agree, and I think I understood what you meant.

I can see an argument that Poettering is a net good because he does something, and it's usually pretty decent to start. Then after it's been widely adopted, some weird software megalomania takes over and it swells into a bloated carcass until someone is motivated enough to build a better, more focused, replacement.

systemd is a distro builder's dream: all you need is that and a kernel, and you've got most of the non-userspace, so you throw GNU on top and you're free to do what you really wanted to focus on: a new package manager, or a specific desktop environment, bells-and-whistles.

I really hate journald. Like, with enough passion I'm slowly converting all my systems away from systemd, just to get rid of it. It's slow and buggy, and the fact that I can't swap it out for something else is the reason I'm anti-systemd. Which is an excellent initd replacement, IMO, and if that were all it was I'd be a fan-boi. But journald stinks, for all the reasons you point out, and more.

[–] [email protected] 2 points 6 months ago (3 children)

Hopefully by then Poettering will have retired and stopped inflicting his software in people.

How did he get so much influence over most mainstream distros? Asking for a friend...

[–] [email protected] 6 points 6 months ago (1 children)

he never, distros adopted systemd because it works, no one forced them, end of the history

[–] [email protected] 2 points 6 months ago (1 children)

No, that's too rational. What leverage does he have on all of these distro maintainers? Someone needs to get to the bottom of this! /s

[–] [email protected] 2 points 6 months ago

As far as I remember Poettering worked for IBM's RedHat for some time and then the systemd lobbying vibe became stronger (with Fedora being the RedHat toy). Nowadays Poettering works for Microsoft, btw.

lmao found one answer exactly like that

[–] [email protected] 5 points 6 months ago (1 children)

Because the software he writes starts out good, and solves problems. systemd is a really nice initd replacement. Pulseaudio really improved audio on Linux. Distros adopted them because they were good.

The problem is feature creep, exactly like the OP post. For some reason, Poettering's projects can't contain themselves to a problem space. Converting init systems is a lot of work, and even if Debian had recognized the feature-creep of systemd as undesirable, there was no way they were going through all of the pain and suffering of another migration. Plus, there isn't yet a clear successor to systemd. My money is on dinit; s6 is simply too complex, and has too many commands to remember. But the point is, systemd was an excellent initd replacement, and there was a lot of adoption when that's all it was. And as it grew, distros were already committed and stuck with it (although, journald was there from the beginning, and that should have sounded warning bells).

[–] [email protected] 2 points 6 months ago

don't use the features, lol "nooo how dare them put new optionals features 😭😭"

[–] [email protected] 3 points 6 months ago

As far as I remember Poettering worked for IBM's RedHat for some time and then the systemd lobbying vibe became stronger (with Fedora being the RedHat toy). Nowadays Poettering works for Microsoft, btw.

[–] [email protected] 12 points 6 months ago (1 children)

mesa and linux is also "uber projects" i think in certains canes you can't run away from them, systemd is the same, but for privilegiated processes that need to be well integrated for security reasons

[–] [email protected] 14 points 6 months ago (2 children)

While I agree that sometimes Uber projects happen, for efficiency or security reasons, I don't think that Mesa is a good example as they have a scope (implement the OpenGL/Vulkan API) and stick to it.

Systemd is already confusing because of it referencing two different projects, and the overarching systemd projects scope just increases on a regular basis without what appears to external observers as a plan.

[–] [email protected] 7 points 6 months ago (2 children)

Is journald still binary? That alone made me turn away. I am using PCLinuxOS hence am systemd free. Stopped reading up on it.

[–] [email protected] 7 points 6 months ago* (last edited 6 months ago) (1 children)

Is journald still binary? That alone made me turn away.

Yes, unreadable with a text editor. Meaning that if you have a computer problem and journald or systemd is broken you have can't consult the log files, unless you did install rsyslog or sometimes before that. Meanwhile by default journald will eat a few GBs of disk space soon.

[–] [email protected] 2 points 6 months ago (1 children)

Compared to this what is the advantage of binary form? I thought log files being text was a no brainer.

[–] [email protected] 7 points 6 months ago (1 children)

Storage efficiency, faster queries, more metadata, unified format, etc. If your host breaks, you can download the journals and open then elsewhere. Also, there is nothing stopping you from configuring it to output to a file.

[–] [email protected] 2 points 6 months ago

Open them elsewhere is also true for text files I guess.

[–] [email protected] -2 points 6 months ago (1 children)

"on nooo i'm gonna stop using what make modern linux OS good just because they save logs in binary, istead of binary w ith .txt 😭😭" go ahead them, make your life worse

[–] [email protected] 4 points 6 months ago* (last edited 6 months ago) (1 children)

“on nooo i’m gonna stop using what make modern linux OS good just because they save logs in binary, istead of binary w ith .txt 😭😭” go ahead them, make your life worse

😒

One can keep on using systemd and complain about journald and install rsyslogd and then you'd have the journalctl -f command to impress your Linux noob friends ;-) and /var/log/syslog when there's trouble when journald would be dead.

[–] [email protected] 1 points 6 months ago

if you can't access journald you have a bigger problem than crying about it's binary file format, but ok keep needing to parse every fucking log using grep and taking 30 second to find anything meaningful if you hate yourself that much

[–] [email protected] 2 points 6 months ago

systemd is a group of projects, they can create as much projects inside the name systemd tho

[–] [email protected] 1 points 6 months ago

I just want Sudo registered to a hardware key. No sudo for you unless you plug in your key.

Let’s get back to the old hacker movies where burglary was involved.