[PATCH v1] virtqemud: remove sysconfig file

Andrea Bolognani abologna at redhat.com
Fri Jul 16 07:58:43 UTC 2021


On Thu, Jul 15, 2021 at 11:23:37PM +0200, Olaf Hering wrote:
> sysconfig files are owned by the admin of the host. He has the liberty
> to put anything he wants into these files. This makes it difficult to
> provide different defaults.
>
> Remove the sysconfig file and place the current desired default into
> the service file.
>
> Local customizations can now go either into /etc/sysconfig/virtqemud
> or /etc/systemd/system/virtqemud.service.d/my-knobs.conf

I'm unclear on what exactly you're trying to achieve here.

The sysconfig files shipped with libvirt contain the defaults, and
the admin is absolutely welcome to tweak them however they might like
after installation, just as is the case for all the configuration
files in /etc/libvirt.

I expect the distro's package manager will then do the right thing
when it comes to preserving these local modifications across libvirt
upgrades - I know for sure that's the case at least in Debian.

This arrangement appears to be very common, too: on my Fedora 34
machine, /etc/sysconfig contains ~25 files, all owned by some package
and most consisting of at least one non-comment lines.

Can you please elaborate on why you feel that changing the status quo
is necessary / desirable?

-- 
Andrea Bolognani / Red Hat / Virtualization




More information about the libvir-list mailing list