From d02a77c2ff0a1fe8afb0d786e4ee432035347527 Mon Sep 17 00:00:00 2001 From: Peter Krempa Date: Mon, 2 Sep 2024 14:28:52 +0200 Subject: [PATCH] spec: Demote 'nfs-utils' as a weak dependency of 'daemon-driver-storage-core' 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 Reviewed-by: Pavel Hrdina --- libvirt.spec.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libvirt.spec.in b/libvirt.spec.in index 83867010f0..4dec7ace6f 100644 --- a/libvirt.spec.in +++ b/libvirt.spec.in @@ -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 -- 2.39.5