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

Peter Krempa posted 1 patch 2 years, 3 months ago
Test syntax-check failed
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/libvirt tags/patchew/9335224f2744bfda499f4c1712d0dbda7410faac.1642604474.git.pkrempa@redhat.com
libvirt.spec.in | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
[PATCH] spec: Run pre/post-install stuff on 'daemon-driver-storage-core'
Posted by Peter Krempa 2 years, 3 months ago
'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@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

Re: [PATCH] spec: Run pre/post-install stuff on 'daemon-driver-storage-core'
Posted by Andrea Bolognani 2 years, 3 months ago
On Wed, Jan 19, 2022 at 04:01:14PM +0100, Peter Krempa wrote:
> '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@redhat.com>
> ---
>  libvirt.spec.in | 8 ++++----
>  1 file changed, 4 insertions(+), 4 deletions(-)

Reviewed-by: Andrea Bolognani <abologna@redhat.com>

-- 
Andrea Bolognani / Red Hat / Virtualization

Re: [PATCH] spec: Run pre/post-install stuff on 'daemon-driver-storage-core'
Posted by Daniel P. Berrangé 2 years, 3 months ago
On Wed, Jan 19, 2022 at 04:01:14PM +0100, Peter Krempa wrote:
> '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.

Doh

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

Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>


Regards,
Daniel
-- 
|: https://berrange.com      -o-    https://www.flickr.com/photos/dberrange :|
|: https://libvirt.org         -o-            https://fstop138.berrange.com :|
|: https://entangle-photo.org    -o-    https://www.instagram.com/dberrange :|