Bug 7081 - Log messages duplicates to console
Summary: Log messages duplicates to console
Status: CLOSED CODE_FIX
Alias: None
Product: IO/Storage
Classification: Unclassified
Component: Other (show other bugs)
Hardware: i386 Linux
: P2 normal
Assignee: io_other
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-08-30 09:33 UTC by Paul
Modified: 2006-10-15 07:44 UTC (History)
1 user (show)

See Also:
Kernel Version: 2.6.18-rc5
Subsystem:
Regression: ---
Bisected commit-id:


Attachments

Description Paul 2006-08-30 09:33:07 UTC
Most recent kernel where this bug did not occur: 2.6.17
Distribution: Gentoo
Hardware Environment:
Software Environment: syslog-ng 1.6.9
Problem Description:
After using 2.6.18-rc5 for while, I saw that some message that in 2.6.17 go to /var/log/*,
in 2.6.18-rc5 go also to console.

For example, I have such iptables rule:
iptables -A INPUT -p tcp -j LOG --log-prefix "UNMATCHED TCP packet: "

and such syslog-ng rule:
destination security { file("/var/log/security"); };
filter f_security { facility(security) or match("UNMATCHED TCP...
log { source(src); filter(f_security); destination(security); };

in 2.6.17 these message just go to /var/log/security
in 2.6.18-rc5 they are also duplicates to current console,
this is really annoing.

Steps to reproduce:
Comment 1 Andrew Morton 2006-08-30 09:54:01 UTC
Presumably someone changed a printk facility level.

Please identify the specific messages, so we can find them in the kernel source.
Comment 2 Paul 2006-10-15 07:44:40 UTC
This was fault of lock validator, and it was fixed, as I can see in release.

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