Google
  Web www.spinics.net

Re: [PATCH 4/6] Add support for LXC specific SELinux configuration

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


On 05/11/2012 06:10 AM, Daniel P. Berrange wrote:
From: Daniel Walsh<dwalsh@xxxxxxxxxx>

The SELinux policy for LXC uses a different confinguration file

s/confinguration/configuration/

to the traditional svirt one. Thus we need to load

s/to/than/

/etc/selinux/targeted/contexts/lxc_contexts which contains
something like this:

  process = "system_u:system_r:svirt_lxc_net_t:s0"
  file = "system_u:object_r:svirt_lxc_file_t:s0"
  content = "system_u:object_r:virt_var_lib_t:s0"

cleverly designed to be parsable by virConfPtr

Signed-off-by: Daniel P. Berrange<berrange@xxxxxxxxxx>

ACK

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list


[Virt Tools]     [Libvirt Users]     [Fedora Users]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]

Powered by Linux

Google
  Web www.spinics.net