Bug 1865762
| Summary: | [RHEL][IBM] CephFS Volume has Permission Denied error while mounting | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 8 | Reporter: | Humble Chirammal <hchiramm> |
| Component: | container-selinux | Assignee: | Daniel Walsh <dwalsh> |
| Status: | CLOSED NOTABUG | QA Contact: | atomic-bugs <atomic-bugs> |
| Severity: | high | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 8.0 | CC: | akgunjal, assingh, dornelas, dwalsh, ebenahar, ekuric, hchiramm, jnovy, jrivera, lvrabec, madam, mmalik, nberry, ocs-bugs, plautrba, ratamir, sabose, sostapov, ssekidde, tsweeney, uchapaga |
| Target Milestone: | rc | ||
| Target Release: | 8.0 | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | 1845166 | Environment: | |
| Last Closed: | 2021-01-28 11:15:55 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: | |||
| Bug Depends On: | |||
| Bug Blocks: | 1845166 | ||
|
Comment 1
Humble Chirammal
2020-08-04 05:00:20 UTC
The selinux-policy packages shipped in RHEL do not define any container_use_cephfs boolean. I believe this bug should be switched to container-selinux component. After installation of the container-selinux package on a RHEL-8.x machine, the container_use_cephfs boolean appears. As Milos mentioned container_use_cephfs is defined in container-selinux rpm package. https://github.com/containers/container-selinux/blob/master/container.te#L32 Switching component from selinux-policy to container-selinux. (In reply to Lukas Vrabec from comment #4) > As Milos mentioned container_use_cephfs is defined in container-selinux rpm > package. > https://github.com/containers/container-selinux/blob/master/container.te#L32 > > Switching component from selinux-policy to container-selinux. Thanks Milos and Lukas. considering this is hitting good number of customers, can we please prioritize this fix in container-selinux. (In reply to Humble Chirammal from comment #6) > (In reply to Lukas Vrabec from comment #4) > > As Milos mentioned container_use_cephfs is defined in container-selinux rpm > > package. > > https://github.com/containers/container-selinux/blob/master/container.te#L32 > > > > Switching component from selinux-policy to container-selinux. > > Thanks Milos and Lukas. considering this is hitting good number of > customers, can we please prioritize this fix in container-selinux. Any updates? If openshift wants to enable this boolean by default, I am all for it. I don't see a reason to enable it by default in container-selinux. Derrick, Given the previous comment from Dan, can/should we move this to OpenShift? Or do you know who from that group we could get to weigh in on this thought? The selinux boolean is already enabled by default on RHEL CoreOS starting with OCP 4.1 (BZ 1694045). I think this bug is specifically about enabling it by default in RHEL 8. Humble, is this issue specific to ROKS which I believe only uses RHEL 7 and not RHCOS? If you're using RHCOS this should just work. This looks like it works as planned. I am closing this as notabug The needinfo request[s] on this closed bug have been removed as they have been unresolved for 500 days |