Re: Sendmail 8.9.0 claims a Linux kernel bug

Andi Kleen (ak@muc.de)
25 Jun 1998 03:26:11 +0200


Ben Gertzfield <che@debian.org> writes:

> From the Sendmail 8.9.0 Known Bugs List:
>
> * accept() problem on Linux.
>
> Apparently, the accept() in sendmail daemon loop can return ETIMEDOUT
> and cause sendmail to sleep for 5 seconds during which time no new
> connections will be accepted. An error is reported to syslog:
>
> Jun 9 17:14:12 hostname sendmail[207]: NOQUEUE: SYSERR(root):
> getrequests: accept: Connection timed out
>
> "Connection timed out" is not documented as a valid return from
> accept(2) and this is believed to be a bug in the Linux kernel.

This is no kernel bug, but an intentional change from BSD/Solaris semantics.
Linux accept() returns errors for failed connection attempts unlike BSD which drops
them.

It is a documentation bug if the manpage does not state that.

-Andi

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu