Re: Can you direct kernel messages?

2002-07-24 Thread Vineet Kumar
* Dale Amon ([EMAIL PROTECTED]) [020723 03:44]:
 Dumb question time. Does anyone know a way to limit kernel
 messages to one vt? This has gets to be particularly
 annoying if you go overboard with grsecurity audit messages :-)

add console=tty1 to your kernel command line. All messages will go
there instead of to the current VC. Of course, you can specify any
console instead of tty1. For help setting it up with lilo, search the
debian-user archives.

good times,
Vineet
-- 
http://www.doorstop.net/
-- 
#includestdio.h
int main() {
puts(Reader! Think not that \n
 technical information \n
 ought not be called speech;);
return 0;
}


pgpCvgOwAeK1j.pgp
Description: PGP signature


Can you direct kernel messages?

2002-07-23 Thread Dale Amon
Dumb question time. Does anyone know a way to limit kernel
messages to one vt? This has gets to be particularly
annoying if you go overboard with grsecurity audit messages :-)


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Can you direct kernel messages?

2002-07-23 Thread Alan James
On Tue, 23 Jul 2002 11:47:53 +0100, Dale Amon [EMAIL PROTECTED] wrote:

Dumb question time. Does anyone know a way to limit kernel
messages to one vt? This has gets to be particularly
annoying if you go overboard with grsecurity audit messages :-)

At the end of /etc/syslog.conf I've changed :

*.=notice;*.=warn   |/dev/xconsole

to

*.=notice;*.=warn   |/dev/tty8

Does the trick for me.

Alan.
-- 
Alan James
PGP: 0x66EB09FC


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Can you direct kernel messages?

2002-07-23 Thread Dale Amon
On Tue, Jul 23, 2002 at 11:50:52AM +0100, Alan James wrote:
 On Tue, 23 Jul 2002 11:47:53 +0100, Dale Amon [EMAIL PROTECTED] wrote:
 
 Dumb question time. Does anyone know a way to limit kernel
 messages to one vt? This has gets to be particularly
 annoying if you go overboard with grsecurity audit messages :-)
 
 At the end of /etc/syslog.conf I've changed :
 
 *.=notice;*.=warn   |/dev/xconsole
 
 to
 
 *.=notice;*.=warn   |/dev/tty8

Doesn't seem to shut it up. I'm running syslog-ng and 
I commented out the console destination and am using
only a line that logs to vt8. But despite that, even
if I kill syslog-ng entirely, I still get grsec and
iptables messages on all vt's.



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re[2]: Can you direct kernel messages?

2002-07-23 Thread Àëåêñåé À. Ñïèöûí \(Aleksey A. Spitsin\)
Hello Alan,

Tuesday, July 23, 2002, 4:50:52 PM, you wrote:

AJ On Tue, 23 Jul 2002 11:47:53 +0100, Dale Amon [EMAIL PROTECTED] wrote:

Dumb question time. Does anyone know a way to limit kernel
messages to one vt? This has gets to be particularly
annoying if you go overboard with grsecurity audit messages :-)

AJ At the end of /etc/syslog.conf I've changed :

AJ *.=notice;*.=warn   |/dev/xconsole

AJ to

AJ *.=notice;*.=warn   |/dev/tty8

ore

*.* /dev/ttyNN


-- 
Best regards,
 Алексейmailto:[EMAIL PROTECTED]



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Can you direct kernel messages?

2002-07-23 Thread Jean Christophe ANDRÉ
Dale Amon écrivait :
 Doesn't seem to shut it up. I'm running syslog-ng and I commented out the
 console destination and am using only a line that logs to vt8. But despite
 that, even if I kill syslog-ng entirely, I still get grsec and iptables
 messages on all vt's.

There is also direct console kernel loging.
You can reduce by using dmesg (man dmesg = -n option).

Regards, J.C.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: [mailinglists] Re: Can you direct kernel messages?

2002-07-23 Thread Steinkrüger
No. I think its the kernel-logger klogd. in
/etc/init.d/klogd u will find a line looking like this:

KLOGD=

change it to:

KLOGD=-c 4

that will give the option -c 4 to klogd and will turn of (hopefully)
console logging.

/etc/init.d/klogd restart of course.


regards,
philipp



On Tue, 23 Jul 2002 12:11:41 +0100
Dale Amon [EMAIL PROTECTED] wrote:

 On Tue, Jul 23, 2002 at 11:50:52AM +0100, Alan James wrote:
  On Tue, 23 Jul 2002 11:47:53 +0100, Dale Amon [EMAIL PROTECTED] wrote:
  
  Dumb question time. Does anyone know a way to limit kernel
  messages to one vt? This has gets to be particularly
  annoying if you go overboard with grsecurity audit messages :-)
  
  At the end of /etc/syslog.conf I've changed :
  
  *.=notice;*.=warn   |/dev/xconsole
  
  to
  
  *.=notice;*.=warn   |/dev/tty8
 
 Doesn't seem to shut it up. I'm running syslog-ng and 
 I commented out the console destination and am using
 only a line that logs to vt8. But despite that, even
 if I kill syslog-ng entirely, I still get grsec and
 iptables messages on all vt's.
 
 
 
 -- 
 To UNSUBSCRIBE, email to [EMAIL PROTECTED]
 with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
 
 


-- 


-
Philipp Steinkrueger
Oberberg Online Informationssysteme GmbH
http://www.oberberg.net

PGPkeyID: 690A9504
Key Fingerprint: 35CE 467E C813 06B0 B8E3  0275 2B1E E84A 690A 9504


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Can you direct kernel messages?

2002-07-23 Thread Dale Amon
On Tue, Jul 23, 2002 at 06:13:46PM +0700, Jean Christophe ANDR?? wrote:
 Dale Amon ?crivait :
  Doesn't seem to shut it up. I'm running syslog-ng and I commented out the
  console destination and am using only a line that logs to vt8. But despite
  that, even if I kill syslog-ng entirely, I still get grsec and iptables
  messages on all vt's.
 
 There is also direct console kernel loging.
 You can reduce by using dmesg (man dmesg = -n option).
 
 Regards, J.C.
 
 

Thanks. That did it. I've been trying to track that
down for months. Never would have thought of dmesg
in a million years.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Can you direct kernel messages?

2002-07-23 Thread sen_ml
Hi,

From: Dale Amon [EMAIL PROTECTED]
Subject: Re: Can you direct kernel messages?
Date: Tue, 23 Jul 2002 12:44:10 +0100

 On Tue, Jul 23, 2002 at 06:13:46PM +0700, Jean Christophe ANDR?? wrote:
  
  There is also direct console kernel loging.
  You can reduce by using dmesg (man dmesg = -n option).
  
 
 Thanks. That did it. I've been trying to track that
 down for months. Never would have thought of dmesg
 in a million years.

I'd never have thought of it either -- which shows I hadn't examined
the first sentence of dmesg(8) in detail:

  dmesg is used to examine or control the kernel ring buffer.
  ^^^
 !


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]