What | Removed | Added |
---|---|---|
Status | NEW | RESOLVED |
CC | mlatimer@suse.com | |
Resolution | --- | FIXED |
Sorry for the long delay. I've submitted the following spec file fix to openSUE13.2,Leap,Factory/Tumbleweed Index: libvirt.spec =================================================================== --- libvirt.spec (revision 18) +++ libvirt.spec (working copy) @@ -1601,13 +1601,29 @@ %postun daemon /sbin/ldconfig %if %{with_systemd} -%service_del_postun libvirtd.service -%service_del_postun virtlockd.service virtlockd.socket +# On upgrade, defer restarting daemons until %posttrans +if test $1 -eq 0 ; then + for service in libvirtd virtlockd ; do + rm -f "/var/lib/systemd/migrated/$service" 2> /dev/null || : + done + /usr/bin/systemctl daemon-reload >/dev/null 2>&1 || : +fi %else %restart_on_update libvirtd %restart_on_update virtlockd %endif %insserv_cleanup + +%posttrans daemon +# All connection drivers should be installed post transaction. +# Time to restart daemons. +%if %{with_systemd} +if test "$YAST_IS_RUNNING" != "instsys" -a "$DISABLE_RESTART_ON_UPDATE" != yes ; then + for service in libvirtd virtlockd ; do + /usr/bin/systemctl try-restart ${service}.service >/dev/null 2>&1 || : + done +fi +%endif %if %{with_network} %post daemon-config-network The Factory/Tumbleweed version also has virtlogd in the 'service' list. Look for the fix in future maint updates of 13.2/Leap and next Tumbleweed.