From f1a997c1c434f47e02ba8061d70664f58e924f4d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20Marczykowski-G=C3=B3recki?= Date: Wed, 23 Apr 2014 01:50:21 +0200 Subject: [PATCH] systemd: reexec systemd to ensure right version is running SystemD version can differ from initramfs one (which is build in dom0 build environment), so reexec it at startup. This fixes systemd-212 archlinux issue. --- vm-systemd/qubes-sysinit.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/vm-systemd/qubes-sysinit.sh b/vm-systemd/qubes-sysinit.sh index 59e30d9..23cf023 100755 --- a/vm-systemd/qubes-sysinit.sh +++ b/vm-systemd/qubes-sysinit.sh @@ -14,6 +14,9 @@ read_service() { $XS_READ qubes-service/$1 2> /dev/null } +# Ensure we're running right version of systemd (the one started by initrd may be different) +systemctl daemon-reexec + # Wait for evtchn initialization while [ ! -e /proc/xen/xenbus ]; do sleep 0.1