]> git.ipfire.org Git - thirdparty/libvirt.git/commit
rpm: Recommend libvirt-daemon for with_modular_daemons distros
authorAndrea Bolognani <abologna@redhat.com>
Wed, 30 Aug 2023 15:45:47 +0000 (17:45 +0200)
committerAndrea Bolognani <abologna@redhat.com>
Thu, 31 Aug 2023 11:57:07 +0000 (13:57 +0200)
commitaa5895cbc72bd9b4bb1ce99e231b2ac4b25db9c4
treead5289fbed7254c448ff69ac628ef3be54b036cc
parente7d26c5dcd3b988fa02ac1e45baf2f9934623381
rpm: Recommend libvirt-daemon for with_modular_daemons distros

A default deployment on modern distros uses modular daemons but
switching back to the monolithic daemon, while not recommended,
is still considered a perfectly valid option.

For a monolithic daemon deployment, the upgrade to libvirt 9.2.0
or newer works as expected; a subsequent call to dnf autoremove,
however, results in the libvirt-daemon package being removed and
the deployment no longer working.

In order to avoid that situation, mark the libvirt-daemon as
recommended.

This will unfortunately result in it being included in most
installations despite not being necessary, but considering that
the alternative is breaking existing setups on upgrade it feels
like a reasonable tradeoff.

Moreover, since the dependency on libvirt-daemon is just a weak
one, it's still possible for people looking to minimize the
footprint of their installation to manually remove the package
after installation, mitigating the drawbacks of this approach.

https://bugzilla.redhat.com/show_bug.cgi?id=2232805

Signed-off-by: Andrea Bolognani <abologna@redhat.com>
Reviewed-by: Erik Skultety <eskultet@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
libvirt.spec.in