Live data from Hacker News

Introducing stronger dependencies on systemd

blogs.gnome.org

151–160 of 179 posts

Re: Introducing stronger dependencies on systemd

#151
post #97
post #85

Earlier quoted context omitted.

There's so much I disagree with in the beginning but the ending is what actually grinds my gears. You make it sound like systemd manufactured this monoculture somehow. This is also the point I've seen people throw in a comparison to some closed-source org with money to burn and questionable morals. Systemd was chosen by distros and users across different communities because it solves hard problems better than the oth…

> good tooling My completely oblique, binary logs disagree. It won because it solved problems companies with money needed solved. There is no indication that it succeeded on merit.

There are pros and con with binary logs. One isn't magically better.

The tools they have for their logs are pretty good, and its incredibly easy to disable, if you do, you will never notice a difference.

Helping engineers solve technical problems is not 'success'? Its only 'success' if open source nerds use it in their basement to run on an old sun workstation? What kind of dumb logic is that?

Why do you think Linux sees so much development?

Re: Introducing stronger dependencies on systemd

#152

Funny how it doesn't matter anymore. Gnome has been quite good for more than 10 years but nobody really care because the web browser has become the Desktop Environment. I haven't notices any change in the last 10-15 years. and power users will use i3, sway or hyprland anyway. The Gnome people create drama about irrelevant things to get attention like "the danger in theming apps", some minor UI changes or the stronger…

Gnome without extensions is pretty terrible. Missing some just basic stuff that you really can't just not have. Most distros add that stuff back in.

But then the extensions aren't stable at all, its honestly a bit of a mess.

And in terms of performance its ok, but not exactly great.

I still use Gnome but mostly just because I'm used to it and hoping Cosmic will mature.

Gnome isn't bad, but they made a lot of dumb decisions that are just unnecessary. And they have been a disaster for Wayland development.

Re: Introducing stronger dependencies on systemd

#153
post #142

Earlier quoted context omitted.

> Monocultures are bad because they eliminate competitive pressure for good design and create single points of failure that affect everyone. For a practical example of this, the XZ backdoor [1] affected liblzma which is (was?) a dependency for libsystemd, and some distributions patched OpenSSH to include libsystemd. As a result, the decision of putting journal file compression functionality directly into your init sy…

This wasn't a systemd problem— this was distro maintainers doing something stupid problem. The thing the maintainers wanted to patch into OpenSSH was systemd-notify which is the way services can tell systemd that they're ready. The protocol is literally sending the string READY=1 over a file descriptor. libsystemd contains a reference implementation but it's a protocol specifically for the reason that every service i…

Putting to much unnecessary stuff into libsystemd is something sub-optimal that they do. Its a bit lazy. But it is correct that people should link it like that.

Re: Introducing stronger dependencies on systemd

#154
post #142

Earlier quoted context omitted.

This wasn't a systemd problem— this was distro maintainers doing something stupid problem. The thing the maintainers wanted to patch into OpenSSH was systemd-notify which is the way services can tell systemd that they're ready. The protocol is literally sending the string READY=1 over a file descriptor. libsystemd contains a reference implementation but it's a protocol specifically for the reason that every service i…

Putting to much unnecessary stuff into libsystemd is something sub-optimal that they do. Its a bit lazy. But it is correct that people should link it like that.

From the horse's mouth. https://mastodon.social/@pid_eins/112202687764571433

> In the past, I have been telling anyone who wanted to listen that if all you want is sd_notify() then don't bother linking to libsystemd, since the protocol is stable and should be considered the API, not our C wrapper around it. After all, the protocol is so trivial

I'm actually surprised that they added the note about code duplication after adding the standalone implementation specifically so people won't do that.

Re: Introducing stronger dependencies on systemd

#155
post #134
post #118

Earlier quoted context omitted.

> he welcomes anybody and does not care about race, Ah yes, the "all lives matter" rebuttal.

What's that supposed to mean?

https://belonging.berkeley.edu/blog-all-lives-cant-matter-un...

Re: Introducing stronger dependencies on systemd

#156
post #85
post #57

Replying to some sibling comments asking why anyone wouldn't want to use systemd. People want to understand their software as well as it's practically possible. It's not an uncommon preference; worse-is-better was quite successful for a reason. As systemd stands, it's an unauditable mess of tightly-coupled components built to handle any conceivable need. These features create new attack vectors: for instance, systemd…

There's so much I disagree with in the beginning but the ending is what actually grinds my gears. You make it sound like systemd manufactured this monoculture somehow. This is also the point I've seen people throw in a comparison to some closed-source org with money to burn and questionable morals. Systemd was chosen by distros and users across different communities because it solves hard problems better than the oth…

What you say would be more credible if you would provide a list of those "hard problems".

I have been using Linux on many desktops, laptops, servers, including on my primary workstations, for the last 30 years. I have also managed Linux on the computers of other people who have successfully used Linux for many years, despite the fact that they did not know what "Linux" is.

During all these years, both at home and at various companies, I have never encountered any of those problems for which systemd is supposedly required.

Using systemd appears to be a matter of preference, not of necessity. However I have never seen any Linux users who could explain their preference for systemd.

Systemd is ubiquitous now because it has been chosen by the maintainers of most major Linux distributions, not because it has been chosen by any end-users. Most maintainers also have not chosen it for any personal reasons, but because the maintenance of the distribution would have become a PITA without systemd, due to the dependencies introduced by a few important packages, like GNOME, which were thought to be indispensable in any distribution.

Perhaps systemd has some advantages that I am not aware of, but with certainty the proponents of systemd suck at selling it, because they have never been able to describe those advantages. Instead of trying to convince others that systemd is technically superior, the dependencies upon systemd have been imposed by force upon all Linux users by a relatively small number of developers.

By coincidence, just these days I have begun to study elogind, which is mentioned in TFA and which is a workaround for not having a complete systemd.

Until a couple of weeks ago, I had succeeded to not use even elogind, but the last version of the Xorg server has acquired a hard dependency on systemd, so after upgrading it now I have to run this additional useless elogind daemon, to simulate the presence of systemd. I have begun to study elogind because launching it early during boot seems to have introduced some bugs in the behavior of the Linux virtual consoles. Even if I normally do not use those, I have been intrigued so I have started to investigate what elogind really does.

After these news about GNOME, I think that I will be forced to do a much more thorough study of elogind and systemd than I would have ever wanted to do, in order to write some replacements for satisfying any systemd dependencies in the applications that I am interested. I do not use GNOME, but there are useful applications that expect some GNOME services, and those may become now more dependent of systemd.

I hate that I will have to do a lot of work without any obvious useful purpose, just to keep running the same programs that previously worked fine without systemd.

Re: Introducing stronger dependencies on systemd

#157

Earlier quoted context omitted.

Systemd is crap. Works in the main use case, mess up otherwise. It is the windows kernel of linux distributions. Here for example, suddenly systemd will be mandatory despite systemd not caring for multiple session of a single user. Not only not yet implemented but totally that don't need it personally so no one can want to have it. And so again the capability of our linux based distribution will be restricted for som…

systemd is far from perfect, but it's the best we've got on Linux. Treating systemd like an init system is like treating your car like a Bluetooth speaker: yes, you can connect your phone to the speaker system over bluetooth and yes you can take the speakers with you to most places, but the speakers are only a small part of what you're taking along with you Nobody is forcing systemd down anyone's throats. You can use…

Sorry, but systemd is really forced upon the users throats, all the time, more and more.

Just a few weeks ago, in some systems that worked perfectly without systemd, I have upgraded Xorg server, but the new version would no longer run, because it has acquired a hard dependence upon systemd.

As a workaround, I had to run the additional elogind daemon, which does not provide any useful function, except of keeping happy the developer who has added this extra systemd dependency.

Such events have happened for years, every few months, with more and more dependencies of systemd added to various applications, which after that do not gain any useful feature but they force their users who do not want systemd to waste time for developing workarounds that satisfy the new undesirable systemd dependencies.

Re: Introducing stronger dependencies on systemd

#158
post #40

I have yet to hear an argument against systemd which isn’t a variation of: - """bloat""" - I dislike Poettering. Remember pulseaudio? - a core user-space layer for modern applications that can’t only rely on the spartan kernel syscall API? Literally 1984. Given that systemd is good enough and is running on 99% of desktops and servers, I always find it hilarious to see how the vocal minority is overrepresented on this…

I believe that the opposite applies.

I have yet to hear any argument pro systemd that is valid.

As long as the systemd supporters cannot explain its advantages, there is no reason for anybody else to replace their good systems that work fine without systemd, with systems using systemd.

In practice, systemd has been imposed by force. The developers of a few packages, like GNOME, have introduced dependencies upon systemd. Then the maintainers of the major Linux distributions have considered that such packages cannot be removed from their distribution, therefore they must base it on systemd.

Then the users have discovered when upgrading their computers that they must either migrate to systemd or stay with their ancient program versions.

This is how systemd has propagated. In no place there was any analysis about technical advantages and any attempt to find an optimal solution by consensus.

Re: Introducing stronger dependencies on systemd

#159
post #56

Earlier quoted context omitted.

There aren't decent Pro systemd arguments other than "the Linux API confused me" and sysv init (which no one argues is good) was bad. Personally the last system I had systemd on corrupted my package database after killing apt that I was running in tmux. "Oh you can fix that with xyz systemd configuration." Here's my response: Kindly shove it up your ass and quit moving things around all the time just because you're b…

The pro part is the massive simplification and security advantages systemd brings to plain and simple config files. Sure, I can reimplement the containerisation API in OpenRC if I stack enough helper binaries and shell script libraries in there, but I don't want to. Kindly shove it up your ass and quit moving things around all the time just because you're board. If it's good enough for most people, that means it's go…

It is weird to name something as a "massive simplification" when saying that it is intended to replace "plain and simple config files". "Massive simplification" is a term that may be applied to something like the daemontools of Bernstein and to other systems inspired by it, but certainly not to anything based on systemd, where it is much harder to discover what it really does, when problems appear.

Perhaps systemd has "security advantages" over alternative solutions, but I have never heard of them and I cannot imagine them, so please name them.

Re: Introducing stronger dependencies on systemd

#160

What's interesting here isn't a strict dependency on systemd, but dependencies on some APIs it provides. Given the ability and existence of things which implement those APIs outside of systemd, it's worth considering that the APIs themselves should be the focus. Perhaps they should be spun out of systemd itself. It seems sensible to that gnome would want to move to a better API which is almost defacto a standard thes…

The problem is that those APIs are not well documented, so reading the convolute source code may be the only documentation in some cases.

Perhaps there is some documentation, but it is well hidden.

Just these days, after being hit by the fact that the Xorg server has become dependent on systemd, I have begun to search for what elogind is really doing to simulate the login services of systemd. I have not found any easy way to discover that, except by reading the source code, which is not simple at all.

I would not care if GNOME or any other package would add systemd dependencies, but these were accompanied by a document describing precisely the protocols or APIs they use for accessing systemd services, so that it would be easy to write alternative implementations.

The reality is that no such documentation is provided, so the only way to avoid systemd is to become an expert in its internals. This is why I hate when such new dependencies are added.

Post reply on HN