From: bigon@debian.org (Laurent Bigonville) Date: Mon, 14 Dec 2015 15:03:10 +0100 Subject: [refpolicy] Missing lxc_contexts appconfig file Message-ID: <566ECC1E.2020709@debian.org> To: refpolicy@oss.tresys.com List-Id: refpolicy.oss.tresys.com Hello, lxc support in libvirt is using a lxc_contexts context file which is not present in the refpolicy (but it's present in the Fedora policy) The file in fedora contains the following lines (which are not working in the refpolicy, libvirt fails starting the container): process = "system_u:system_r:svirt_lxc_net_t:s0" content = "system_u:object_r:virt_var_lib_t:s0" file = "system_u:object_r:svirt_sandbox_file_t:s0" sandbox_kvm_process = "system_u:system_r:svirt_qemu_net_t:s0" sandbox_kvm_process = "system_u:system_r:svirt_qemu_net_t:s0" sandbox_lxc_process = "system_u:system_r:svirt_lxc_net_t:s0" Changing svirt_sandbox_file_t to svirt_lxc_file_t seems allow the container to start (in permissive mode). Also does anybody knows for what the sandbox_kvm_process and sandbox_lxc_process lines are used for, I cannot find where this is used? Cheers, Laurent Bigonville