Bug 1083564 - Found duplicate kernel boot logs right after a kernel crash dump
Summary: Found duplicate kernel boot logs right after a kernel crash dump
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: rsyslog
Version: 22
Hardware: Unspecified
OS: Linux
unspecified
low
Target Milestone: ---
Assignee: Tomas Heinrich
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-04-02 13:15 UTC by Tomas Heinrich
Modified: 2016-09-20 04:52 UTC (History)
5 users (show)

Fixed In Version: liblognorm-1.1.1-1.fc22
Clone Of: 1078654
Environment:
Last Closed: 2015-03-26 21:58:49 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Tomas Heinrich 2014-04-02 13:15:21 UTC
+++ This bug was initially created as a clone of Bug #1078654 +++

Description of problem:
Kernel messages are logged twice.

Steps to Reproduce:
$ echo h > /proc/sysrq-trigger
$ grep SysRq /var/log/messages | wc -l
2

Actual results:
Kernel messages are logged twice (to /var/log/messages).

Expected results:
One instance per message.

Additional info:
This is a regression first appearing in rsyslog-7.4.8-1 triggered by this patch:
rsyslog-7.4.8-bz1026804-imjournal-message-loss.patch

What should have accompanied the patch is commenting out this line in /etc/rsyslog.conf:
$ModLoad imklog

The module is not needed anymore in the default setup as even kernel messages are received through journald now and you can comment it out manually before that package is updated.

This issue didn't occur in older versions because the relevant messages, as received from journald, don't contain the 'SYSLOG_FACILITY' field.

Comment 1 Jaroslav Reznik 2015-03-03 17:00:10 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 22 development cycle.
Changing version to '22'.

More information and reason for this action is here:
https://fedoraproject.org/wiki/Fedora_Program_Management/HouseKeeping/Fedora22

Comment 2 Fedora Update System 2015-03-20 21:04:39 UTC
liblognorm-1.1.1-1.fc22,rsyslog-8.8.0-2.fc22 has been submitted as an update for Fedora 22.
https://admin.fedoraproject.org/updates/liblognorm-1.1.1-1.fc22,rsyslog-8.8.0-2.fc22

Comment 3 Fedora Update System 2015-03-22 04:38:57 UTC
Package liblognorm-1.1.1-1.fc22, rsyslog-8.8.0-2.fc22:
* should fix your issue,
* was pushed to the Fedora 22 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing liblognorm-1.1.1-1.fc22 rsyslog-8.8.0-2.fc22'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2015-4405/liblognorm-1.1.1-1.fc22,rsyslog-8.8.0-2.fc22
then log in and leave karma (feedback).

Comment 4 Fedora Update System 2015-03-26 21:58:49 UTC
liblognorm-1.1.1-1.fc22, rsyslog-8.8.0-2.fc22 has been pushed to the Fedora 22 stable repository.  If problems still persist, please make note of it in this bug report.


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