Bug 1806428

Summary: Improve pmlogger and pmie system log messages
Product: Red Hat Enterprise Linux 8 Reporter: Oliver Falk <ofalk>
Component: pcpAssignee: Mark Goodwin <mgoodwin>
Status: CLOSED ERRATA QA Contact: Jan Kurik <jkurik>
Severity: low Docs Contact:
Priority: unspecified    
Version: 8.3CC: agerstmayr, chorn, fweimer, jkurik, mgoodwin, nathans, patrickm, peter.vreman, ponikam, rmetrich, sbalasub
Target Milestone: rcKeywords: Bugfix, Triaged
Target Release: 8.3Flags: pm-rhel: mirror+
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: pcp-5.1.0 Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-11-04 03:00:37 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:
Bug Depends On:    
Bug Blocks: 1122832    

Description Oliver Falk 2020-02-24 08:05:35 UTC
Description of problem:

Customer reports that since RHEL 7.7, the following is logged after a reboot:

    Feb 11 08:38:07 xx-xx-xxxx pmie[17588]: # /usr/bin/systemctl enable pmie.service
    Feb 11 08:38:08 xx-xx-xxxx systemd[1]: pmie.service: Supervising process 17800 which is not our child. We'll most likely not notice when it exits.
    Feb 11 08:38:08 xx-xx-xxxx pmlogger[17919]: # /usr/bin/systemctl enable pmlogger.service
    Feb 11 08:38:16 xx-xx-xxxx systemd[1]: pmlogger.service: Supervising process 23392 which is not our child. We'll most likely not notice when it exits.
    Feb 11 08:38:16 xx-xx-xxxx systemd[1]: pmlogger.service: Supervising process 23392 which is not our child. We'll most likely not notice when it exits.
    Feb 11 08:38:16 xx-xx-xxxx systemd[1]: pmlogger.service: Supervising process 23392 which is not our child. We'll most likely not notice when it exits.
    Feb 11 09:01:23 xx-xx-xxxx systemd[1]: pmlogger.service: Supervising process 8202 which is not our child. We'll most likely not notice when it exits.


Version-Release number of selected component (if applicable): 4.3.2


How reproducible: Always


Steps to Reproduce:
1. # yum install pcp
2. # systemctl enable pmie pmlogger
3. # reboot
4. Check logs

Actual results:
Log is polluted with unnecessary log messages.

Expected results:
No pollution of the logs files.


Additional info:
* This didn't happen with RHEL 7.6 and therefore can be seen as a regression in RHEL 7.7.
* Customer case will be linked.
* Related RHBZ#1780003.

Comment 3 Oliver Falk 2020-02-24 09:27:15 UTC
I've adapted the title of this BZ, since a second issue came in that is related. Therefore I'd suggest we try to generally improve the (system) logging of PCP.

Comment 13 Mark Goodwin 2020-05-11 11:36:47 UTC
*** Bug 1833647 has been marked as a duplicate of this bug. ***

Comment 14 Renaud Métrich 2020-05-11 12:12:40 UTC
*** Bug 1833648 has been marked as a duplicate of this bug. ***

Comment 15 Jan Kurik 2020-06-12 14:58:10 UTC
The log messages do not contain *is not our child* or *does not belong to service* statements any more.
The current messages looks legit to me when starting/stopping pcp services.
Tested with pcp-5.1.1-1.el8

Comment 20 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