From owner-freebsd-stable@FreeBSD.ORG Sun Apr 9 17:01:36 2006 Return-Path: X-Original-To: stable@freebsd.org Delivered-To: freebsd-stable@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1939C16A400 for ; Sun, 9 Apr 2006 17:01:36 +0000 (UTC) (envelope-from ume@mahoroba.org) Received: from ameno.mahoroba.org (gw4.mahoroba.org [218.45.22.175]) by mx1.FreeBSD.org (Postfix) with ESMTP id EC8E543D46 for ; Sun, 9 Apr 2006 17:01:34 +0000 (GMT) (envelope-from ume@mahoroba.org) Received: from kasuga.mahoroba.org (IDENT:iJs4ZbCVM5ua+FRgQa7LWe34MU5VuZ4H8cwJd0Ummt0u0/pqZ5AJtF2ff0+Gwb/t@kasuga-iwi.mahoroba.org [IPv6:3ffe:501:185b:8010:212:f0ff:fe52:6ac]) (user=ume mech=CRAM-MD5 bits=0) by ameno.mahoroba.org (8.13.6/8.13.6) with ESMTP/inet6 id k39H1Skk085051 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 10 Apr 2006 02:01:28 +0900 (JST) (envelope-from ume@mahoroba.org) Date: Mon, 10 Apr 2006 02:01:27 +0900 Message-ID: From: Hajimu UMEMOTO To: Ulrich Spoerlein In-Reply-To: <20060409160631.GA2956@roadrunner.q.local> References: <20060405152718.GA1003@roadrunner.q.local> <6eb82e0604070915o16c98adfx486080de9ec9fa75@mail.gmail.com> <20060409160631.GA2956@roadrunner.q.local> User-Agent: xcite1.38> Wanderlust/2.14.0 (Africa) SEMI/1.14.6 (Maruoka) FLIM/1.14.8 (=?ISO-8859-4?Q?Shij=F2?=) APEL/10.6 Emacs/22.0.50 (i386-unknown-freebsd6.1) MULE/5.0 (SAKAKI) X-Operating-System: FreeBSD 6.1-RC X-PGP-Key: http://www.imasy.or.jp/~ume/publickey.asc X-PGP-Fingerprint: 1F00 0B9E 2164 70FC 6DC5 BF5F 04E9 F086 BF90 71FE Organization: Internet Mutual Aid Society, YOKOHAMA MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII X-Greylist: Sender succeeded SMTP AUTH authentication, not delayed by milter-greylist-2.1.3 (ameno.mahoroba.org [IPv6:3ffe:501:185b:8010::1]); Mon, 10 Apr 2006 02:01:29 +0900 (JST) X-Virus-Scanned: by amavisd-new X-Virus-Status: Clean X-Spam-Status: No, score=-2.5 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.1.1 X-Spam-Checker-Version: SpamAssassin 3.1.1 (2006-03-10) on ameno.mahoroba.org Cc: stable@freebsd.org Subject: Re: resolver doesn't see resolv.conf changes X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 09 Apr 2006 17:01:36 -0000 Hi, >>>>> On Sun, 9 Apr 2006 18:06:31 +0200 >>>>> Ulrich Spoerlein said: spoerlein> Very nice. I wonder though, why has resinit to come before files? spoerlein> Shouldn't it be files resinit dns? Yup, it is enough to put resinit just before dns, and it should work. However, our resolver calls res_init(3) for some resolver options even when looking up /etc/hosts. So, I prefer to put resinit at first. spoerlein> Anyway, after some limited testing, it seems to work fine. Thanks a spoerlein> bunch! I hope this does make it into FreeBSD some time. Thank you for testing. I've uploaded new tarball which includes a manpage, little while ago: http://www.imasy.or.jp/~ume/FreeBSD/nss_resinit-20060410.tar.gz I think there is no inevitability to commit it into our base tree. Perhaps, the ports is good place. Sincerely, -- Hajimu UMEMOTO @ Internet Mutual Aid Society Yokohama, Japan ume@mahoroba.org ume@{,jp.}FreeBSD.org http://www.imasy.org/~ume/