All of lore.kernel.org
 help / color / mirror / Atom feed
* [refpolicy] Missing lxc_contexts appconfig file
@ 2015-12-14 14:03 Laurent Bigonville
  0 siblings, 0 replies; only message in thread
From: Laurent Bigonville @ 2015-12-14 14:03 UTC (permalink / raw)
  To: refpolicy

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2015-12-14 14:03 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-12-14 14:03 [refpolicy] Missing lxc_contexts appconfig file Laurent Bigonville

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.