Bug 1603596
Summary: | The GFS2 PCP PMDA is denied access to debugfs | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 7 | Reporter: | Andrew Price <anprice> |
Component: | pcp | Assignee: | Lukas Berk <lberk> |
Status: | CLOSED ERRATA | QA Contact: | Michal Kolar <mkolar> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 7.6 | CC: | brolley, fche, gfs2-maint, lberk, lvrabec, mgoodwin, mgrepl, mkolar, mmalik, nathans, pevans, plautrba, ssekidde, swhiteho, tbowling |
Target Milestone: | rc | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2018-10-30 09:40:33 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
Andrew Price
2018-07-19 17:18:44 UTC
Paul Evans tells me that this is fixed in upstream pcp, as it has its own policy package, but the patch isn't in RHEL7 yet. Changing component accordingly. Hi Lukas, is it possible to get this fixed for 7.6? Hi Steve, Lukas is on PTO for the next little while, so I'll answer here. It may be too late in the release cycle for 7.6, but we can certainly try - it's not a problem to backport selinux fixes from an engr POV (very low risk change). I've set the devel-ack flag, lets see what the PM & QE folk say. cheers. If we cannot fix it (which would be my preferred solution) it will at least need a release note, since it is not useable with selinux without this. I know it is late in the cycle now, but it was picked up as an issue some time ago, and as you mention it should be a low risk change. Hi Nathan, Steve, The fix with the required additional selinux permissions has been merged upstream since 25th July (and was tested against RHEL 7 with SELinux enabled) with the following commit: 5ca37da22a907af28e5f977bf10fa28704bb5f68 - selinux: pmdagfs2 add additional required rule Cheers, Paul Patch is successfully applied but reported selinux denials should be covered by 'allow pcp_pmcd_t debugfs_t:file { getattr open read };' rule which is already present in pcp-4.1.0-2.el7. Hi Michal, Nathan, Patch adds both: 'allow pcp_pmcd_t debugfs_t:dir { search };' and 'allow pcp_pmcd_t debugs_t:file { write };' which are additional to pcp-4.1.0-2.el7. These extra components to the rules are needed by the PMDA on startup to enable the kernel tracepoints. Cheers, Paul Verified against pcp-4.1.0-4.el7. Did not reproduced because of comment 8. 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://access.redhat.com/errata/RHEA-2018:3095 |