On Mon, 2020-09-28 at 17:35 +0200, Olaf Hering wrote:
Am Mon, 28 Sep 2020 15:33:36 +0200 schrieb Thorsten Kukuk <kukuk@suse.de>:
When I wrote the first mail I also thought about a valid usecase for keeping /etc/sysconfig today. I haven't found one.
The obvious one: We are SUSE, we do it that way since two decades.
Doing something in an imperfect way for 20 years isn't really good grounds for not seeking to improve the situation now.
The potential trouble with fillup will also happen with every other location: stale admin controlled key=value entries will remain unless the pkg provides an upgrade path. Some pkgs have one, most pkgs do not. It is up to each pkg to decide how to move forward with existing files.
Indeed. I support Thorsten's suggestion of retiring /etc/sysconfig and instead using /etc/default and /usr/etc/default but that agreement comes with the assumption that we throw the mess that is fillup out of the window at the same time. This makes sense, given /usr/etc/* is an area we should _know_ we control, and we do not have to worry about users tampering with that location (as they have /etc/* for that), so we can take the proper measures to ensure our /usr/etc/* config files are always pristine, sane defaults, without any stale values. Yes, /etc/* might contain user-supplied stale values after an upgrade. But that's fine. /etc/* should be considered _user data_. It's the user's domain, let them put old nonsense in there, or broken nonsense. In the same way we shouldn't be tinkering with what users put in their /home, we should leave /etc well alone and trust in the user to be able to manage that themselves properly. With /usr/etc providing a pristine reference point, it should always be easy for users to evaluate their custom configurations for things that can be removed or optimised. -- Richard Brown Linux Distribution Engineer - Future Technology Team Phone +4991174053-361 SUSE Software Solutions Germany GmbH, Maxfeldstr. 5, D-90409 Nuernberg (HRB 36809, AG Nürnberg) Geschäftsführer: Felix Imendörffer -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org