|
@@ -17,7 +17,7 @@ if systemd_version_changed ; then
|
|
|
fi
|
|
|
|
|
|
# Wait for xenbus initialization
|
|
|
-while [ ! -e /dev/xen/xenbus ] && [ -e /proc/xen/xenbus ]; do
|
|
|
+while [ ! -e /dev/xen/xenbus ]; do
|
|
|
sleep 0.1
|
|
|
done
|
|
|
|
|
@@ -27,15 +27,6 @@ chmod 0775 /var/run/qubes
|
|
|
mkdir -p /var/run/qubes-service
|
|
|
mkdir -p /var/run/xen-hotplug
|
|
|
|
|
|
-# Set permissions to /proc/xen/xenbus, so normal user can talk to xenstore, to
|
|
|
-# open vchan connection. Note that new code uses /dev/xen/xenbus (which have
|
|
|
-# permissions set by udev), so this probably can go away soon
|
|
|
-chmod 666 /proc/xen/xenbus
|
|
|
-
|
|
|
-# Set permissions to /proc/xen/privcmd, so a user in qubes group can access
|
|
|
-chmod 660 /proc/xen/privcmd
|
|
|
-chgrp qubes /proc/xen/privcmd
|
|
|
-
|
|
|
# Set default services depending on VM type
|
|
|
is_appvm && DEFAULT_ENABLED=$DEFAULT_ENABLED_APPVM && touch /var/run/qubes/this-is-appvm
|
|
|
is_netvm && DEFAULT_ENABLED=$DEFAULT_ENABLED_NETVM && touch /var/run/qubes/this-is-netvm
|