fedora-selinux January 2012 archive
Main Archive Page > Month Archives  > fedora-selinux archives
fedora-selinux: Re: SELinux for LXC Container

Re: SELinux for LXC Container

From: Daniel P. Berrange <berrange_at_nospam>
Date: Tue Jan 31 2012 - 12:17:41 GMT
To: Shweta Shinde <shwetasshinde24@gmail.com>

On Tue, Jan 31, 2012 at 05:40:44PM +0530, Shweta Shinde wrote:
> Hi everyone,
> I am interested in the security aspects of LXC.
> How can we use SELinux to secure LXC containers?
> Any information will be very helpful.

I recently posted patches to libvirt, which extend the sVirt support
from KVM, to also cover our LXC driver. This will ensure strict
confinement of LXC containers using SELinux

https://www.redhat.com/archives/libvir-list/2012-January/msg01006.html

Fedora 17 policy is being enhanced to support this at the same time.

NB, this only applies to the libvirt LXC userspace driver, which is
completely separate from the LXC sf.net userspace.

Regards,
Daniel
-- |: http://berrange.com -o- http://www.flickr.com/photos/dberrange/ :| |: http://libvirt.org -o- http://virt-manager.org :| |: http://autobuild.org -o- http://search.cpan.org/~danberr/ :| |: http://entangle-photo.org -o- http://live.gnome.org/gtk-vnc :| -- selinux mailing list selinux@lists.fedoraproject.org https://admin.fedoraproject.org/mailman/listinfo/selinux