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 1806428 - Improve pmlogger and pmie system log messages
Summary: Improve pmlogger and pmie system log messages
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: pcp
Version: 8.3
Hardware: Unspecified
OS: Unspecified
unspecified
low
Target Milestone: rc
: 8.3
Assignee: Mark Goodwin
QA Contact: Jan Kurik
URL:
Whiteboard:
: 1833648 (view as bug list)
Depends On:
Blocks: 1122832
TreeView+ depends on / blocked
 
Reported: 2020-02-24 08:05 UTC by Oliver Falk
Modified: 2023-12-15 17:24 UTC (History)
11 users (show)

Fixed In Version: pcp-5.1.0
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 Bugzilla 1780003 0 unspecified CLOSED pmie does not shut-down gracefully 2023-12-15 17:02:00 UTC
Red Hat Knowledge Base (Solution) 5082281 0 None None None 2020-05-18 06:14:31 UTC
Red Hat Product Errata RHBA-2020:4684 0 None None None 2020-11-04 03:01:00 UTC

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


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