From owner-freebsd-stable Sun Mar 11 19:30:42 2001 Delivered-To: freebsd-stable@freebsd.org Received: from horsey.gshapiro.net (horsey.gshapiro.net [209.220.147.178]) by hub.freebsd.org (Postfix) with ESMTP id 1767237B71B for ; Sun, 11 Mar 2001 19:30:40 -0800 (PST) (envelope-from gshapiro@gshapiro.net) Received: (from gshapiro@localhost) by horsey.gshapiro.net (8.12.0.Beta3/8.12.0.Beta3) id f2C3UdEb088520; Sun, 11 Mar 2001 19:30:39 -0800 (PST) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15020.17119.365855.657701@horsey.gshapiro.net> Date: Sun, 11 Mar 2001 19:30:39 -0800 From: Gregory Neil Shapiro To: John Polstra Cc: stable@FreeBSD.ORG Subject: Re: DNS related sendmail hangs with 4.3-BETA kernel In-Reply-To: References: X-Mailer: VM 6.90 under 21.2 (beta42) "Poseidon" XEmacs Lucid Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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