Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
junk output on VTs
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
onesandzeros
Tux's lil' helper
Tux's lil' helper


Joined: 30 Sep 2002
Posts: 108

PostPosted: Tue Sep 26, 2006 12:34 am    Post subject: junk output on VTs Reply with quote

Hello all,

I have a little problem. If I Ctrl+Alt+F1-6, I get firewall messages (stuff that should go into /var/log/messages) coming out on the vt. It doesn't happen in Konsole, though. Any ideas? I haven't changed my firewall's logging setup, but I may have incorrectly etc-update'd something.

Thanks!
Back to top
View user's profile Send private message
psycepa
Veteran
Veteran


Joined: 27 Dec 2004
Posts: 1637
Location: Poland

PostPosted: Tue Sep 26, 2006 2:56 am    Post subject: Reply with quote

Code:


destination messages { file("/var/log/messages"); };

# By default messages are logged to tty12...
destination console_all { file("/dev/tty12"); };
# ...if you intend to use /dev/console for programs like xconsole                                                                                       
# you can comment out the destination line above that references /dev/tty12                                                                             
# and uncomment the line below.
#destination console_all { file("/dev/console"); };

log { source(src); destination(messages); };
log { source(src); destination(console_all); };

that is a part of my /etc/syslog-ng/syslog-ng.conf file and it loggs everything into file
compare it and check weahter you have looging into file enabled

greetingz
_________________
RLUNo. 376073
bo czytac, to trzeba ze zrozumieniem (c) by psycepa
"nigdy nie kloc sie z glupcem, najpierw sprowadzi cie do swojego poziomu a potem pokona doswiadczeniem"
"Life is complex. It has its real and imaginary part."
Back to top
View user's profile Send private message
onesandzeros
Tux's lil' helper
Tux's lil' helper


Joined: 30 Sep 2002
Posts: 108

PostPosted: Wed Sep 27, 2006 1:03 pm    Post subject: Reply with quote

Psycepa,

Thanks for your reply. My syslog-ng.conf looks the same, including
Code:
destination messages { file("/var/log/messages"); };

so, I'm not sure what's wrong.

I'm thinking it's something to do with my firewall script. That would make sense, because I sometimes make changes to it (I've never bothered with syslog-ng.conf). I have to do some looking...

Thanks again
Back to top
View user's profile Send private message
Raffi
l33t
l33t


Joined: 17 Mar 2003
Posts: 731
Location: Moscow, Id.

PostPosted: Sat Sep 30, 2006 5:14 pm    Post subject: Reply with quote

I'm seeing the same thing, I noticed it after re-compiling syslog-ng (same version, recompiled for 4.1.1 switch). In my case, it is not just firewall messages, but all kernel logging messages. My syslog-ng config file should put those messages in /var/log/kernel (and it does). It should also log them to /dev/tty12 (and it does). It should not log to all VTs, but it does.
Back to top
View user's profile Send private message
Raffi
l33t
l33t


Joined: 17 Mar 2003
Posts: 731
Location: Moscow, Id.

PostPosted: Sat Sep 30, 2006 5:22 pm    Post subject: Reply with quote

This thread seems to have the solution https://forums.gentoo.org/viewtopic-t-498250-highlight-syslogng.html. Things changed in the new baselayout and dmesg is not setup correctly. In my case
Code:

dmesg -n 1

caused the pain to stop. :)

I'm still looking into getting baselayout to do that for me on boot.
Back to top
View user's profile Send private message
onesandzeros
Tux's lil' helper
Tux's lil' helper


Joined: 30 Sep 2002
Posts: 108

PostPosted: Sun Oct 01, 2006 2:34 am    Post subject: Reply with quote

Raffi,

Thanks. I started examining/making changes to my firewall script, but I had no luck in stopping the messages. I'll check into your suggestion.

Thanks again.
Back to top
View user's profile Send private message
Raffi
l33t
l33t


Joined: 17 Mar 2003
Posts: 731
Location: Moscow, Id.

PostPosted: Sun Oct 01, 2006 3:59 am    Post subject: Reply with quote

Looks like the latest stable baselayout fixes the problem. I am no longer getting the console clutter after my last reboot.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum