News for hackers. Stuff that matters.
Re:Operating Systems Without Systemd by ori_b on Saturday May 02, 2020 @10:17AM (#23051918)
Cargo culting is the practice of blindly copying a solution without understanding why it makes sense and when it might not apply. You're describing the opposite.
Re:Operating Systems Without Systemd by majewsky on Saturday May 02, 2020 @10:27AM (#23051972)
Fictional Debian dev A: "Why do we have /etc/debian-release? Can't we have a release declaration file with a neutral name, like maybe /etc/os-release, in a format that all other distros can adopt?"

Fictional Debian dev B: "That's how we've always done it. Plus if we touch it it might break some guy's script."

It may not be exactly cargo culting, but at least an adjacent concept.

Re:Operating Systems Without Systemd by JdeBP on Sunday May 03, 2020 @02:31AM (#23057288)
Re:Operating Systems Without Systemd by ori_b on Saturday May 02, 2020 @03:44PM (#23054350)
And that's why we now have BOTH /etc/debian_version AND /etc/os-release. Systemd didn't lead to debian getting rid of the former. So now, not only do you have people writing code that behaves differently (or, more likely, breaks) on different OS versions, it has two different files that it will look at for this.

I wonder how long it'll be before the contents of that file start resembling a user-agent string, complete with "Ubuntu-16.10/Compatible"