Permission troubles with Xen?

Thought I’d post a quick message about something that kept me busy for way too long!

If you get any permission errors while trying to setup Xen along the lines of …

Access denied ...

Unable to access ...

Device xxx (vbd) could not be connected ...

... does not exist

then it may be worth checking if you’ve got selinux enabled. Check the file /etc/selinux/config and try changing

SELINUX=enforcing

to

SELINUX=disabled

and reboot to see if that cures your problems. If it does then you can either leave selinux disabled (ensure you know the consequences of doing this) or grant the required permissions for selinux.