From 522ffd2e969ddf52755efc5bb3e20229315efbc4 Mon Sep 17 00:00:00 2001 From: Jim Fehlig Date: Tue, 22 Nov 2022 16:18:27 -0700 Subject: [PATCH] spec: Remove daemon postun trigger MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Remove %triggerpostun for the daemon package. Upgrades from libvirt < 1.3.0 are now unlikely. Signed-off-by: Jim Fehlig Reviewed-by: Daniel P. Berrangé --- libvirt.spec.in | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/libvirt.spec.in b/libvirt.spec.in index 277ecd3eb3..fa94cda3c5 100644 --- a/libvirt.spec.in +++ b/libvirt.spec.in @@ -1466,18 +1466,6 @@ if [ $1 -ge 1 ] ; then fi %systemd_postun libvirt-guests.service -# In upgrade scenario we must explicitly enable virtlockd/virtlogd -# sockets, if libvirtd is already enabled and start them if -# libvirtd is running, otherwise you'll get failures to start -# guests -%triggerpostun daemon -- libvirt-daemon < 1.3.0 -if [ $1 -ge 1 ] ; then - /bin/systemctl is-enabled libvirtd.service 1>/dev/null 2>&1 && - /bin/systemctl enable virtlogd.socket virtlogd-admin.socket || : - /bin/systemctl is-active libvirtd.service 1>/dev/null 2>&1 && - /bin/systemctl start virtlogd.socket virtlogd-admin.socket || : -fi - %posttrans daemon %libvirt_sysconfig_posttrans libvirtd virtproxyd virtlogd virtlockd libvirt-guests if test %libvirt_daemon_needs_restart libvirtd -- 2.47.2