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 1545580 - rsyslog appears to duplicate messages from journald when journald rotates its log files [rhel-7.4.z]
Summary: rsyslog appears to duplicate messages from journald when journald rotates its...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: rsyslog
Version: 7.4
Hardware: All
OS: Linux
urgent
high
Target Milestone: rc
: ---
Assignee: Jiří Vymazal
QA Contact: Dalibor Pospíšil
Ioanna Gkioka
URL:
Whiteboard:
Depends On: 1538372
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-02-15 10:12 UTC by Oneata Mircea Teodor
Modified: 2021-12-10 15:41 UTC (History)
18 users (show)

Fixed In Version: rsyslog-8.24.0-12.el7_4.6
Doc Type: Bug Fix
Doc Text:
Previously, when the journal was rotated, a bug in the rsyslog system caused certain log messages to appear twice in the output. This bug has been fixed, and rsyslog no longer displays duplicate messages.
Clone Of: 1538372
Environment:
Last Closed: 2018-04-17 16:38:08 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github rsyslog rsyslog issues 2436 0 None closed imjournal does not appear to follow the journal correctly when the journal rotates 2020-04-02 05:50:38 UTC
Github rsyslog rsyslog pull 2543 0 None closed Fetching cursor on readJournal() and simplified pollJournal() 2020-04-02 05:50:38 UTC
Github systemd systemd issues 7998 0 None closed Shouldn't a "journalctl -f" use the proper sd_journal_*() APIs to handle file rotation as documented? 2020-04-02 05:50:38 UTC
Red Hat Knowledge Base (Solution) 3339431 0 None None None 2018-02-15 10:12:46 UTC
Red Hat Product Errata RHBA-2018:1152 0 None None None 2018-04-17 16:38:19 UTC

Description Oneata Mircea Teodor 2018-02-15 10:12:36 UTC
This bug has been copied from bug #1538372 and has been proposed to be backported to 7.4 z-stream (EUS).

Comment 24 Peter Portante 2018-04-17 13:42:01 UTC
Close to merge is a matter of opinion?  Has this been verified to perform or satisfy the customer case?  Are we really going to release a patch to a customer that will then have a different solution upstream?  Seems like a really bad idea, no?

Comment 25 Jiří Vymazal 2018-04-17 14:25:23 UTC
(In reply to Peter Portante from comment #24)
> Close to merge is a matter of opinion?  Has this been verified to perform or
> satisfy the customer case?  Are we really going to release a patch to a
> customer that will then have a different solution upstream?  Seems like a
> really bad idea, no?

Only customer issues I am aware of are the duplication of logs upon journal rotation and possible regression when changing journal config on-the-fly and both are verified as resolved with current build, so unless you have some other inputs we are going to release it.

Comment 27 errata-xmlrpc 2018-04-17 16:38:08 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, 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-2018:1152


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