Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 11 Mar 2001 19:30:39 -0800
From:      Gregory Neil Shapiro <gshapiro@FreeBSD.ORG>
To:        John Polstra <jdp@polstra.com>
Cc:        stable@FreeBSD.ORG
Subject:   Re: DNS related sendmail hangs with 4.3-BETA kernel
Message-ID:  <15020.17119.365855.657701@horsey.gshapiro.net>
In-Reply-To: <XFMail.010311192117.jdp@polstra.com>
References:  <XFMail.010311192117.jdp@polstra.com>

next in thread | previous in thread | raw e-mail | index | archive | help
jdp> OK, I'll admit right up front that I'm running a Jan. 30th userland
jdp> with today's 4.3-BETA kernel.  But I'm seeing some strange behavior
jdp> that I wouldn't expect to be caused by that alone.

jdp> Sendmail (and _only_ sendmail) hangs trying to use DNS to resolve
jdp> addresses.  The DNS calls eventually time out and fail, but it takes a
jdp> long time.  Other programs such as dig, host, telnet, and ftp all work
jdp> fine.  My same sendmail binary worked fine until I updated my kernel
jdp> today.

jdp> When it is hung, "ps" shows that it is waiting on "kqread".  Any
jdp> ideas what has happened?

Fixed Feb. 28th:

src/lib/libc/net/res_send.c:

Revision 1.31.2.6, Wed Feb 28 15:48:29 2001 UTC (11 days, 11 hours ago) by jlemon 
Branch: RELENG_4 
Changes since 1.31.2.5: +4 -6 lines

MFC: r1.40; initialize structure.

Revision 1.40, Wed Feb 28 15:47:47 2001 UTC (11 days, 11 hours ago) by jlemon 
Branch: MAIN 
CVS Tags: HEAD 
Changes since 1.39: +4 -6 lines

Use the new EV_SET macro to insure that all fields in struct kevent
are correctly initialized before use.  This should fix the problem
with DNS.

Pointy hat to:  me


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?15020.17119.365855.657701>