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.
Description of problem:
When /usr/libexec/pcp/bin/pmlogger_daily_report is triggered by cron/systemd before PCP upstream testsuite runs for the first time, the testsuite fails with the following message:
000 - failed permissions check
Version-Release number of selected component (if applicable):
This issue is reproducible at least on all PCP-4.x and on all already released PCP-5.x releases (the latest currently available version is pcp-5.0.2-4.el8)
How reproducible:
Always
Steps to Reproduce:
1. On a fresh installation of RHEL (i.e. RHEL-7.7 or RHEL-8.2) install PCP and the upstream testsuite
# yum install -y pcp-zeroconf pcp-testsuite
2. Make sure /var/log/pcp/sa does not yet exist
# [[ -d /var/log/pcp/sa ]] & rm -rf /var/log/pcp/sa
3. Either wait until "pmlogger_daily_report-poll.timer" is fired or manually trigger the service
# systemctl start pmlogger_daily_report-poll.service
4. Run the initial check of upstream testsuite
# cd /var/lib/pcp/testsuite && ./check 000
Actual results:
The check fails with the following error message:
000 - failed permissions check
Expected results:
The check passes.
Additional info:
The "./check 000" command generates the following output in "000.out.bad" file:
*** Failed permissions/ownership checks ***
/var/log/pcp/sa: wrong mode: expected 775 (from src/pmlogger/GNUmakefile), found 755
drwxr-xr-x. 2 pcp pcp 6 Feb 20 05:28 /var/log/pcp/sa