]> xenbits.xensource.com Git - libvirt.git/commitdiff
spec: Demote 'nfs-utils' as a weak dependency of 'daemon-driver-storage-core'
authorPeter Krempa <pkrempa@redhat.com>
Mon, 2 Sep 2024 12:28:52 +0000 (14:28 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Thu, 5 Sep 2024 13:24:55 +0000 (15:24 +0200)
The 'nfs-utils' package provides 'showmount' used to detect NFS-based
storage pool sources. As the lookup of storage pool sources can fail
gracefully and does so e.g. if the gluster backend is not installed we
can do the same for NFS.

Apart from allowing a tighter footprint when installing libvirt, this
also allows installation of the storage driver core in cases when a
security policy prohibits use of NFS.

Resolves: https://issues.redhat.com/browse/RHEL-56611
Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Pavel Hrdina <phrdina@redhat.com>
libvirt.spec.in

index 83867010f05c588cfef21cbb1a3d1b5d5932cf84..4dec7ace6f8203dfc0335f4aacb095e573c340dd 100644 (file)
@@ -667,7 +667,7 @@ an implementation of the secret key APIs.
 Summary: Storage driver plugin including base backends for the libvirtd daemon
 Requires: libvirt-daemon-common = %{version}-%{release}
 Requires: libvirt-libs = %{version}-%{release}
-Requires: nfs-utils
+Recommends: nfs-utils
 # For mkfs
 Requires: util-linux
 # For storage wiping with different algorithms