NetBSD-Bugs archive

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

Re: bin/46613 (syslogd is broken)

The following reply was made to PR bin/46613; it has been noted by GNATS.

From: "Valeriy E. Ushakov" <>
Subject: Re: bin/46613 (syslogd is broken)
Date: Tue, 19 Jun 2012 17:23:41 +0400

 On Tue, Jun 19, 2012 at 16:10:54 +0400, Valeriy E. Ushakov wrote:
 > There's still something wrong with the new async code it seems, since
 > I see
 > Jun 19 15:56:42 felix syslogd[119]: /dev/console: Invalid argument
 > logged to /var/log/messages when I mistype root password when I log in
 > from console.  After that syslogd seems to give up on console - there
 > are no more
 > Jun 19 16:08:10 felix login: 1 LOGIN FAILURE ON console
 > messages printed on console and according to fstat syslogd has closed
 > its console fd.
 writev1 logic seems to be botched, I didn't have time to debug it in
 details, but on the second iteration iov is moved past the valid array
 and writev returns EINVAL, causing the descriptor to get closed.

Home | Main Index | Thread Index | Old Index