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 1835422 - pcp-testsuite-5.1.0-2.el8 package is missing /var/lib/pcp/testsuite/pcpqa.pp file
Summary: pcp-testsuite-5.1.0-2.el8 package is missing /var/lib/pcp/testsuite/pcpqa.pp ...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: pcp
Version: 8.3
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: rc
: 8.3
Assignee: Mark Goodwin
QA Contact: Jan Kurik
URL:
Whiteboard:
Depends On: 1792971
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-05-13 18:20 UTC by Jan Kurik
Modified: 2021-09-17 12:48 UTC (History)
5 users (show)

Fixed In Version: pcp-5.1.1
Doc Type: No Doc Update
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-11-04 03:00:37 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2020:4684 0 None None None 2020-11-04 03:00:44 UTC

Description Jan Kurik 2020-05-13 18:20:58 UTC
Description of problem:
When running pcp-testsuite tests, the testsuite generates the following error message:

libsemanage.map_file: Unable to open pcpqa.pp
 (No such file or directory).
libsemanage.semanage_direct_install_file: Unable to read file pcpqa.pp
 (No such file or directory).
semodule:  Failed on pcpqa.pp!

This is caused by missing /var/lib/pcp/testsuite/pcpqa.pp file in pcp-testsuite-5.1.0-2.el8 package

Version-Release number of selected component (if applicable):
pcp-testsuite-5.1.0-2.el8

How reproducible:
Always

Steps to Reproduce:
1. Install pcp-testsuite package
# yum install -y pcp-testsuite
2. Run the initial test 000
# cd /var/lib/pcp/testsuite && ./check 000

Actual results:
Output of "./check 000" command reports the following error:

libsemanage.map_file: Unable to open pcpqa.pp
 (No such file or directory).
libsemanage.semanage_direct_install_file: Unable to read file pcpqa.pp
 (No such file or directory).
semodule:  Failed on pcpqa.pp!


Expected results:
No semodule error is reported

Additional info:
IMO this is caused by upstream commits e92cb9cf74 and b7b92f0c43, delivering incomplete grep expressions in qa/GNUmakefile.install when checking for SElinux installed modules.

Comment 1 Jan Kurik 2020-05-13 18:40:06 UTC
Proposed fix: https://github.com/performancecopilot/pcp/pull/909

Comment 2 Mark Goodwin 2020-05-14 00:20:05 UTC
In addition to Jan's PR #909, I have a qa/GNUmakefile change to build and ship pcpqa.pp from pcpqa.te in pcp-testsuite.

Comment 6 Jan Kurik 2020-06-12 13:09:27 UTC
Verified on pcp-5.1.1-2.el8  build.

Comment 9 errata-xmlrpc 2020-11-04 03:00:37 UTC
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-2020:4684


Note You need to log in before you can comment on or make changes to this bug.