[Fedora-xen] SELinux HVM unfriendly?
Daniel P. Berrange
berrange at redhat.com
Mon Nov 20 13:28:34 UTC 2006
On Mon, Nov 20, 2006 at 07:22:54PM +1000, Robert Thiem wrote:
> When getting hardware virtualisation running on my machine I noticed that
> xen couldn't find my file backed disk unless I put selinux back to
> permissive.
In FC6 GA you had to make sure the file for the disk was under /xen
to be labelled correctly. In rawhide (and I think latest FC6 policy)
we're moving to /var/lib/xen/images. To see what the required dir is
run
semanage context -l | grep xen_image_t
You can also define new locations any time you like using semanage,
eg
semanage fcontext -a -f "" -t xen_image_t '/some/directory(/.*)?'
Regards,
Dan.
--
|=- Red Hat, Engineering, Emerging Technologies, Boston. +1 978 392 2496 -=|
|=- Perl modules: http://search.cpan.org/~danberr/ -=|
|=- Projects: http://freshmeat.net/~danielpb/ -=|
|=- GnuPG: 7D3B9505 F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 -=|
More information about the Fedora-xen
mailing list