[PATCH] spec: Run pre/post-install stuff on 'daemon-driver-storage-core'

Peter Krempa pkrempa at redhat.com
Wed Jan 19 15:01:14 UTC 2022


'daemon-driver-storage' is just a meta-package, the actual daemon is in
the 'daemon-driver-storage-core' package, so without installing the meta
package the storage daemon is not being enabled.

Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=2025644
Fixes: 50eae3f8859, b8ef6255444
Signed-off-by: Peter Krempa <pkrempa at redhat.com>
---
 libvirt.spec.in | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/libvirt.spec.in b/libvirt.spec.in
index b9f1e30906..f0ff4c0ece 100644
--- a/libvirt.spec.in
+++ b/libvirt.spec.in
@@ -1483,19 +1483,19 @@ fi
 %libvirt_daemon_perform_restart virtsecretd


-%pre daemon-driver-storage
+%pre daemon-driver-storage-core
 %libvirt_sysconfig_pre virtstoraged

-%post daemon-driver-storage
+%post daemon-driver-storage-core
 %if %{with_modular_daemons}
 %libvirt_daemon_systemd_post virtstoraged
 %endif
 %libvirt_daemon_schedule_restart virtstoraged

-%preun daemon-driver-storage
+%preun daemon-driver-storage-core
 %libvirt_daemon_systemd_preun virtstoraged

-%posttrans daemon-driver-storage
+%posttrans daemon-driver-storage-core
 %libvirt_sysconfig_posttrans virtstoraged
 %libvirt_daemon_perform_restart virtstoraged

-- 
2.34.1




More information about the libvir-list mailing list