From: bigon@debian.org (Laurent Bigonville)
To: refpolicy@oss.tresys.com
Subject: [refpolicy] Missing lxc_contexts appconfig file
Date: Mon, 14 Dec 2015 15:03:10 +0100 [thread overview]
Message-ID: <566ECC1E.2020709@debian.org> (raw)
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
reply other threads:[~2015-12-14 14:03 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=566ECC1E.2020709@debian.org \
--to=bigon@debian.org \
--cc=refpolicy@oss.tresys.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.