Allow normal user to read xenstore values

This is needed by qubes-session
This commit is contained in:
Marek Marczykowski 2011-04-07 18:43:52 +02:00
parent 2f5b6e6582
commit bd56c4709f

View File

@ -15,6 +15,9 @@ start()
exit 1
fi
# Set permissions to /proc/xen/xenbus, so normal user can use xenstore-read
chmod 666 /proc/xen/xenbus
name=$(/usr/bin/xenstore-read name)
if ! [ -f /etc/this_is_dvm ] ; then
# we don't want to set hostname for DispVM