[Fedora-xen] Re: DomU boot on Fedora 6 fails with 'no root found' error.

Daniel P. Berrange berrange at redhat.com
Wed Jan 31 18:44:44 UTC 2007


On Wed, Jan 31, 2007 at 01:40:58PM -0500, Bill Davidsen wrote:
> K T Ligesh wrote:
> >On Wed, Jan 31, 2007 at 02:01:20PM +0000, Daniel P. Berrange wrote:
> >  
> >>On Wed, Jan 31, 2007 at 07:28:25PM +0530, Ligesh wrote:
> >>
> >>Xen filesystem images should be kept in /xen (legacy location) or
> >>/var/lib/xen/images (recommended location) otherwise SELinux will
> >>deny the VM access to the files & the guest will be unable to
> >>mount its filesystem. I suspect this could be what's causing your
> >>VM to not find its root filesystem.
> >>
> >>    
> >
> > I did a setenforce 0 and tried again but got the same error. Shouldn't 
> > that be enough to disable selinux?
> >
> >  
> 
> And at some point will xen and selinux be compatible? I have everything 
> in the "right" place, but it still doesn't work.

Xen is already SELinux compatible if you have images in /var/lib/xen/images
If it is still not working, then it is most likely not an SELinux problem.
If it was, then you would see AVC denials in the system/audit logs describing
the problem

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