From owner-freebsd-rc@FreeBSD.ORG Sat Dec 31 02:22:47 2005 Return-Path: X-Original-To: freebsd-rc@FreeBSD.org Delivered-To: freebsd-rc@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 80FB616A41F; Sat, 31 Dec 2005 02:22:47 +0000 (GMT) (envelope-from wollman@khavrinen.csail.mit.edu) Received: from khavrinen.csail.mit.edu (khavrinen.csail.mit.edu [128.30.28.20]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9D56543D45; Sat, 31 Dec 2005 02:22:46 +0000 (GMT) (envelope-from wollman@khavrinen.csail.mit.edu) Received: from khavrinen.csail.mit.edu (localhost.csail.mit.edu [127.0.0.1]) by khavrinen.csail.mit.edu (8.13.1/8.13.4) with ESMTP id jBV2MixF084071 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK CN=khavrinen.csail.mit.edu issuer=Client+20CA); Fri, 30 Dec 2005 21:22:44 -0500 (EST) (envelope-from wollman@khavrinen.csail.mit.edu) Received: (from wollman@localhost) by khavrinen.csail.mit.edu (8.13.1/8.13.4/Submit) id jBV2Mi7X084068; Fri, 30 Dec 2005 21:22:44 -0500 (EST) (envelope-from wollman) From: Garrett Wollman MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <17333.60276.293518.585286@khavrinen.csail.mit.edu> Date: Fri, 30 Dec 2005 21:22:44 -0500 To: Doug Barton In-Reply-To: <200512310157.jBV1vuCf033689@freefall.freebsd.org> References: <200512310157.jBV1vuCf033689@freefall.freebsd.org> X-Mailer: VM 7.17 under 21.4 (patch 17) "Jumbo Shrimp" XEmacs Lucid X-Greylist: Sender DNS name whitelisted, not delayed by milter-greylist-2.0.2 (khavrinen.csail.mit.edu [127.0.0.1]); Fri, 30 Dec 2005 21:22:45 -0500 (EST) X-Spam-Status: No, score=0.6 required=5.0 tests=J_CHICKENPOX_71, SPF_HELO_PASS, SPF_PASS version=3.1.0 X-Spam-Checker-Version: SpamAssassin 3.1.0 (2005-09-13) on khavrinen.csail.mit.edu Cc: freebsd-rc@FreeBSD.org, bug-followup@FreeBSD.org Subject: Re: conf/90863: [patch] 6.0 boot: name resolution broken for daemon startup X-BeenThere: freebsd-rc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Discussion related to /etc/rc.d design and implementation." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 31 Dec 2005 02:22:47 -0000 < said: > First, if you're sure that the problem is with the bge interface, > I would prefer to see the problem fixed generically there, rather > than in rc.d/named. It's not a problem with bge(4), it's a general problem with network interfaces that take a long time to bring the link up after it is initialized. (I expect to have the same problem with ti(4) on a machine I'm upgrading right now.) In this particular case I'm willing to wait forever, since the machine can't do anything useful until it has network, but that would be unacceptable for the general case. Ordinary workstations using DHCP don't see this, because you obviously can't get a lease until you can communicate with the DHCP server. What I'd like would be to have a "don't fork until you're really ready" option for named (or even better, for that to be restored as the default behavior); servers without a local resolver don't have this problem, because the stub resolver will retry requests that don't elicit a response. I think that's a superior solution to anything that requires explicit configuration on the part of the sysadmin. > As for the boot order of named, Garrett is right, it starts as > soon as it's possible for it to start. If Greg wants to change > rc.d/sendmail to REQUIRE: named, that's up to him. sendmail already REQUIRE:s LOGIN, so there's no issue there. -GAWollman