News for hackers. Stuff that matters.
Re:systemd by Example (2021) by zb10948 on Thursday February 15, 2024 @07:51AM (#39382060)
That's serveral conjectures on your part. Give me metrics about the minority and then back up the fact that most of those people never wrote a sysinit or rc script by hand.

Like it or not Systemd breaks the Unix way and for a certain amount of people (I am not pretending to have a measuring stick) the dogma and philosophy are much more important than perceived ease of use or features.

Re:systemd by Example (2021) by sph on Thursday February 15, 2024 @09:22AM (#39383019)
All the major distros, especially server distros, run systemd. That is proof enough that NOT running systemd is a niche and unsupported configuration in any half-serious setup.

A conjecture is not automatically wrong. The point of a conjecture is to challenge someone else to prove it wrong. You'd have a hard time showing proof that systemd is niche.

And honestly, it does not break UNIX, let's be serious now. A haphazard bunch of shell scripts is not much better than a monolithic binary, and UNIX does not give a damn either way.

I do not care about dogma and philosophy, I am an engineer with software to run and deadlines to meet.

Re:systemd by Example (2021) by Koshkin on Thursday February 15, 2024 @10:18AM (#39383682)
> I am an engineer with software to run and deadlines to meet.

Sure, but UNIX, with its minimalist philosophy, was - luckily for us! - not created under that slogan. With respect to quality, this slogan has always been the one driving its decrease that we see all around us today.

Re:systemd by Example (2021) by sph on Thursday February 15, 2024 @12:38PM (#39385624)
UNIX was created by engineers to run software, not as a philosophical device.

Sorry to say, yours is a terrible excuse. I respect that you might not like systemd, no software is perfect and systemd has many flaws, but the "think of the UNIX philosophy" is righteous nonsense that I cannot take seriously.

The real world is not black-and-white, with or against us. One of the most beloved UNIX tools, Emacs, is as far removed from the minimalist philosophy that some have decided to be UNIX's crowning achievement. It is not. Linux and UNIX have not won because we're all into minimalism, or dogmatic zealotry.

Re:systemd by Example (2021) by Koshkin on Thursday February 15, 2024 @01:45PM (#39386630)
To be fair, "Unix philosophy" was originated by said engineers themselves.

https://en.wikipedia.org/wiki/Unix_philosophy

Speaking of emacs, it was created outside Unix, to be later reincarnated by Stallman as part of his "GNU's Not Unix" project.

Re:systemd by Example (2021) by e12e on Thursday February 15, 2024 @10:08AM (#39383529)
> A haphazard bunch of shell scripts is not much better than a monolithic binary

If know shell scripts you can read and adapt the former. You can keep the state in vcs without needing a compile artifact or a compiler.

How much work is it to add a bespoke feature to systemd?

It's a tradeoff for sure, but let's not pretend simplicity has no benefits.

And knowledge of Cron transfers to the bsds.

Re:systemd by Example (2021) by op00to on Thursday February 15, 2024 @09:56AM (#39383374)
Why would I care about "breaking the Unix way"?
Re:systemd by Example (2021) by PlutoIsAPlanet on Thursday February 15, 2024 @10:03AM (#39383461)
Because people who probably have never used Unix said it's superior.
Re:systemd by Example (2021) by fsflover on Thursday February 15, 2024 @11:19AM (#39384562)
Re:systemd by Example (2021) by op00to on Thursday February 15, 2024 @02:58PM (#39387785)
I don't care about a 50 year old technology philosophy. Times have changed.

Cloud computing and the prevalence of highly distributed systems have completely changed how software is deployed, scaled, and managed. These environments often rely on complex orchestration which can stretch the boundaries of the UNIX philosophy towards systems that are more about interactions between distributed components than about simple, single-purpose tools.

Re:systemd by Example (2021) by fsflover on Thursday February 15, 2024 @04:34PM (#39389263)
I don't see how it's relevant. An orchestration tool can also follow the Unix way by not implementing too much functionality and relying on the small tools for subtasks.
Re:systemd by Example (2021) by okanat on Thursday February 15, 2024 @07:10PM (#39391190)
And do you know what systemd is? A project that produces multiple orthogonal executables that share a syntax paradigm and communicate over standardized IPC mechanisms.

I think the only valid-ish argument these Unix philosophy discussions boil down to "why didn't they use purely text based interfaces". Well because they are inefficent and hard to debug and reason with. Making things text only doesn't make them more understandable but they make sure the programs waste energy and development time in meaningless parsing code that is full of security issues.

Re:systemd by Example (2021) by fsflover on Friday February 16, 2024 @04:01AM (#39394768)
You have a point concerning the text files. (Although I would be really interested to see an example where efficiency of text files is insufficient on modern hardware.)

However "multiple orthogonal multiple orthogonal executables" is just a strawman: their interfaces are unstable and non-straightforward, aand communicate over standardized IPC mechanismsnd one can't reliably replace one of them with an alternative. It's technically true but in practice not. This effectively makes it a huge, inflexible, not-easily-verifiable blob with wide permissions and, potentially, many bugs.

> and communicate over standardized IPC mechanisms

I've never seen that anyone could replace one systemd component with an alternative implementation. Did you?

Re:systemd by Example (2021) by 9dev on Friday February 16, 2024 @06:31PM (#39404452)
You’re commenting on a post by someone that managed to encapsulate a fully functional instance of an init manager, ripped out all of its default configuration, and replaced them with dummy files - just to find out the whole thing works exactly as documented.

And now you seriously argue this is brittle, non-straightforward, inflexible, and hard to verify? For real?

If I ever have seen a bloody well designed software system, it is this!

Re:systemd by Example (2021) by op00to on Thursday February 15, 2024 @05:58PM (#39390458)
Why? For old time’s sake?
Re:systemd by Example (2021) by fsflover on Friday February 16, 2024 @03:53AM (#39394714)
See the Wiki link above.
Re:systemd by Example (2021) by fsflover on Friday February 16, 2024 @09:21AM (#39397377)
Re:systemd by Example (2021) by Koshkin on Thursday February 15, 2024 @10:22AM (#39383730)
Right. Why would one care about principles.
Re:systemd by Example (2021) by op00to on Thursday February 15, 2024 @10:45AM (#39384103)
They’re not my principles, and I spent the first 15 years of my career administering real capital U UNIX systems.
Re:systemd by Example (2021) by mardifoufs on Thursday February 15, 2024 @02:55PM (#39387745)
Do you care about my principles too? Mine don't involve a Unix philosophy.