News for hackers. Stuff that matters.
Re:Systemd 254 released, deprecating sysvinit scripts by jmclnx on Friday July 28, 2023 @11:58AM (#36908811)
True, but soon he will be dropping script integration, not that I care, but the coincidence is a interesting. Join M/S, drop shell scripts :)
Re:Systemd 254 released, deprecating sysvinit scripts by op00to on Friday July 28, 2023 @12:27PM (#36909321)
Script integration is not dropped. You can easily run a script from a unit file.
Re:Systemd 254 released, deprecating sysvinit scripts by bravetraveler on Friday July 28, 2023 @01:09PM (#36909983)
Yea, they're dropping the native generator for /etc/init.d, I believe. Scripts placed here implicitly became systemd services.

Nothing of huge value is lost. Distributions play an important part, we shouldn't forget. They can maintain something like this for users, if so inclined.

This mostly hurts third party/ancient/naive packages that you probably, eventually, won't want to install on your distribution for other reasons.

This won't affect any packages natively provided by your distribution of choice. Think those random RPMs/DEBs you get from an external vendor -- UPS, keyboard, whatever.

They've had over a decade to see the writing on the wall, adding approximately 12 lines to their entire codebase and packaging spec. Probably a net-reduction given the NIH-syndrome of these scripts.

Instead, I've seen them make this directory, put their scripts inside, and just expect things to work out. It did, arguably by chance. The compatibility was deliberate, but support isn't forever.

Re:Systemd 254 released, deprecating sysvinit scripts by op00to on Friday July 28, 2023 @03:53PM (#36912374)
That’s wild! I too have seen horror I wish I could forget.

For those still worried, the pain is limited to about 15 minutes of writing a unit file, testing it, and waiting for ci or builds to finish!

I expect to have to do this for older or more esoteric stuff, but I also enjoy writing unit files.

Re:Systemd 254 released, deprecating sysvinit scripts by kaba0 on Saturday July 29, 2023 @03:15AM (#36917730)
> I expect to have to do this for older or more esoteric stuff, but I also enjoy writing unit files

You can’t even do that as those are not deterministic.

Re:Systemd 254 released, deprecating sysvinit scripts by op00to on Saturday July 29, 2023 @08:12AM (#36919482)
I can’t do what? Write unit files for older applications? Because unit files? the applications? are not deterministic?