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.

Bug 1990724

Summary: pacemaker logs useless acl setting info every few seconds
Product: Red Hat Enterprise Linux 8 Reporter: tbsky <tbskyd>
Component: pacemakerAssignee: Ken Gaillot <kgaillot>
Status: CLOSED DUPLICATE QA Contact: cluster-qe <cluster-qe>
Severity: low Docs Contact:
Priority: unspecified    
Version: 8.4CC: cluster-maint, nwahl
Target Milestone: betaFlags: pm-rhel: mirror+
Target Release: ---   
Hardware: All   
OS: All   
Whiteboard:
Fixed In Version: Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-08-06 14:22:32 UTC Type: Enhancement
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description tbsky 2021-08-06 04:33:58 UTC
Description of problem:
pacemaker logs to "/var/log/pacemaker/pacemaker.log" with default configuration.
it will log messages below every few seconds:

Set r/w permissions for uid=189, gid=189 on /var/log/pacemaker/pacemaker.log
Set r/w permissions for uid=189, gid=189 on /var/log/pacemaker/pacemaker.log
Set r/w permissions for uid=189, gid=189 on /var/log/pacemaker/pacemaker.log

Version-Release number of selected component (if applicable):
pacemaker-2.0.5-9.el8_4.1.x86_64

How reproducible:
every time

Steps to Reproduce:
1. start pacemaker service
2. check /var/log/pacemaker/pacemaker.log
3.

Actual results:
it will log useless info every few seconds.


Expected results:
it only log useful messages.


Additional info:

if I change the default "/etc/sysconfig/pacemaker" and add one line like:

PCMK_logfile_mode=""

pacemaker will stop the useless logging. but I think maybe this behavior should be fixed in default configuration.

Comment 1 Reid Wahl 2021-08-06 05:20:52 UTC
Just FYI this has been dropped upstream as of commit 825557eb:
  - Log: libcrmcommon: drop unformatted log message about log permissions (https://github.com/ClusterLabs/pacemaker/commit/825557eb)

Comment 2 Ken Gaillot 2021-08-06 14:22:32 UTC
Hi,

The log message has already been removed from the pacemaker version that will be in RHEL 8.5. Due to the timing of our 8.5 deadlines and the low impact, tracking this as its own bz won't be practical, so I'm marking this as a duplicate of that rebase.


Thanks for the report!

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