Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 1782685

Summary: New AVC report on pcp-4.3.2-6.el7 build
Product: Red Hat Enterprise Linux 7 Reporter: Jan Kurik <jkurik>
Component: pcpAssignee: pcp-maint <pcp-maint>
Status: CLOSED DUPLICATE QA Contact: qe-baseos-tools-bugs
Severity: medium Docs Contact:
Priority: unspecified    
Version: 7.8CC: agerstmayr, jkurik, mgoodwin, nathans, patrickm
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-12-12 07:03: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 Jan Kurik 2019-12-12 06:47:32 UTC
Description of problem:
During a regular Tier1 testing of the latest RHEL-7.8 compose a new AVC report has been observed.

Version-Release number of selected component (if applicable):
* RHEL compose: RHEL-7.8-20191209.0
* PCP: pcp-4.3.2-6.el7
* Selinux policy: selinux-policy-3.13.1-266.el7

How reproducible:
Always

Steps to Reproduce:
1. Install a fresh system using the RHEL-7.8-20191209.0 compose
2. Install pcp testsuite
3. Run pcp testsuite sanity tests

Actual results:
No AVC report observed

Expected results:
The following reports were observed on a test system:
----
type=AVC msg=audit(1575984592.578:1648): avc:  denied  { getattr } for  pid=28390 comm="pmdaproc" path="/dev/gpmctl" dev="devtmpfs" ino=13827 scontext=system_u:system_r:pcp_pmcd_t:s0 tcontext=system_u:object_r:gpmctl_t:s0 tclass=sock_file permissive=0
----

Additional info:
audit2allow provides the following output:

#============= pcp_pmcd_t ==============
allow pcp_pmcd_t gpmctl_t:sock_file getattr;

Comment 2 Jan Kurik 2019-12-12 06:50:41 UTC
The "Actual" and "Expected" section in the report above should be swapped.
I am sorry for the confusion.

Comment 3 Jan Kurik 2019-12-12 07:03:33 UTC

*** This bug has been marked as a duplicate of bug 1760750 ***