dom0: create lockfile for libxl and set dom0 name in xenstore
Create lockfile to set it proper permissions. Without it the first use (qvm-start netvm) will create it with root:root and 600. Without xend, no one sets dom0 name...
This commit is contained in:
parent
3571a34010
commit
891653a413
@ -37,6 +37,11 @@ start()
|
||||
chmod 660 /proc/xen/privcmd
|
||||
chgrp qubes /dev/xen/evtchn
|
||||
chmod 660 /dev/xen/evtchn
|
||||
touch /var/run/qubes/xl-lock
|
||||
chgrp qubes /var/run/qubes/xl-lock
|
||||
chmod 660 /var/run/qubes/xl-lock
|
||||
|
||||
xenstore-write /local/domain/0/name Domain-0
|
||||
|
||||
xl sched-credit -d 0 -w 512
|
||||
cp /var/lib/qubes/qubes.xml /var/lib/qubes/backup/qubes-$(date +%F-%T).xml
|
||||
|
Loading…
Reference in New Issue
Block a user