dom0/init: create /var/run/qubes at startup and set permissions
If /var/run is on tmpfs (which is the case in fc18), its subdirs must be recreated at each reboot. As we already have script for similar things, just extend it. Also make /proc/xen/xenbus user-accessible for xenstore reads/writes.
This commit is contained in:
parent
5de6f5ad10
commit
4f71c5aeda
@ -9,8 +9,13 @@ chgrp qubes /var/log/xen
|
||||
chmod 770 /var/log/xen
|
||||
chgrp qubes /proc/xen/privcmd
|
||||
chmod 660 /proc/xen/privcmd
|
||||
chgrp qubes /proc/xen/xenbus
|
||||
chmod 660 /proc/xen/xenbus
|
||||
chgrp qubes /dev/xen/evtchn
|
||||
chmod 660 /dev/xen/evtchn
|
||||
mkdir -p /var/run/qubes
|
||||
chgrp qubes /var/run/qubes
|
||||
chmod 770 /var/run/qubes
|
||||
touch /var/run/qubes/xl-lock
|
||||
chgrp qubes /var/run/qubes/xl-lock
|
||||
chmod 660 /var/run/qubes/xl-lock
|
||||
|
Loading…
Reference in New Issue
Block a user