Accepting request 844651 from Virtualization

OBS-URL: https://build.opensuse.org/request/show/844651
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libvirt?expand=0&rev=314
This commit is contained in:
Dominique Leuenberger 2020-11-02 08:38:30 +00:00 committed by Git OBS Bridge
commit a8ffec7d9f
2 changed files with 9 additions and 1 deletions

View File

@ -1,3 +1,11 @@
-------------------------------------------------------------------
Wed Oct 28 06:37:22 UTC 2020 - Franck Bui <fbui@suse.com>
- 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 <jfehlig@suse.com>

View File

@ -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 || :