News for hackers. Stuff that matters.
Re:Systemd 254 released, deprecating sysvinit scripts by vkazanov on Friday July 28, 2023 @11:11AM (#36907958)
You do realise that sysvinit scripts are much, much, much more fragile?

Systemd has its share of problems but it's vastly better than a bag of spaghetti shell scripts.

Re:Systemd 254 released, deprecating sysvinit scripts by haolez on Friday July 28, 2023 @11:14AM (#36908032)
The bag of spaghetti in systemd's case is not visible to you, but it's there in thousands and thousands of C code (and I use systemd).
Re:Systemd 254 released, deprecating sysvinit scripts by vkazanov on Friday July 28, 2023 @11:41AM (#36908534)
Yes, systemd is far from trivial. The model of its operation is rather convoluted.

But most people just don't care. long running applications are wrapped in a control group, can be reliably killed, stopped, etc.

There some questions around binary logs, yes, but nothing truly unbearable.

Re:Systemd 254 released, deprecating sysvinit scripts by sophacles on Friday July 28, 2023 @11:39AM (#36908497)
Can you define spaghetti in this context, and point to examples in the code?
Re:Systemd 254 released, deprecating sysvinit scripts by haolez on Friday July 28, 2023 @06:46PM (#36914397)
My point is that the complexity is still there, but hidden.

There is good and bad code in systemd as there is good and bad sysv init scripts.

Re:Systemd 254 released, deprecating sysvinit scripts by kaba0 on Saturday July 29, 2023 @03:23AM (#36917763)
Which is the proper place for complexity to live in and get properly tested by millions of boots each minute. Remember, essential complexity of a task can never be reduced.

As opposed to that shitty bash script you pasted from 3 stackoverflow answers that already has 3 bugs just from existing, let alone all the indeterminacy that comes with it execution with all the other similarly shitty bash scripts, all unique to your system.