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.
Fixed upstream ...
commit c91f2f13047bd51ea5cd0d23008b9e526ff30311 (HEAD -> master)
Author: Nathan Scott <nathans>
Date: Mon May 21 16:41:56 2018 +1000
pmnewlog: honour any /etc/sysconfig/pmlogger settings
Missed a spot in the PMLOGGER_LOCAL implementation - it
previously was being honoured by pmlogger_check script,
but not pmlogger_daily - tweak pmnewlog to resolve this
and start the primary pmlogger consistently.
Resolves Red Hat BZ #1579881.
Description of problem: The setting PMLOGGER_LOCAL=1 /etc/sysconfig/pmlogger is respected by the init script, but not by the daily cron job. Version-Release number of selected component (if applicable): pcp-3.11.8-7.el7.x86_64 How reproducible: always Steps to Reproduce: 1. Install pcp-zerofonf 2. Set PMLOGGER_LOCAL=1 in /etc/sysconfig/pmlogger 3. check for open ports # ss -tulpen | grep pmlogger tcp LISTEN 0 5 127.0.0.1:4330 *:* users:(("pmlogger",pid=6160,fd=7)) uid:997 ino:22879 sk:ffff880079879740 <-> tcp LISTEN 0 5 ::1:4330 :::* users:(("pmlogger",pid=6160,fd=8)) uid:997 ino:22880 sk:ffff880079871100 v6only:1 <-> 4. Run daily rotation, check for open ports # su pcp -s /bin/bash -c "/usr/libexec/pcp/bin/pmlogger_daily -X xz -x 1" # ss -tulpen | grep pmlogger tcp LISTEN 0 5 *:4330 *:* users:(("pmlogger",pid=6554,fd=7)) uid:997 ino:25333 sk:ffff8800781d87c0 <-> tcp LISTEN 0 5 :::4330 :::* users:(("pmlogger",pid=6554,fd=8)) uid:997 ino:25334 sk:ffff8800781d1100 v6only:1 <-> Actual results: tcp LISTEN 0 5 *:4330 *:* users:(("pmlogger",pid=6554,fd=7)) uid:997 ino:25333 sk:ffff8800781d87c0 <-> tcp LISTEN 0 5 :::4330 :::* users:(("pmlogger",pid=6554,fd=8)) uid:997 ino:25334 sk:ffff8800781d1100 v6only:1 <-> Expected results: tcp LISTEN 0 5 127.0.0.1:4330 *:* users:(("pmlogger",pid=6160,fd=7)) uid:997 ino:22879 sk:ffff880079879740 <-> tcp LISTEN 0 5 ::1:4330 :::* users:(("pmlogger",pid=6160,fd=8)) uid:997 ino:22880 sk:ffff880079871100 v6only:1 <-> Additional info: