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


[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]