NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

bin/39857: the new syslog cuts off messages and prints additonal newlines



>Number:         39857
>Category:       bin
>Synopsis:       syslog cuts off messages and prints additonal newlines
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    bin-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Nov 02 23:00:10 +0000 2008
>Originator:     Bernd Ernesti
>Release:        NetBSD 5.99.01
>Organization:
        
>Environment:
System: NetBSD 5.99.01
Architecture: i386
Machine: i386
>Description:
        The new syslog code adds a newline at the begining of the message
        and cuts off the end of the message.

        Here is an example send to a user:
--- cut ---
root@host1#
Message from syslogd%host1.domain1.de@localhost at Nov  2 09:36:28 ...
95 <38>Nov  2 09:36:28 host1 inetd[1330]: connection from host2.domain2.de, 
service logi
 
Message from syslogd%host1.domain1.de@localhost at Nov  2 09:36:29 ...
95 <38>Nov  2 09:36:29 host1 rlogind[1330]: user2%host2.domain2.de@localhost as 
user1: iruserok su
--- cut ---

        While the same line in a logfile looks ok:
Nov  2 09:36:28 host1 inetd[1330]: connection from host2.domain2.de, service 
login (tcp)
Nov  2 09:36:29 host1 rlogind[1330]: user2%host2.domain2.de@localhost as user1: 
iruserok succeeded

>How-To-Repeat:
        Add a line to /etc/syslog.conf which send the syslog message to a user
        or on the console:
                *.notice;auth.debug root      
>Fix:
        IMHO the sqeuence number should be removed from the output and so the
        cut off wouldn't happen.



Home | Main Index | Thread Index | Old Index