Bug 1876452

Summary: Typos in pmmgr.service, pmcd.service and pmproxy.service unit files
Product: Red Hat Enterprise Linux 8 Reporter: Jan Kurik <jkurik>
Component: pcpAssignee: pcp-maint <pcp-maint>
Status: CLOSED DUPLICATE QA Contact: Jan Kurik <jkurik>
Severity: low Docs Contact:
Priority: low    
Version: 8.3CC: agerstmayr, jkurik, mgoodwin, nathans, patrickm
Target Milestone: rc   
Target Release: 8.4   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: pcp-5.2.2-1.el8 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-09-07 23:22:22 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 2020-09-07 09:05:13 UTC
Description of problem:
There are wrong man page references in pmmgr.service, pmcd.service and pmproxy.service unit files.


Version-Release number of selected component (if applicable):
* RHEL-8.3.0-20200825.0
* pcp-5.1.1-3.el8


How reproducible:
Always


Steps to Reproduce:
1. Install pcp-manager and pcp-zeroconf packages
# yum install -y pcp-manager pcp-zeroconf

2. Run systemd verification on delivered unit files
# systemd-analyze verify /usr/lib/systemd/system/pmproxy.service /usr/lib/systemd/system/pmcd.service /usr/lib/systemd/system/pmmgr.service

3. Check the output for reported issues

Actual results:
# systemd-analyze verify /usr/lib/systemd/system/pmproxy.service /usr/lib/systemd/system/pmcd.service /usr/lib/systemd/system/pmmgr.service
pmproxy.service: man pmproxy(8) command failed with code 16
pmcd.service: man pmcd(8) command failed with code 16
pmmgr.service: man pmmgr(8) command failed with code 16

Expected results:
The "systemd-analyze verify" command does not report any issues

Additional info:
* All the above mentioned unit files reffer to man section #8, while IMO the reference should be to man section #1
* If I am not mistaken, the pmmgr service will be obsoleted in pcp-5.2, so only pmproxy.service and pmcd.service will deserve a fix

Comment 1 Jan Kurik 2020-09-07 09:17:08 UTC
Proposed upstream fix: https://github.com/performancecopilot/pcp/pull/1031

Comment 2 Nathan Scott 2020-09-07 23:22:22 UTC
Thansk Jan, merged upstream - will arrive in RHEL via the 8.4 rebase.

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