From e01b29dd76f081b475066245f194fb6b15e6b1e5 Mon Sep 17 00:00:00 2001 From: Joanna Rutkowska Date: Wed, 6 Apr 2011 13:27:01 +0200 Subject: [PATCH] Do not restart VMs during core-dom0 upgrade (#191) --- rpm_spec/core-dom0.spec | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/rpm_spec/core-dom0.spec b/rpm_spec/core-dom0.spec index 42c61177..afbe25a1 100644 --- a/rpm_spec/core-dom0.spec +++ b/rpm_spec/core-dom0.spec @@ -174,7 +174,11 @@ for i in /usr/share/qubes/icons/*.png ; do xdg-icon-resource install --novendor --size 48 $i done -service qubes_core start +# Because we now have an installer +# this script is always executed during upgrade +# and we decided not to restart core during upgrade +#service qubes_core start + if [ "x"$HAD_SYSCONFIG_NETWORK = "xno" ]; then rm -f /etc/sysconfig/network @@ -191,7 +195,10 @@ fi if [ "$1" -gt 1 ] ; then # upgrading already installed package... - /etc/init.d/qubes_core stop +# Do not restart core during upgrade +# most upgrades only modifies qvm-* tools +# and it makes no sense to force all VMs shutdown +# /etc/init.d/qubes_core stop fi %triggerin -- xen