News for hackers. Stuff that matters.
Re:Everything that uses configuration files should report wh... by wpietri on Sunday June 25, 2023 @01:49PM (#36470860)
> Systemd has tools for that, such as systemctl cat which shows all applicable configuration and what files they come from.

Sure, it could be that systemd does have amazing tooling for helping users with the burdens they have created. Or, given the very mixed feelings about systemd, maybe they've tried to be user focused but not hit the mark. I don't know enough to say.

But my point is that either way responses of the form "it's so easy, you just have to remember [9 paragraphs of detail users don't care about]" are part of the problem, not the solution.

Re:Everything that uses configuration files should report wh... by darkwater on Sunday June 25, 2023 @02:34PM (#36471263)
"Make it as easy as possible, but not simpler". I think this applies perfectly here. Systemd has very complicated requirements due to its very unique position in a Linux distribution. And as a (power) end-user of it, you basically need you basically needs to touch only /etc
Re:Everything that uses configuration files should report wh... by danaris on Sunday June 25, 2023 @06:55PM (#36473507)
> Systemd has very complicated requirements due to its very unique position in a Linux distribution.

But are all those requirements actually necessary for the job it's doing? Or have its developers imposed artificial constraints through their choices in designing systemd that make it more complex than it could otherwise be?

Re:Everything that uses configuration files should report wh... by jen20 on Sunday June 25, 2023 @10:59PM (#36475237)
The combination of distributions existing and believing they “own” parts of the system, and users needing to override settings means it is as simple as possible, and no simpler.
Re:Everything that uses configuration files should report wh... by TheNewsIsHere on Monday June 26, 2023 @02:08AM (#36476272)
Put more generically, I think we could add: “unless you build it all yourself, you’re going to have to work with other peoples decisions.”
Re:Everything that uses configuration files should report wh... by rocqua on Monday June 26, 2023 @03:27AM (#36476756)
A distribution 'owning' a directory means that the package manager is allowed to change files in there, and allowed to assume nothing major was changed from what it installed.

A distribution that doesn't own any directories like this effectively can't make any changes. It's like writing a class without private fields.

Re:Everything that uses configuration files should report wh... by ibrahima on Sunday June 25, 2023 @02:48PM (#36471380)
Systemd didn't create this problem. But it solves the issue of distributions shipping config files as part of packages and then on every package upgrade having to reconcile between the distribution's config and your modifications. Now with the drop in system you don't need to do that.

I am not an expert but I think in general systemd has a lot of complexity but it's to handle existing issues in a better way. Some of the older init systems might be simpler to describe or get started but lead to more confusing situations in the long run.