Accepting request 844500 from home:fbui:branches:Virtualization
- 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. OBS-URL: https://build.opensuse.org/request/show/844500 OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=849
This commit is contained in:
parent
f4b4095258
commit
d928164284
@ -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>
|
Wed Oct 14 16:44:22 UTC 2020 - James Fehlig <jfehlig@suse.com>
|
||||||
|
|
||||||
|
@ -1229,7 +1229,7 @@ fi
|
|||||||
# shutdown. We can't use try-restart as libvirtd will own the sockets again
|
# 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,
|
# after restart. So we must instead shutdown libvirtd, start the sockets,
|
||||||
# then start libvirtd.
|
# 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
|
/usr/bin/systemctl is-active libvirtd.service >/dev/null 2>&1
|
||||||
if test $? = 0 ; then
|
if test $? = 0 ; then
|
||||||
/usr/bin/systemctl stop libvirtd.service >/dev/null 2>&1 || :
|
/usr/bin/systemctl stop libvirtd.service >/dev/null 2>&1 || :
|
||||||
|
Loading…
Reference in New Issue
Block a user