[PATCH v1] virtqemud: remove sysconfig file

Olaf Hering olaf at aepfle.de
Mon Jul 19 16:21:34 UTC 2021


Am Mon, 19 Jul 2021 12:01:57 -0400
schrieb Andrea Bolognani <abologna at 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 833 bytes
Desc: Digitale Signatur von OpenPGP
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20210719/0ea4ef71/attachment-0001.sig>


More information about the libvir-list mailing list