diff --git a/libvirt.changes b/libvirt.changes index 9d76833..5d52791 100644 --- a/libvirt.changes +++ b/libvirt.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Wed Oct 28 06:37:22 UTC 2020 - Franck Bui + +- Drop use of $DISABLE_RESTART_ON_UPDATE in %postrans + + Testing "$DISABLE_RESTART_ON_UPDATE != yes" had no effect since its + value is supposed to be read from /etc/sysconfig/services. + ------------------------------------------------------------------- Wed Oct 14 16:44:22 UTC 2020 - James Fehlig diff --git a/libvirt.spec b/libvirt.spec index 122a7c4..7736934 100644 --- a/libvirt.spec +++ b/libvirt.spec @@ -1229,7 +1229,7 @@ fi # shutdown. We can't use try-restart as libvirtd will own the sockets again # after restart. So we must instead shutdown libvirtd, start the sockets, # then start libvirtd. -if test "$YAST_IS_RUNNING" != "instsys" -a "$DISABLE_RESTART_ON_UPDATE" != yes ; then +if test "$YAST_IS_RUNNING" != "instsys"; then /usr/bin/systemctl is-active libvirtd.service >/dev/null 2>&1 if test $? = 0 ; then /usr/bin/systemctl stop libvirtd.service >/dev/null 2>&1 || :