News for hackers. Stuff that matters.
Re:Systemd, 10 years later (2020) by a-dub on Saturday January 08, 2022 @03:29PM (#29855855)
it's kind of like locked bootloaders and pentalobe screwdrivers for organizing a unix system where most users were used to easy to inspect and modify scripts and single purpose programs .

yes, it's still open source, but modifications and inspection are far more complicated creating a much higher barrier to entry.

in the earlier days when it was still buggy, even linus himself was screaming about not being able to easily take the case off of pid 1 when it misbehaved.

Re:Systemd, 10 years later (2020) by eslaught on Saturday January 08, 2022 @03:59PM (#29856180)
I have to hard disagree on this one. As someone who had half a foot in sysvinit, half in upstart, and half in systemd (don't try to do math with those numbers), sysvinit was always the hardest to use by wide margin. It was ridiculously complicated to get anything nontrivial to work. It was error prone, and the number of corner cases you had to think about was extreme. And the worst part was I kept having to relearn it each time because I did it infrequently enough to forget what I'd learned the last time.

Personally, I was more of a fan of upstart then systemd, but both were a massive improvement over sysvinit in terms of offering an actual interface with abstractions for the things you wanted to do. This is again from the perspective of a user, but that's where (in my opinion) most of the cost/benefit was anyway.

Re:Systemd, 10 years later (2020) by hulitu on Sunday January 09, 2022 @04:02PM (#29867306)
Sysvinit was conplicated by RedHat. Then SUSE followed suit. On Slackware it is just nice and simple.
Re:Systemd, 10 years later (2020) by pengaru on Saturday January 08, 2022 @04:18PM (#29856385)
It's not like systemd is written in deliberately obfuscated C or something inscrutable altogether like Brainfuck.

A monorepo containing well-organized boring C, developed on github of all places, is the polar opposite of raising the barrier to contributing vs. what was replaced.

Full-disclosure: I contribute to systemd.

Re:Systemd, 10 years later (2020) by Blikkentrekker on Saturday January 08, 2022 @04:43PM (#29856634)
Of course, but I would not like to have to patch it to modify something that on other systems can be modified with either a configuration option, or a shell script.

To me, the most poisonous example that contrasts the traditional design with Freedesktop's design is acpid contrasting logind. In the former case, an acpi event is sent, and acpid simply executes a file such as `/etc/acpi/action/lid_down.sh`. That file can contain anything the system administrator wills, from a simple script that does nothing more than `systemctl sleep` to whatever complex task he could desire.

The last time I checked the situation, logind had replaced this powerful, and simple mechanism with a configuration that offers nine options to execute when the lid is pressed, none of which involve executing a simple file. Of course I can edit the source code and recompile to allow it to do what I want it to, but I would far rather simply quickly alter a simple shell script to do so.

And luckily I can, because I do not use logind but acpid, but that does not change the ire I experience when dealing with many Redhat and Freedesktop people who make it very clear that I should be using logind, that it's better, and that they create artificial dependencies on it to as Poettering calls it “gently puh” me in that direction.

Re:Systemd, 10 years later (2020) by dijit on Saturday January 08, 2022 @06:20PM (#29857694)
And this means we can’t do things like force disconnect an eGPU or whatever on acpi events.

I think I figured out my issue with systemd. It does not apply Chesterton Fence when redeveloping things… and how could it, when it redevelops so much.

Maybe it’s fine if it’s all you’ve ever know (or you never hacked on your system) but those that did have lost something.

Re:Systemd, 10 years later (2020) by Blikkentrekker on Saturday January 08, 2022 @07:07PM (#29858130)
The situation is that such hackers and tweakers rarely use systemd, for these reasons.

They are simply annoyed by A) it being pushed on them; B) people often acting that they are irrational for not liking it while it does not what they expect and need; and C) discussions with Freedesktop developers that, frankness be, reveal they live inside of a very strange bubble and have no idea of the use cases outside of it.

This is software brought to you by the minds who brought you. “I have no idea what XFCE is or does, sorry.” or that libinput did not need a way to disable mouse acceleration because everyone wants mouse acceleration.

Re:Systemd, 10 years later (2020) by chronogram on Sunday January 09, 2022 @10:42AM (#29864175)
> libinput did not need a way to disable mouse acceleration because everyone wants mouse acceleration.

You mean you want a flat acceleration curve? You want to accelerate the mouse, otherwise you need a gaming mouse with the DPI set very high and then keep going into the mouse firmware to adjust the DPI whenever you play a game or switch between different (scaled) resolutions. Libinput has different acceleration profile defaults for different devices, but you can just change it to the flat profile which I prefer as well.

See https://wayland.freedesktop.org/libinput/doc/latest/pointer-...

Re:Systemd, 10 years later (2020) by awrmc on Saturday January 08, 2022 @07:30PM (#29858368)
I'm an open source hacker and I like systemd. Once I took the time to learn its APIs I found it does everything I expect.

Your issues with XFCE and libinput don't seem to be related to systemd. I can't see how airing grievances against other unrelated projects would be a constructive place to take this discussion. Complaining about open source projects only supporting some use cases is also confusing to me. A lot of these projects are very open about the fact that they exist only to "scratch their own itch".

Re:Systemd, 10 years later (2020) by Blikkentrekker on Sunday January 09, 2022 @03:56AM (#29861598)
I have no issues with XFCE. I personally would never use i, but it also leaves me alone and it's developers don't exhibit this mentality.

I have a problem with Jon McCann's famous quote, who was at the time a lead developed of GTK+, who did not know what XFCE, one of the biggest consumers of the library, even was when he made a change that broke about anything outside of GNOME. — What his language suggested was that he lived in a bubble thinking that only KDE and GNOME existed, and that since KDE wasn't using GTK+ it was fine to do this.

Re:Systemd, 10 years later (2020) by awrmc on Sunday January 09, 2022 @01:04PM (#29865759)
I had to look up the quote but I think you have that pretty wrong. You're getting the GNOME shell and GTK mixed up.

https://trac.transmissionbt.com/ticket/3685

The ticket is about GNOME 3 removing support for status icons from the GNOME panel. GTK3 still has the status icon API, although they're deprecated and don't work on Wayland. That shouldn't have any effect on XFCE or any other shell with an old panel that supports the old X11 status icons. I think you can also restore the functionality to GNOME with an extension.

Also, if you check further down the issue you'll see this clarification:

>There should be no change in behavior for non-GNOME platforms.

Re:Systemd, 10 years later (2020) by morelisp on Sunday January 09, 2022 @05:17AM (#29862019)
This is a peculiarity of the GTK developers, not anything to do with systemd or fd.o. I maintained a popular GTK-but-explicitly-not-GNOME application long before the days of systemd and they had the same attitude.
Re:Systemd, 10 years later (2020) by Blikkentrekker on Sunday January 09, 2022 @01:05PM (#29865762)
I believe it is common to pretty much all Red Hat and Freedesktop developers.

Poettering has come with very similar claims that betray that he does not understand what people outside of his small circle want and need, the same can be said for Wayland developers, DBus, NetworkManager, PulseAudio and all such other infamous projects.

Re:Systemd, 10 years later (2020) by awrmc on Sunday January 09, 2022 @01:18PM (#29865868)
It's difficult to understand what your complaint is, that describes every software project I've ever seen. You pick a target set of users and then develop for those users. Is there some other way to develop software?
Re:Systemd, 10 years later (2020) by Blikkentrekker on Sunday January 09, 2022 @02:55PM (#29866756)
I don't think it is common to find memorable quotes akin to “I have no idea what XFCE is or does, sorry.” outside of this circle. This is a vintage and often quoted Red Hat-ism that betrays their mentality.

QT developers will not tell you “I have no idea what LXQt is or does.”; they do not generally break things that compromise 90% of their consumer base and they do not remove theming because they fear it's existence will hurt the “brand identity” of KDE.

It's dishonest to say similar problems occur outside of the Red Hat circle and that circle alone is commonly criticized on these policies.

Re:Systemd, 10 years later (2020) by awrmc on Sunday January 09, 2022 @03:14PM (#29866909)
The ticket that quote came from is pretty old and turned out to be a non-issue. I've addressed that in another comment: https://news.ycombinator.com/item?id=29865759

If you're trying to prove a point, you could at least mention something that actually caused a real problem instead of taking this one out of context. I have no idea why anyone would keep mentioning this quote or find it memorable, it seems completely insignificant to me. You also seem to be ignoring all the positive interactions this engineer (or any other Red Hat engineer) might have had. I can personally name a lot of instances where Red Hat engineers have fixed upstream bugs that were affecting me. And just to make it clear I'm not saying this to single them out for praise, a lot of other companies fix upstream bugs too. That's how open source is supposed to work.

And you actually could go and search around on old mailing lists to find similarly questionable 11-year-old quotes from Qt developers if you really were interested in digging up more old drama. These things happen everywhere that people go because people don't agree on everything. I suspect you also think that's ultimately futile though, so why keep flogging this particular dead horse? This is still way, way outside the scope of discussion for systemd anyway.

Re:Systemd, 10 years later (2020) by morelisp on Sunday January 09, 2022 @02:05PM (#29866304)
If your problem is with the Red Hat developers, and the fd.o developers, and the GTK developers, and the Debian and Arch and SuSE and Ubuntu developers, and the DBus developers - maybe your problem is not actually with any of these developers but a mistaken idea of how open-source development ever worked?

Or what, is everyone except you under thrall to Lennart Poettering, master wizard?

Re:Systemd, 10 years later (2020) by Blikkentrekker on Sunday January 09, 2022 @02:56PM (#29866764)
I have never criticized most of these.

I have very specifically only criticized Red Hat developers. I have no problem with any of the others and they don't show the same problems.

Re:Systemd, 10 years later (2020) by morelisp on Sunday January 09, 2022 @03:37PM (#29867086)
I'm replying to a post in which you specifically called out Wayland and D-Bus, and your criticism of GTK and fd.o is all over this thread. Your lack of criticism of SuSE developers appears to be because you misremembered when/how they switched to systemd - because they did, relatively quickly.

But that raises the real question: If the problem is systemd, and the problem is so bad, why do you only blame Red Hat and not the every other distribution that switched to it? Do you think they were all victims of Tricksy Lennart, or?

Re:Systemd, 10 years later (2020) by Blikkentrekker on Sunday January 09, 2022 @07:09PM (#29868918)
> I'm replying to a post in which you specifically called out Wayland and D-Bus, and your criticism of GTK and fd.o is all over this thread. Your lack of criticism of SuSE developers appears to be because you misremembered when/how they switched to systemd - because they did, relatively quickly.

And you also brought in SuSE, Arch, and KDE, which I never criticized to make your argument that I simply hate everything work, which is quite disingenuous.

> But that raises the real question: If the problem is systemd, and the problem is so bad, why do you only blame Red Hat and not the every other distribution that switched to it? Do you think they were all victims of Tricksy Lennart, or?

I do not, and have never blamed distributions for switching to systemd.

They can use what they want and it's neither their fault nor problem that systemd and other Red Hat projects are known to create dependencies upon one another for ill technical merit.

I have criticized Red Hat projects for creating dependencies on other Red Hat projects for political, rather than technical reasons; the rest is simply your putting words into my mouth to make a straw-man argument function.

Re:Systemd, 10 years later (2020) by awrmc on Sunday January 09, 2022 @07:37PM (#29869114)
I haven't seen any of these supposed Red Hat projects that have dependencies for political reasons. If that were really true then it would be trivial for anyone to remove those dependencies, and there wouldn't be anything for anyone to complain about. Any way you slice it doesn't seem like a cause for alarm.
Re:Systemd, 10 years later (2020) by rixed on Sunday January 09, 2022 @02:15AM (#29861016)
acpid vs logind is another illustration of the trade offs involved when moving towards GUIfication of the bazar that is (was?) unix.

Basically the proposition is akin to a weapon exchange program: hand over your powerful but dangerous Turing complete configuration language in exchange for nicer looking desktops.

Who would not prefer a better looking desktop?

Re:Systemd, 10 years later (2020) by Blikkentrekker on Sunday January 09, 2022 @03:53AM (#29861581)
It's what you consider nicer. I consider dialog windows to be a slow and frustrating way to configure anything and on top of that in this case it loses me the ability for my computer to do what I want it to when I close my lid.

And if it simply remained at that, but left me alone I wouldn't be so irate, but I don't feel left alone and “Who would not prefer a better looking desktop?” already borders on this “My way, of the highway.” philosophy of Freedesktop, whose developers all too often tell one that one's subjective likings are wrong and that one is somehow “wrong” or “outdated” for favoring a machine that is fast to configure and does what one wants.

It also doesn't help much that on a purely visual level there design choices look ugly to me, and that these are also the same people that remove theme options lest the holy “brand identity” be compromised, as well as that their design blasts too much bright white light into my face when I'm already tiring my eyes out trying to learn to read a language that's not written in a script I'm accustomed to.

Re:Systemd, 10 years later (2020) by rixed on Sunday January 09, 2022 @09:44AM (#29863639)
I believe this issue of Turing complete config language vs simpler declarative configuration is one of the basic thing for which there exist no good universal solution.

I face the very same issue in my day job where I'm struggling to cut the right balance between a featureful data manipulation language with which the customer can implement whatever he needs, as long as he is OK with a bit of programming, or a more limited one for which we have a GUI... and that GUI itself has to be tested, and I'm also currently reviewing QA tools to help testing GUIs, and they basically fall in two camps: those that require one to spend a week learning how to program them, and those that are much more limited but come with a straightforward GUIs...

Before systemd the same conflict happened with network-manager: my network setups were usually custom and out of reach from network-manager that I despised and purged of my desktops first thing after a fresh install. Yet with time network-manager supported more and more use cases and I'm now happy to use it. Maybe one day systemd will also make it possible to add the bits of hackery here and there and we will all be satisfied with it.

For now, if so many users have it easier thanks to systemd, which seems to indeed be the case, then it's still something.

Re:Systemd, 10 years later (2020) by Blikkentrekker on Sunday January 09, 2022 @10:13AM (#29863895)
> I believe this issue of Turing complete config language vs simpler declarative configuration is one of the basic thing for which there exist no good universal solution.

Indeed there isn't. And people that want simpler declarative configuration files can have them as far as I'm concerned.

My ire is the mentality common of Red Hat employees that I am wrong for wanting traditional Unix-style flexible configuration and their dependency politics to try to get others to switch over. If they just designed their software how they want to and otherwise let it be, such as KDE and XFCE are doing, then they would not be drawing the same criticism, but they have a tendency of coming with a dismissive attitude to everyone who wants it different than they do and insist their way is the future and when people point out that their way does not offer functionality they need either for convenience, or their livelihood they dismiss it.

> For now, if so many users have it easier thanks to systemd, which seems to indeed be the case, then it's still something.

If various Red Hat projects didn't find a way to create dependencies on systemd to encourage it's adoption and systemd was simply there for the people that wanted it but left those that didn't alone, then it wouldn't be so controversial.

What I quoted was “Who wouldn't want [...]”; that's the Red Hat mentality, that everyone who has subjective ideals than they either does not exist, or is wrong.

Re:Systemd, 10 years later (2020) by awrmc on Sunday January 09, 2022 @01:23PM (#29865906)
>If they just designed their software how they want to and otherwise let it be

In my experience, that is what they're doing. Their software just happens to be adopted by more users because in a lot of cases it is better and does represent the future. You have that advantage when you support a lot of commercial users over a long period of time. Red Hat also has a policy of contributing a lot to upstream so that also adds to why they have success with other projects.

>If various Red Hat projects didn't find a way to create dependencies on systemd to encourage it's adoption

I think this is an exaggeration. I haven't seen any projects that have anything more than a trivial dependency on systemd to enable some optional functionality.

Re:Systemd, 10 years later (2020) by rixed on Sunday January 09, 2022 @09:09AM (#29863332)
I now realize the sarcasm was unfortunately not obvious, and I have to apologize.

-- Sent from my terminal

Re:Systemd, 10 years later (2020) by vanviegen on Saturday January 08, 2022 @05:07PM (#29856908)
Although I like the acpid approach, the logind way is probably safer to abstract behind a user friendly GUI. That's what most people will be using. :-/
Re:Systemd, 10 years later (2020) by Blikkentrekker on Saturday January 08, 2022 @05:54PM (#29857422)
And that is probably the motivation for this design philosophy of limiting options that Redhat and Freedesktop champion where more and more, simple, clean, turing complete solutions are replaced by a discrete list of simple options.

But it does not change at all why I dislike it, and why I am annoyed by Freedesktop's pushing and insistence that many keep to these more custoizable solutions supposedly simply because they are “stuck in their ways” and that their philosophy is the future and “modern”, whereas all I see is more hurdles that stop me from effectively being the master of my own machine.

Re:Systemd, 10 years later (2020) by awrmc on Saturday January 08, 2022 @07:13PM (#29858206)
You have a misunderstanding of what Freedesktop is. Freedesktop is just a group of desktop developers that submit standards to each other, they don't really dictate anything. For that reason it tends to self-select for developers who are actively working on desktop environments, and the standards that tend to get submitted there are things that already have some level of adoption among open source desktops. You too can submit specifications to Freedesktop but you'll probably not have much luck with getting something adopted among peers if you're not already interacting with other desktop developers on a regular basis.

"Customizability" is also not the domain of a group that like Freedesktop that publishes specifications. Their purpose is to define some baseline of standard behavior for interoperability. The customization comes from individual projects. No offense but your criticism is pretty misplaced.

Re:Systemd, 10 years later (2020) by Blikkentrekker on Saturday January 08, 2022 @08:04PM (#29858625)
In theory it is that; in practice it has become a different face of Redhat because it's mostly Redhat developers that submit these standards there and the body is known to have a certain philosophy that is indeed exemplified by systemd.

They aren't particularly keen on hacking in how they design their software and standards and talking with them is frustrating to say the least.

Re:Systemd, 10 years later (2020) by awrmc on Saturday January 08, 2022 @08:16PM (#29858732)
I can't understand what you're talking about, I'm looking through the list of specifications and I don't see anything specific to Red Hat or systemd. I also see a lot of other names besides Red Hat people: https://specifications.freedesktop.org/

If Red Hat engineers submit something there it's because they think it's useful to the other desktop projects. It's just a collaborative space to put specs. If you have a spec of your own you can just create a new RFC. You don't need to persuade them to change how they design theirs, unless you intend to start working at Red Hat and start maintaining some of their software for them.

Re:Systemd, 10 years later (2020) by morelisp on Sunday January 09, 2022 @05:20AM (#29862035)
“People who write the code get to make the rules” is perhaps the most fundamental part of bazaar development ideology. If you don’t like it, write more code.
Re:Systemd, 10 years later (2020) by posix_me_less on Sunday January 09, 2022 @11:12AM (#29864506)
Writing more code does not always mean producing better software. Often it's better to just move to an already existing better software. For service management, there are many alternatives already.
Re:Systemd, 10 years later (2020) by morelisp on Sunday January 09, 2022 @11:20AM (#29864586)
> Writing more code does not always mean producing better software.

I didn't say it did! I said if you really buy into the "Linux is about choice", "Red Hat stole our fun OS" etc. bullshit that always circumscribes the populist anti-systemd position in these debates - then you don't really have a moral or tactical position other than "shut up and code."

I don't think that's true - I think there are other obligations to users which are just as important - but these all suggest systemd even more than the "master of my own machine" nonsense.

Re:Systemd, 10 years later (2020) by posix_me_less on Sunday January 09, 2022 @06:07PM (#29868373)
> you don't really have a moral or tactical position other than "shut up and code."

I don't believe that. People commenting negatively on some Linux software/trend do not need any such privilege or permission or show of stake. I think anybody with Linux experience is entitled to his/her opinion on what should and should not be done on their Linux machine and in the Linux software space, whether they produce new code or not.

Re:Systemd, 10 years later (2020) by awrmc on Sunday January 09, 2022 @07:41PM (#29869139)
That's just re-stating the grandparent comment! If you think everyone is entitled to their opinion then the only tangible way to express that opinion would be to produce new code. What use is the opinion if nobody ever implements it?
Re:Systemd, 10 years later (2020) by posix_me_less on Wednesday January 12, 2022 @08:59AM (#29906348)
I don't believe that. There are many ways to express an opinion about Linux software, e.g. by writing about it, or by rejecting some software, or by adopting some different software.

I don't use systemd on my systems, I prefer sysvinit and openrc, and I sometimes express my arguments for why. Why would I have to write my own init system just to express my opinion that for some usecases, other software is better than systemd?

Re:Systemd, 10 years later (2020) by awrmc on Thursday January 13, 2022 @09:29PM (#29929929)
You've decided the best way forward for you is to write sysvinit and openrc scripts. That's an opinion completely focused around writing some additional code. You don't have to write it all from scratch to be expressing that opinion, you can express it a lot of different ways but that's all it encompasses. Unless we're talking about something else that I missed? Suggesting that something is better than something else is really meaningless without that.
Re:Systemd, 10 years later (2020) by Blikkentrekker on Sunday January 09, 2022 @10:00AM (#29863757)
People are writing code.

The difference is that everyone outside of Red Hat an Freedesktop isn't creating artificial dependencies on each other's projects to “gently push them” so people outside of it again have to write more code to decouple them again.

They did write the code to fork elongind in such a way that it no longer required systemd; they did write the code so that GNOME could run without logind like every other system; they did write the code to fork of udev from systemd again so that it could run without glibc. — None of these projects suffered loss of functionality.

They're complaining that they have to, because every time, these dependencies that have no technical justification happen, it's always one RedHat project depending on another to create product tying and encouraging adoption.

The rule of capitalism is simply that product tying works in practice, however bad it is for the user and consumer. That's why Apple likes to come with custom cables that only work on their hardware for no technical reason, and that's why logind was incorporated into systemd and came to depend on it for no technical reason.

Re:Systemd, 10 years later (2020) by morelisp on Sunday January 09, 2022 @11:23AM (#29864622)
> They did write the code to fork elongind in such a way that it no longer required systemd; they did write the code so that GNOME could run without logind like every other system; they did write the code to fork of udev from systemd again so that it could run without glibc.

It sounds to me like the bazaar system is working fine qua its own standards, then. Red Hat writes what they need to solve their problems, party X writes what they need to solve their problems, the code is shared, everyone gets what they want.

Except: It sounds like what you really want is for Red Hat to solve your problems, not only their problems. That's definitely not how this stuff shook out historically. And it opens a door you might not want to open, because now you need to ask yourself why users liked systemd, and what obligations you have to support beyond your own needs in your own software.

Re:Systemd, 10 years later (2020) by Blikkentrekker on Sunday January 09, 2022 @01:08PM (#29865782)
> It sounds to me like the bazaar system is working fine qua its own standards, then. Red Hat writes what they need to solve their problems, party X writes what they need to solve their problems, the code is shared, everyone gets what they want.

The difference is that Red Hat's problem is not making enough money, and everyone's problem is software not working because Red Hat breaks functionality to make more money.

Red Hat's “problems” are similar to the “problem” Apple experienced that that heir hardware was interoperable with third party hardware, so they made sure to use proprietary cables that only work with Apple hardware.

> Except: It sounds like what you really want is for Red Hat to solve your problems, not only their problems. That's definitely not how this stuff shook out historically. And it opens a door you might not want to open, because now you need to ask yourself why users liked systemd, and what obligations you have to support beyond your own needs in your own software.

No, what I want is for Red Hat to stop product tying, which you conveniently ignored and didn't address.

What they're doing isn't solving any technical problems any more than Apple is doing by using proprietary cables when standard cables suffice.

Re:Systemd, 10 years later (2020) by awrmc on Sunday January 09, 2022 @01:32PM (#29865996)
If you're asking for Red Hat to stop creating integrations between different parts of their distribution, that isn't going to happen. That's one of the benefits you get from being a distribution vendor. Every Linux distribution that grows past a certain size does that eventually, that's how you create a cohesive system. They make money from this because customers actually ask them to do it. You're essentially asking them to kill their core product.
Re:Systemd, 10 years later (2020) by morelisp on Sunday January 09, 2022 @01:59PM (#29866257)
Describing systemd as "product tying" is ridiculous. The product is the OS distribution. Even in the heady days of a dozen of diverging Unix vendors, nobody was pitching their user-pluggable init system. What's next, coreutils and busybox are illegal, because I don't want my `cp` and `mv` from the same vendor?
Re:Systemd, 10 years later (2020) by zozbot234 on Saturday January 08, 2022 @06:25PM (#29857743)
> the logind way is probably safer to abstract behind a user friendly GUI.

How so? The canonical solution would be to ship a default `lid_down` script that could take the currently-active policy as set by the GUI as an input. But the nice thing is that adding/tweaking policies is a fully-supported operation, you just edit the script and the GUI config mechanism to support them.

Re:Systemd, 10 years later (2020) by awrmc on Saturday January 08, 2022 @07:06PM (#29858125)
I just made an account to respond to this. Shipping scripts is racy and error-prone. It's the wrong approach and is not how any actively developed desktop wants to do things. They want an API they can use from a service, that's what logind provides and that's why it's been adopted. You can also run acpid alongside logind if that's what you prefer, but it will be racy unless you also use logind's inhibitor API.
Re:Systemd, 10 years later (2020) by ReactiveJelly on Saturday January 08, 2022 @04:25PM (#29856455)
There is a difference between the best C, and scripts that you can modify in-place.

But, like some other comments have said, I was young enough to dodge the drama. I basically grew up with systemd and I don't feel like I'm missing anything. The biggest problem I have is that Ubuntu Server defaults (or used to default) to having the system wait on network interfaces, which is annoying when I want to build a desktop off of it. And sometimes on shutdown it waits for some daemon I don't care about to quit. Which is probably just a bug in the daemon.

Re:Systemd, 10 years later (2020) by eternityforest on Saturday January 08, 2022 @05:12PM (#29856955)
The transition period of any new tech is usually horrid.

But now that things aren't buggy, being unable to modify them in place is a good thing. It sets a clear boundary that this is not how you do things on a modern system, so you can always expect systemd to be the same, consistent, non customized thing it always is.

Re:Systemd, 10 years later (2020) by a-dub on Saturday January 08, 2022 @05:30PM (#29857159)
just like pentalobe screws!

i'm not going to argue it's a bad thing, i actually really like macs and think they hide a lot of details making time and space for other pursuits, although since you cede user serviceability it's important to purchase a service plan and that you don't try anything that wasn't provided for in the design.

maybe simple composable parts are past their prime. i always loved the simplicity of inetd. it was both self describing and inclusive. you could write an internet service without any knowledge at all of sockets and learn about the system by simply looking at it. but i suppose that's given way to large monolithic daemons these days.

personally though, i always thought the simplicity and the composability of unix philosophy was what bred systems that outperformed their competition in terms of security and extensibility. so many commercial systems reflected apparent power grabs within the corporate structures that produced them... i suppose that when you see foss monoliths like this, it's the same game playing out on a different field.

Re:Systemd, 10 years later (2020) by shawnz on Saturday January 08, 2022 @05:37PM (#29857225)
> i always loved the simplicity of inetd. it was both self describing and inclusive. you could write an internet service without any knowledge at all of sockets and learn about the system by simply looking at it.

You could achieve the same thing with systemd socket activation :)

Re:Systemd, 10 years later (2020) by a-dub on Saturday January 08, 2022 @09:09PM (#29859129)
> Which one would you trust to take you into space?

neither. last i checked, linux, even with rt_preempt, was unsuitable for realtime control applications.

even hollywood gets that, didn't you see the end of "don't look up"?

Re:Systemd, 10 years later (2020) by kaba0 on Sunday January 09, 2022 @04:40AM (#29861837)
You can configure systemd to kill lingering applications, it was defaulted to false because some old UNIX tools liked to linger in the background forever.
Re:Systemd, 10 years later (2020) by VTimofeenko on Saturday January 08, 2022 @03:52PM (#29856099)
Anecdata: as someone not engaged in systemd development and one that likes tinkering with hardware tokens and luks, I found that at least the fido2/cryptsetup part of systemd was fairly easy and logical to follow and debug.

I would argue that locked and pentalobe metaphor is not very accurate - systemd is no more locked than most other open source software.

Re:Systemd, 10 years later (2020) by kzrdude on Saturday January 08, 2022 @03:58PM (#29856173)
systemd made it possible for me to write new service scripts - system and user kind - in a way I couldn't do before. It seems to have empowered me, because it's actually quite easy to use.
Re:Systemd, 10 years later (2020) by kaba0 on Sunday January 09, 2022 @04:38AM (#29861826)
System boot is a hard problem with dependency resolution, service management, etc. Scripts didn’t properly solve the problem — they were like the easy solution for small ns. But that approach simply could not scale at all.

Systemd may indeed be somewhat more complex, but I don’t think that it would employ many accidental complexity— it is complex due to the problem domain. But imo that is a worthwhile thing to spend complexity budget on.

Re:Systemd, 10 years later (2020) by wrycoder on Saturday January 08, 2022 @03:46PM (#29856023)
Right. I have a simple rule: don’t use a GNU/Linux system that uses systemd. It doesn’t respect the Unix philosophy. It’s trying to turn it into Windows.

I’m waiting for Microsoft to buy Red Hat. Failing that, IBM.

Re:Systemd, 10 years later (2020) by zkldi on Saturday January 08, 2022 @04:16PM (#29856375)
I mean, emacs doesn't respect the UNIX philosophy either, but that's one of the most praised pieces of software to come out of the UNIX space.

The UNIX philosophy isn't meant to be taken as gospel - hell, it's very hard to define what "doing one thing" even means.

Re:Systemd, 10 years later (2020) by elcritch on Saturday January 08, 2022 @04:30PM (#29856491)
Didn’t emacs get developed on ITS or Multics? Seems Unix just imported it, but your point still holds.
Re:Systemd, 10 years later (2020) by Breazy on Saturday January 08, 2022 @04:41PM (#29856617)
Early versions of Emacs didn't have lisp extension languages, which is kind of strange to think about considering the role elisp plays in GNU Emacs as we know it today. GNU Emacs with elisp is something that developed in the context of the MIT lisp machine scene. Sure it runs and was developed on unix-like operating systems, but lisp extensible emacs were never really some sort of embodiment of the 'unix principles'.
Re:Systemd, 10 years later (2020) by lispm on Sunday January 09, 2022 @05:09AM (#29861969)
The first four Emacs editors, which had something like an extension language: Emacs (1976), EINE (1977), SINE and Multics Emacs (1978). EINE and Multics Emacs were written & extended in Lisp. SINE was using a 'lisp-like' language. A bunch of further Emacs-like editors appeared then.

GNU Emacs later (1984) was based on Gosling Emacs (1981), which was written in C and extended with Mocklisp. Mocklisp was a rather uncomplete Lisp, which was replaced with Emacs Lisp by Richard Stallman.

Re:Systemd, 10 years later (2020) by lizknope on Saturday January 08, 2022 @04:37PM (#29856572)
https://en.wikipedia.org/wiki/Emacs#History

Yes.

Emacs development began during the 1970s at the MIT AI Lab, whose PDP-6 and PDP-10 computers used the Incompatible Timesharing System (ITS) operating system that featured a default line editor known as Tape Editor and Corrector (TECO)

Re:Systemd, 10 years later (2020) by gtirloni on Saturday January 08, 2022 @03:48PM (#29856041)
Re:Systemd, 10 years later (2020) by cfors on Saturday January 08, 2022 @03:49PM (#29856056)
IBM already purchased red hat for $34b 3 years ago, so no need to wait any longer :)
Re:Systemd, 10 years later (2020) by GekkePrutser on Saturday January 08, 2022 @06:40PM (#29857884)
I think he means that MS would buy IBM and RedHat with it.

I doubt they will though. Like others have said MS buying Canonical would make a lot more sense. And there have already been a lot of overtures.

Re:Systemd, 10 years later (2020) by wrycoder on Saturday January 08, 2022 @07:06PM (#29858122)
What I meant is that MS could buy Red Hat from. IBM. Failing that, buy IBM.
Re:Systemd, 10 years later (2020) by rnd0 on Saturday January 08, 2022 @04:50PM (#29856706)
I hate the feature and mission creep of systemd and try to use other unixes where I am able; but what you wrote is downright insane.

There were several init replacements in the mainstream before systemd. OSX and Solaris both had their own, and they were as UNIX (officially certified) as you can get.

Also, as long as we're doing non-sequitors; Microsoft is more likely to buy Canonical than they are to buy RedHat or IBM.

Re:Systemd, 10 years later (2020) by wrycoder on Saturday January 08, 2022 @07:12PM (#29858189)
Lennart Poettering, the fellow who is turning GNU/Linux into a version of Windows, works for Red Hat.
Re:Systemd, 10 years later (2020) by morelisp on Sunday January 09, 2022 @08:19AM (#29862952)
> turning GNU/Linux into a version of Windows

The piece of software systemd is most like is launchctl, which doesn't come from Windows.

On the other hand, the biggest "Windows-ism" to reach Linux lately is io_uring. But it's both too technical and too useful to have some populist uprising against it.

Re:Systemd, 10 years later (2020) by wrycoder on Sunday January 09, 2022 @10:51PM (#29870395)
systemd user sessions, socket activation, sysusers, dynamic users, systemd-homed, temporary directory setup, transient units, anything talking to the slice or control group APIs, containerization, firstboot, systemd’s whole “preset” system-wide configuration and policy mechanism for admins to say “what services do I want launched when installed and what services do I want to leave stopped until I configure them”, “stateless system” capabilities, and I’m probably forgetting another dozen.

I don't care about the init system - I reboot a Linux system once in a blue moon, for kernel updates. It's the rest of the complication and changes to a system that I had already made the effort to master. I understand that the New Linux is better for Enterprise, so that's what is going to happen. That doesn't mean I have to like Poettering gradually re-writing the entire base of userland. I just want to run simple servers, not a major enterprise.

Re:Systemd, 10 years later (2020) by jcelerier on Saturday January 08, 2022 @04:27PM (#29856475)
that's great because the unix philosophy is pretty much a PITA as soon as you get out of grep | cut | tail | tee. I definitely don't want "unix philosophy" for operating system management, that is the wrong tool for the job.
Re:Systemd, 10 years later (2020) by hulitu on Sunday January 09, 2022 @04:20PM (#29867434)
Then you should not use UNIX then. There is another mainstream OS besides UNIX. Some people like to be able to know what their system does and like to use tools on which they can rely on even when things go wrong.
Re:Systemd, 10 years later (2020) by awrmc on Sunday January 09, 2022 @04:34PM (#29867540)
I think it's fair to say that Linux isn't Unix and goes well beyond the design constraints of Unix that were imposed when it was originally started in 1969. That's the era you stick to when you insist on only doing things the Unix way, but there are a lot of other ways to know what your system does and have reliable tools. In current times the most common usage of Linux is Android, which is ostensibly not Unix-like at all regarding its userspace. If you're talking about GNU, that quite literally means "GNU is not Unix".
Re:Systemd, 10 years later (2020) by jcelerier on Sunday January 09, 2022 @05:47PM (#29868179)
yes, I don't use UNIX, I use ArchLinux which is a much better operating system for my computer needs. The "proper" UNIX I've used (macOS) really sucked in comparison.
Re:Systemd, 10 years later (2020) by wrycoder on Sunday January 09, 2022 @10:58PM (#29870444)
I've used Arch, it's really excellent. But, not now that it's systemd. I use Devuan for my servers, and Alpine for my desktop.

I use MacOS and iOS for internet viewing and A/V. I have no interest in how they are implemented - superficial observation indicates they are a mess. I do ssh into my servers from MacOS - it's comfortable with my laptop actually in my lap.

Re:Systemd, 10 years later (2020) by kaba0 on Sunday January 09, 2022 @04:45AM (#29861872)
Linux the kernel doesn’t respect the Unix philosophy either by a huge margin. Also, Unix philosophy is not even the Saint script — it can be good for some problems but terrible for others. In certain cases a distributed between 34 small programs is just a worse approach that will be bug prone and hard to test.
Re:Systemd, 10 years later (2020) by bigbillheck on Saturday January 08, 2022 @08:42PM (#29858924)
I've been using various unices for thirty years this year. I have no respect for the 'unix philosophy'.
Re:Systemd, 10 years later (2020) by hulitu on Sunday January 09, 2022 @04:22PM (#29867445)
I am married since 30 years. I have no respect for my wife /s
Re:Systemd, 10 years later (2020) by int_19h on Saturday January 08, 2022 @11:53PM (#29860277)
If you want the Unix philosophy, why not use an actual Unix? The BSDs not only all have traditional init systems, but are also more in line with how old-school Unix worked in general (e.g. base system segregation).
Re:Systemd, 10 years later (2020) by wrycoder on Sunday January 09, 2022 @09:09AM (#29863327)
I have. OpenBSD is great!

The biggest problem I had was that it was difficult to keep upgraded. In those days, it was basically a re-install every six months, plus a merge of any local changes. I understand things are much better now, and I may give it another try.

Re:Systemd, 10 years later (2020) by int_19h on Sunday January 09, 2022 @08:18PM (#29869404)
FreeBSD is generally more straightforward for desktop use, IMO.
Re:Systemd, 10 years later (2020) by wrycoder on Sunday January 09, 2022 @11:02PM (#29870483)
I like OpenBSD - it's so clean. I use i3 and don't care about audio/video, so my needs are minimal. I use MacOS/iOS to view the internet, but not for development.