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 1919318 - Pcsd logs to system log by mistake [rhel-8.3.0.z]
Summary: Pcsd logs to system log by mistake [rhel-8.3.0.z]
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: pcs
Version: 8.3
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: rc
: 8.3
Assignee: Miroslav Lisik
QA Contact: cluster-qe@redhat.com
URL:
Whiteboard:
Depends On: 1917286
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-01-22 15:22 UTC by RHEL Program Management Team
Modified: 2021-04-06 13:57 UTC (History)
11 users (show)

Fixed In Version: pcs-0.10.6-4.el8_3.1
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 1917286
Environment:
Last Closed: 2021-04-06 13:57:33 UTC
Type: ---
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
proposed fix (1.26 KB, patch)
2021-02-09 09:35 UTC, Miroslav Lisik
no flags Details | Diff


Links
System ID Private Priority Status Summary Last Updated
Red Hat Knowledge Base (Solution) 5729271 0 None None None 2021-01-22 20:34:16 UTC
Red Hat Product Errata RHBA-2021:1080 0 None None None 2021-04-06 13:57:37 UTC

Comment 2 Miroslav Lisik 2021-02-09 09:35:02 UTC
Created attachment 1755872 [details]
proposed fix

Test: pcsd does not log to system log (/var/log/messages)

Comment 3 Miroslav Lisik 2021-02-09 11:17:28 UTC
Test:

[root@r8-node-01 pcs]# rpm -q pcs
pcs-0.10.6-4.el8_3.1.x86_64

[root@r8-node-01 ~]# systemctl start pcsd

[root@r8-node-01 ~]# tail -n 0 -f /var/log/pcsd/pcsd.log
I, [2021-02-09T12:13:48.674 #00000]     INFO -- : Starting server...
I, [2021-02-09T12:13:48.675 #00000]     INFO -- : Binding socket for address '*' and port '2224'
I, [2021-02-09T12:13:48.676 #00000]     INFO -- : Server is listening
I, [2021-02-09T12:13:48.677 #00000]     INFO -- : Notifying systemd we are running (socket '/run/systemd/notify')
I, [2021-02-09T12:13:48.687 #00001]     INFO -- : Config files sync started
I, [2021-02-09T12:13:48.687 #00001]     INFO -- : Config files sync skipped, this host does not seem to be in a cluster of at least 2 nodes

[root@r8-node-01 pcs]# tail -n 0 -f /var/log/messages
Feb  9 12:13:47 r8-node-01 systemd[1]: Starting PCS GUI and remote configuration interface (Ruby)...
Feb  9 12:13:47 r8-node-01 pcsd[20702]: Doing `require 'backports'` is deprecated and will not load any backport in the next major release.                                                                                                  
Feb  9 12:13:47 r8-node-01 pcsd[20702]: Require just the needed backports instead, or 'backports/latest'.
Feb  9 12:13:48 r8-node-01 pcsd[20702]: 2021-02-09 12:13:48 +0100  INFO Notifying systemd we are running (socket /run/systemd/notify)                                                                                                        
Feb  9 12:13:48 r8-node-01 systemd[1]: Started PCS GUI and remote configuration interface (Ruby).
Feb  9 12:13:48 r8-node-01 systemd[1]: Starting PCS GUI and remote configuration interface...
Feb  9 12:13:48 r8-node-01 systemd[1]: Started PCS GUI and remote configuration interface.

System log does not contain messages from pcsd.log.

Comment 13 errata-xmlrpc 2021-04-06 13:57:33 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 (pcs 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-2021:1080


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