> It doesn't just print to any tty; it assiduously finds the one I'm
> currently on and prints to that (ie the one currently on-screen
> locally). It doesn't seem to happen when I log in remotely but still,
> this is starting to get me down.
I've noticed this with the Shorewall firewall. It was driving me nuts, until
I read their FAQ
"Shorewall is writing log messages all over my console making it unusable!
Answer: If you are running Shorewall version 1.4.4 or 1.4.4a then check the
errata. Otherwise, see the 'dmesg' man page ("man dmesg"). You must add a
suitable 'dmesg' command to your startup scripts or place it in
/etc/shorewall/start. Under RedHat, the max log level that is sent to the
console is specified in /etc/sysconfig/init in the LOGLEVEL variable."
(http://www.shorewall.net/FAQ.htm#faq16)
I added "dmesg -n 2" to the Shorewall startup script (it could also go in
another startup script) and haven't seen anything since.
Cheers,
Julian.
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html