Bug 1355783
Summary: | virt_sandbox_use_nfs not created when docker-selinux 1.10.3-44.el7 installed causing OpenShift install failure | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 7 | Reporter: | Mike Fiedler <mifiedle> |
Component: | selinux-policy | Assignee: | Lukas Vrabec <lvrabec> |
Status: | CLOSED ERRATA | QA Contact: | Milos Malik <mmalik> |
Severity: | high | Docs Contact: | |
Priority: | high | ||
Version: | 7.2 | CC: | cpitman, dwalsh, ekuric, gouyang, lsm5, lvrabec, mgrepl, mifiedle, mmalik, plautrba, pvrabec, sdodson, ssekidde, tlavigne, xtian |
Target Milestone: | rc | Keywords: | Extras |
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2016-11-04 02:33:58 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Mike Fiedler
2016-07-12 14:16:11 UTC
You were building/installing in the 7.3 branch correct? Problem system is RHEL 7.3 Beta. Trying on RHEL 7.2 From Dan Walsh: The problem is we have an update problem between the policy used in rhel7.3 versus rhel7.2.6. docker-selinux is built for 7.2.6 and is blowing up with the newer selinux-policy package in 7.3 release. We really need to different versions of docker-selinux, one for 7.3 which is built from master while 7.2.6 will still use from the rhel7-1.10 branch. I believe this is straightened out in the current pools. It is an alias for virt_use_nfs # grep virt_sandbox_use_nfs /etc/selinux/targeted/booleans.subs_dist virt_sandbox_use_nfs virt_use_nfs If you do setsebool -P virt_sandbox_use_nfs 1 It should succeed, but it is really setting virt_use_nfs. # rpm -q docker-selinux docker-selinux-1.10.3-55.el7.x86_64 # grep virt_sandbox_use_nfs /etc/selinux/targeted/booleans.subs_dist # setsebool -P virt_sandbox_use_nfs 1 Boolean virt_sandbox_use_nfs is not defined it's not working here. Looks like it is fixed in the rhel7.3 update then. If this does not exist in selinux-policy package in RHEL, then this is their bug. Can not fix this in Docker. Need to add virt_sandbox_use_nfs virt_use_nfs to /etc/selinux/targeted/booleans.subs_dist Fixed in selinux-policy- 3.13.1-102 Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://rhn.redhat.com/errata/RHBA-2016-2283.html I am seeing this issue happening with selinux-policy 3.13.1-102 and docker-selinux 1.10.3-57 on RHEL 7.2. yum reinstall selinux-policy-targeted docker-selinux Do you see errors? |