Live data from Hacker News

Flatpak Will Depend on Systemd

osnews.com

121–130 of 141 posts

Re: Flatpak Will Depend on Systemd

#121
This is bad news, and exactly the type of viral problem criticics of systemd warned about. Systemd advocates always downplay the issue, but here we are.

I love using Alpine, and for the few packages that don't have a musl version available (e.g. Steam), flatpak has been a great way to run them.

Hopefully someone will maintain a fork.

Re: Flatpak Will Depend on Systemd

#122

Earlier quoted context omitted.

systemd-appd doesn't exist yet.

> systemd-appd doesn't exist yet. This avoids the question, apparently because the design of this part makes it certain that when it does come into existence, it will depend on the rest of systemd. The problem with systemd is that it's purposefully designed to be a viral monolith, without this it's got no purpose. We've been with this long enough to pretend otherwise.

It's not a monolith, which is obviously true because there is no distribution that ships all of it turned on by default. Fedora comes close, but most other distros pick and choose which parts of systemd to use.

systemd-appd will likely depend on some but not all of the rest of the systemd system.

But the original question is beside the point -- systemd-appd will provide an API that can be implemented by others. I doubt the questioner actually cares much about how much of systemd systemd-appd pulls in, they want none of it.

Re: Flatpak Will Depend on Systemd

#123

Earlier quoted context omitted.

systemd-appd doesn't exist yet.

> systemd-appd doesn't exist yet. This avoids the question, apparently because the design of this part makes it certain that when it does come into existence, it will depend on the rest of systemd. The problem with systemd is that it's purposefully designed to be a viral monolith, without this it's got no purpose. We've been with this long enough to pretend otherwise.

> The problem with systemd is that it's purposefully designed to be a viral monolith

Is it though?

Systemd is a project, not just a piece of software. It's got a lot of libraries that are reused across the different components that the systemd project ships. It's not that different from how most C/C++ projects have their own standard library built on top of stdlib/boost/etc. Any new "systemd project" could be done as a completely standalone piece of software, but it would mean recreating a lot of the libraries that already exist.

The biggest piece of coupling to systemd isn't really specifically systemd itself but how systems rely on how systemd does certain things, namely, cgroups. No one wants to manage cgroups themselves, so they use systemd to start services and put them into the cgroup hierarchy, etc. This is exactly one reason desktop environments "rely on systemd" (among others).

Why does everyone want to use cgroups (and thus systemd)? Because it makes managing groups of processes easier, which is directly tied to handling user sessions, which as it turns out, is something most applications want, since typically they deal with users!

Now, systemd's own sub-projects, (eg appd), are likely to be yet another consumer of systemd for similar reasons.

Using systemd, and building on top of it makes it much easier to implement features without having to do everything yourself.

Re: Flatpak Will Depend on Systemd

#124

As a Linux normie, I've never understood why systemd is/was so much opinioned about.

Because systemd confuses a lot of things by having two projects with the same name. Systemd the init service is excellent. Systemd the catch all for trying to rewrite all services to come up with a baseline version of everything is a strange and NIH project. They would have been far better off politically by coming up with a spec and seeing if they could submit patches to get the current services to use the APIs they…

> Systemd the init service is excellent.

When it's not actively going against decades of convention and breaking solid programs everyone has used forever: https://superuser.com/questions/1372963/how-do-i-keep-system...

(screen was also affected, not just tmux)

I'm not sure if it was linked from there, but somewhere in the discussions the systemd devs' recommended fix was for screen/tmux/anything else affected to add some systemd integration for their new API.

As far as I'm aware the complaints about this stopped only because distros override the setting, while it's still the default for stock systemd.

Re: Flatpak Will Depend on Systemd

#125
post #59

Earlier quoted context omitted.

Okay so back in ~2000 the audio system in Linux was ALSA and it kinda sucked so along come a guy named Lennart Poettering who wrote pulseaudio which improved things in a lot of ways but also kinda constantly didn't work. Poettering in those years constantly blamed everything on other software in the stack and became kinda wildly disliked. We all had to use pulseaudio though because everything important decided to int…

Well, for ALSA and pulseaudio, the latter more or less just surfaced the tons of bugs in the underlying, at the time very shitty audio drivers. Remember, only pulseaudio is a sound server, so ALSA wasn't even exercising many of the more "advanced" features, and drivers were only supporting the most basic stuff.

Considering pipewire was a drop-in replacement for pulseaudio with (almost*) full compatibility and none of the stability issues (you can even use the pulseaudio commands to control it), the problem was definitely in the pulseaudio code.

* I do remember reading there was one feature they intentionally dropped because it was extremely rarely useful and could be handled in a different way, but don't remember what it was.

Re: Flatpak Will Depend on Systemd

#127

As a Linux normie, I've never understood why systemd is/was so much opinioned about.

I don't know recently, but at the time that systemd was shoved through our throat, you could look at the source code and it was a giant ball of horse shit. Following bad practices, hard coding things, ... With absolutely strong tendency to not give a shit about feedbacks from others, and supporting anything except the highway case that is the only one that they cared about.

And as anyone could have expected, systemd broke a lot of things, and sometimes very badly with their shitty code. Like this time that they wiped the nvram memory of laptop transforming them into bricks...

Re: Flatpak Will Depend on Systemd

#128
Kind of another proof that Systemd is a cancer... Little by little, all parts of the stack have to switch to have strong dependencies to it. All of that for things totally unrelated to the feature of "init system".

And just in the end, we will finish with the same kind of monolith that we can experience with Windows.

Re: Flatpak Will Depend on Systemd

#129
post #94
post #79

Earlier quoted context omitted.

You’re 4 years too late [1]. And as per Wikipedia he left this year. [1] https://www.phoronix.com/news/Systemd-Creator-Microsoft

Looks like I like my Poettering news like my gaming: https://xkcd.com/606/

I do the same as the comic

Re: Flatpak Will Depend on Systemd

#130
post #124

Earlier quoted context omitted.

Because systemd confuses a lot of things by having two projects with the same name. Systemd the init service is excellent. Systemd the catch all for trying to rewrite all services to come up with a baseline version of everything is a strange and NIH project. They would have been far better off politically by coming up with a spec and seeing if they could submit patches to get the current services to use the APIs they…

> Systemd the init service is excellent. When it's not actively going against decades of convention and breaking solid programs everyone has used forever: https://superuser.com/questions/1372963/how-do-i-keep-system... (screen was also affected, not just tmux) I'm not sure if it was linked from there, but somewhere in the discussions the systemd devs' recommended fix was for screen/tmux/anything else affected to add…

I've been impacted by this particular "issue" and while it's changing the way "decades of convention" it's not really a bad thing imo. Running things via screen and tmux as a solution to background tasks has always been a huge hack imo. Not only that but the alternative approaches with nohup and disown also have their own issues. Imo it's actually pretty reasonable to need to work work the OS service manager to run background tasks, even with tmux and screen.
Post reply on HN