public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Matt Mackall <mpm@selenic.com>
To: Justin Piszcz <jpiszcz@lucidpixels.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: Kernel 2.6.22-rc4 netconsole & syslogd bug
Date: Thu, 7 Jun 2007 09:57:44 -0500	[thread overview]
Message-ID: <20070607145744.GY11166@waste.org> (raw)
In-Reply-To: <Pine.LNX.4.64.0706061753190.3697@p34.internal.lan>

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.

  reply	other threads:[~2007-06-07 14:58 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-06-06 22:00 Kernel 2.6.22-rc4 netconsole & syslogd bug Justin Piszcz
2007-06-07 14:57 ` Matt Mackall [this message]
2007-06-08 11:44   ` Simon Arlott

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20070607145744.GY11166@waste.org \
    --to=mpm@selenic.com \
    --cc=jpiszcz@lucidpixels.com \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox