Atomic is supposed just to run containers. In order to allow the containers to read stuff from NFS shares, virt_use_nfs boolean must be enabled manually. Wouldn't it make more sense to turn it on by default? IMO NFS is/will be pretty widely used to access some shared data between containers. Version-Release number of selected component (if applicable): selinux-policy-targeted-3.13.1-122.fc22.noarch On related note, this dontaudit rule makes debugging of NFS problems really hard, there is no visible AVC when a container reads from a NFS share: dontaudit svirt_sandbox_domain mountpoint : dir { ioctl read getattr lock search open } ; I'm for removing the rule.
This is something we would need on project atomic not on the selinux-policy package.
This message is a reminder that Fedora 20 is nearing its end of life. Approximately 4 (four) weeks from now Fedora will stop maintaining and issuing updates for Fedora 20. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At that time this bug will be closed as EOL if it remains open with a Fedora 'version' of '20'. Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, simply change the 'version' to a later Fedora version. Thank you for reporting this issue and we are sorry that we were not able to fix it before Fedora 20 is end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora, you are encouraged change the 'version' to a later Fedora version prior this bug is closed as described in the policy above. Although we aim to fix as many bugs as possible during every release's lifetime, sometimes those efforts are overtaken by events. Often a more recent Fedora release includes newer upstream software that fixes bugs or makes them obsolete.
Colin is there a bugzilla for the fedora atomic platform?
Pretty sure right now kubernetes-ansible and openshift/ansible are setting this. And didn't we change the Docker package?
this is already done by the Docker package: commit 9520a0c4a52427ab7338e997479f84060f330e9c Author: Lokesh Mandvekar <lsm5> Date: Thu Jul 30 16:13:35 2015 +0000 add commit#f12e6c1 from docker-selinux upstream Turn on virt booleans for use with docker I think we should default to virt_use_nfs to handle clustered situations where selinux blocks nfs volumes. This makes docker containers a little less secure, but improves usability. Secondly we need to turn on virt_sandbox_use_all_caps to allod docker run --cap-add to actually work. Having SELinux break this out of the box kind of stinks. This gives slightly less security since the kernel already controls the capabilities separately. From: Daniel J Walsh <dwalsh> Signed-off-by: Lokesh Mandvekar <lsm5> This is what I have on my Fedora 23 Atomic Host: bash-4.3# getsebool -a | grep virt_use_nfs virt_use_nfs --> on So I am going to close this bug.