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 1695066

Summary: SELinux is preventing pmdalinux from unix_read access on the semaphore labeled unconfined_t.
Product: Red Hat Enterprise Linux 7 Reporter: swhitcom <swhitcom>
Component: pcpAssignee: Nathan Scott <nathans>
Status: CLOSED DUPLICATE QA Contact: qe-baseos-tools-bugs
Severity: medium Docs Contact:
Priority: unspecified    
Version: 7.6CC: fche, lberk, mgoodwin, nathans, patrickm
Target Milestone: rc   
Target Release: 7.6   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-04-17 04:24:59 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 swhitcom 2019-04-02 12:21:14 UTC
Description of problem:
SELinux is preventing pmdalinux from unix_read access on the semaphore labeled unconfined_t.

*****  Plugin catchall (100. confidence) suggests   **************************

If you believe that pmdalinux should be allowed unix_read access on sem labeled unconfined_t by default.
Then you should report this as a bug.
You can generate a local policy module to allow this access.
Do
allow this access for now by executing:
# ausearch -c 'pmdalinux' --raw | audit2allow -M my-pmdalinux
# semodule -i my-pmdalinux.pp


Additional Information:
Source Context                system_u:system_r:pcp_pmcd_t:s0
Target Context                unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1
                              023
Target Objects                Unknown [ sem ]
Source                        pmdalinux
Source Path                   pmdalinux
Port                          <Unknown>
Host                          PMURTPORAD05.pmusa.net
Source RPM Packages           
Target RPM Packages           
Policy RPM                    selinux-policy-3.13.1-229.el7_6.9.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Permissive
Host Name                     PMURTPORAD05.pmusa.net
Platform                      Linux PMURTPORAD05.pmusa.net
                              3.10.0-957.5.1.el7.x86_64 #1 SMP Wed Dec 19
                              10:46:58 EST 2018 x86_64 x86_64
Alert Count                   62
First Seen                    2019-04-01 14:52:12 EDT
Last Seen                     2019-04-02 08:19:13 EDT
Local ID                      a30a34dd-b2ac-4198-bd12-521b12c8de74

Raw Audit Messages
type=AVC msg=audit(1554207553.40:99121): avc:  denied  { unix_read } for  pid=9383 comm="pmdalinux" key=-1361212904  scontext=system_u:system_r:pcp_pmcd_t:s0 tcontext=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 tclass=sem permissive=1


Hash: pmdalinux,pcp_pmcd_t,unconfined_t,sem,unix_read

Comment 2 Nathan Scott 2019-04-17 04:24:59 UTC
This issue is resolved in latest build for 7.7 - pcp-4.3.1-3 - marking as dup of that rebase BZ for release tracking.

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