WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

Re: [Xen-users] Xen and SELinux

To: Henning Sprang <henning_sprang@xxxxxx>
Subject: Re: [Xen-users] Xen and SELinux
From: "Daniel P. Berrange" <berrange@xxxxxxxxxx>
Date: Mon, 11 Dec 2006 17:50:57 +0000
Cc: Xen users mailing list <xen-users@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Mon, 11 Dec 2006 09:51:05 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <5bb00b3f0612110940v586a397cl793e036cecfcbb75@xxxxxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <5bb00b3f0612110940v586a397cl793e036cecfcbb75@xxxxxxxxxxxxxx>
Reply-to: "Daniel P. Berrange" <berrange@xxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.4.1i
On Mon, Dec 11, 2006 at 06:40:06PM +0100, Henning Sprang wrote:
> I just wondered, all Howto's for Fedora, and a lot of other places say
> the user needs to disable SELinux when runinng Xen, at least in dom0.

That is incorrect. With Fedora Core 6 the recommendation is definitely
to have  SELinux enabled when running Xen. The main thing you have to
be careful of is where you keep your filesystem images. The SELinux
policy expects them in /var/lib/xen/images.  Same is true of ISO images
if you're using them to install fully virt guests. 

> And I didn't see any explanation why or on how to make xen work with
> selinux enabled.

If you have disk images in the expected location, then Xen should 'just work'
with SELinux enabled.

> Does it mean it isn't working, is it so simple that there's no need to
> document it, or theorethically possible but too hard to get it
> working?

The howto you found is wrong :-(  

I've added a note about neccessary SELinux disk image directory to the
official Fedora Xen guide.

http://fedoraproject.org/wiki/FedoraXenQuickstartFC6

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  -=| 

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

<Prev in Thread] Current Thread [Next in Thread>