Bug 1926756
Summary: | selinux issue with pcp-pmda-sockets | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 8 | Reporter: | Jan Kurik <jkurik> |
Component: | pcp | Assignee: | Mark Goodwin <mgoodwin> |
Status: | CLOSED ERRATA | QA Contact: | Jan Kurik <jkurik> |
Severity: | medium | Docs Contact: | Apurva Bhide <abhide> |
Priority: | medium | ||
Version: | 8.4 | CC: | agerstmayr, jkurik, mgoodwin, nathans, patrickm |
Target Milestone: | rc | Keywords: | Bugfix, Triaged |
Target Release: | 8.4 | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | pcp-5.2.5-3 | Doc Type: | No Doc Update |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2021-05-18 15:19:49 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
Jan Kurik
2021-02-09 12:17:27 UTC
Jan, were there any other AVCs (other than the four listed /usr/sbin/ss operations on netlink_tcpdiag_socket) in the audit log on your RHEL84 test system? On my f33 test system I'm also seeing AVCs denying execute and execute_no_trans like the following: type=AVC msg=audit(1613000440.144:54204): avc: denied { execute } for pid=3891551 comm="pmcd" name="bash" dev="dm-1" ino=137448978 scontext=system_u:system_r:pcp_pmcd_t:s0 tcontext=system_u:object_r:unlabeled_t:s0 tclass=file permissive=1 type=AVC msg=audit(1613000440.144:54205): avc: denied { execute_no_trans } for pid=3891551 comm="pmcd" path="/usr/bin/bash" dev="dm-1" ino=137448978 scontext=system_u:system_r:pcp_pmcd_t:s0 tcontext=system_u:object_r:unlabeled_t:s0 tclass=file permissive=1 Thanks Hi Mark, I tried to kept the sockets pmda running for a while and run the upstream testsuite with '-g pmda.sockets' on it several times. This has generated one more AVC beside of those already reported (nlmsg_read). Here is the full list of AVCs I can see on RHEL-8.4: #============= pcp_pmcd_t ============== allow pcp_pmcd_t self:netlink_tcpdiag_socket { bind create getattr nlmsg_read setopt }; However I do not see any of those AVCs you reported above. I do not observe any AVC issues on the pcp-5.2.5-3 build. This BZ has been verified on x86_64, ppc64le, aarch64 platforms. Due to lack of s390x systems, the verification on s390x platform has been done only on a shared system with limited testing capabilities -> setting SanityOnly flag. 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 (pcp bug fix and enhancement update), 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/RHBA-2021:1754 |