Am Mon, 19 Jul 2021 12:01:57 -0400
schrieb Andrea Bolognani <abologna(a)redhat.com>:
On Fri, Jul 16, 2021 at 12:04:00PM +0200, Olaf Hering wrote:
> None of the files in /etc have to be owned by a package.
> We are slowly getting there.
Is this goal of having packages not touch /etc connected to the idea
of transactionally-updated read-only OS images? If there is an
initiative tracking progress in this area, either in the context of a
single distro or more generally, can you please point me to it?
There is some effort in this area in Tumbleweed, right now one can get still up to 10k
more or less bogus rpm-owned files in /etc. A /etc that is now owned by rpm certainly
helps transactional updates as far as I understand it.
But more importantly it is bad to install empty configuration files:
They often just duplicate what is already written in /usr/share/man or doc.
There is no way to get the delta between a .rpmnew file and the base version.
They just waste space and time during backup and restore.
Ideally /etc should contain just the tiny amount that is really required.
> /etc/sysconfig is not owned by any package, it is entirely
maintained by the admin.
That doesn't seem to be the case at least in Fedora 34:
That might be. On a SUSE system it is driven by fillup, based on fillup-templates.
Olaf