* Kernel 2.6.22-rc4 netconsole & syslogd bug
@ 2007-06-06 22:00 Justin Piszcz
2007-06-07 14:57 ` Matt Mackall
0 siblings, 1 reply; 3+ messages in thread
From: Justin Piszcz @ 2007-06-06 22:00 UTC (permalink / raw)
To: linux-kernel
1. I use netconsole on almost all of my machines.
2. When I reboot one of them, it sends the kernel messages to the console
logging server.
3. However, whenever I reboot it spams the console and every xterm open
with the following:
Message from syslogd@p34 at Wed Jun 6 17:43:10 2007 ...
p34 sdb3>
Message from syslogd@p34 at Wed Jun 6 17:43:10 2007 ...
p34 sda3>
Message from syslogd@p34 at Wed Jun 6 17:43:10 2007 ...
p34 sdb2>
Message from syslogd@p34 at Wed Jun 6 17:43:10 2007 ...
p34 sda2>
Message from syslogd@p34 at Wed Jun 6 17:43:10 2007 ...
p34 sdb1>
Message from syslogd@p34 at Wed Jun 6 17:43:10 2007 ...
p34 sda1>
I also tried:
# Send p34 messages to their own file.
@192.168.0.1 /var/log/p34.log
But no luck here either.
Do I need to be running some sort of special netconsole server and send to
a different port to avoid this spam?
Justin.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Kernel 2.6.22-rc4 netconsole & syslogd bug
2007-06-06 22:00 Kernel 2.6.22-rc4 netconsole & syslogd bug Justin Piszcz
@ 2007-06-07 14:57 ` Matt Mackall
2007-06-08 11:44 ` Simon Arlott
0 siblings, 1 reply; 3+ messages in thread
From: Matt Mackall @ 2007-06-07 14:57 UTC (permalink / raw)
To: Justin Piszcz; +Cc: linux-kernel
On Wed, Jun 06, 2007 at 06:00:10PM -0400, Justin Piszcz wrote:
> 1. I use netconsole on almost all of my machines.
> 2. When I reboot one of them, it sends the kernel messages to the console
> logging server.
> 3. However, whenever I reboot it spams the console and every xterm open
> with the following:
>
> Message from syslogd@p34 at Wed Jun 6 17:43:10 2007 ...
> p34 sdb3>
>
> Message from syslogd@p34 at Wed Jun 6 17:43:10 2007 ...
> p34 sda3>
>
> Message from syslogd@p34 at Wed Jun 6 17:43:10 2007 ...
> p34 sdb2>
>
> Message from syslogd@p34 at Wed Jun 6 17:43:10 2007 ...
> p34 sda2>
>
> Message from syslogd@p34 at Wed Jun 6 17:43:10 2007 ...
> p34 sdb1>
>
> Message from syslogd@p34 at Wed Jun 6 17:43:10 2007 ...
> p34 sda1>
>
> I also tried:
>
> # Send p34 messages to their own file.
> @192.168.0.1 /var/log/p34.log
Your syslogd is probably getting confused by messages of the form
<foo> (and it rightly should be) and deciding they're maximal
priority. You probably have a separate clause somewhere that directs
all emergency messages to the console.
> Do I need to be running some sort of special netconsole server and send to
> a different port to avoid this spam?
A lot of people simply run netcat.
--
Mathematics is the supreme nostalgia of our time.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Kernel 2.6.22-rc4 netconsole & syslogd bug
2007-06-07 14:57 ` Matt Mackall
@ 2007-06-08 11:44 ` Simon Arlott
0 siblings, 0 replies; 3+ messages in thread
From: Simon Arlott @ 2007-06-08 11:44 UTC (permalink / raw)
To: Matt Mackall; +Cc: Justin Piszcz, linux-kernel
On Thu, June 7, 2007 15:57, Matt Mackall wrote:
>> Do I need to be running some sort of special netconsole server and send to
>> a different port to avoid this spam?
>
> A lot of people simply run netcat.
There's cancd; syslogd isn't really appropriate because printks aren't always whole lines and each one is
sent as a separate packet.
--
Simon Arlott
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2007-06-08 11:44 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-06-06 22:00 Kernel 2.6.22-rc4 netconsole & syslogd bug Justin Piszcz
2007-06-07 14:57 ` Matt Mackall
2007-06-08 11:44 ` Simon Arlott
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox