From bbe085711d9f3ee70de426ddc4b95a802bcb8d04 Mon Sep 17 00:00:00 2001 From: Joanna Rutkowska Date: Mon, 4 Oct 2010 15:25:58 +0200 Subject: [PATCH] Restart qubes_core after Xen update This is needed to re-set qubes permissions on some Xen sockets --- rpm_spec/core-dom0.spec | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/rpm_spec/core-dom0.spec b/rpm_spec/core-dom0.spec index 33a3172f..26251978 100644 --- a/rpm_spec/core-dom0.spec +++ b/rpm_spec/core-dom0.spec @@ -190,6 +190,14 @@ if [ "$1" -gt 1 ] ; then /etc/init.d/qubes_core stop fi +%triggerin -- xen +/etc/init.d/qubes_core stop +/etc/init.d/qubes_core start + +%triggerin -- xen-runtime +/etc/init.d/qubes_core stop +/etc/init.d/qubes_core start + %preun if [ "$1" = 0 ] ; then