From owner-freebsd-questions Tue Sep 16 17:16:18 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id RAA29341 for questions-outgoing; Tue, 16 Sep 1997 17:16:18 -0700 (PDT) Received: from freebie.lemis.com (gregl1.lnk.telstra.net [139.130.136.133]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id RAA29334; Tue, 16 Sep 1997 17:16:13 -0700 (PDT) Received: (from grog@localhost) by freebie.lemis.com (8.8.7/8.8.5) id JAA00991; Wed, 17 Sep 1997 09:45:59 +0930 (CST) Message-ID: <19970917094559.47017@lemis.com> Date: Wed, 17 Sep 1997 09:45:59 +0930 From: Greg Lehey To: Brian Somers Cc: freebsd-questions@FreeBSD.ORG, FreeBSD Hackers Subject: Re: nfs startup References: <19970916105940.15713@lemis.com> <199709162348.AAA22852@awfulhak.demon.co.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.81e In-Reply-To: <199709162348.AAA22852@awfulhak.demon.co.uk>; from Brian Somers on Wed, Sep 17, 1997 at 12:48:04AM +0100 Organisation: LEMIS, PO Box 460, Echunga SA 5153, Australia Phone: +61-8-8388-8250 Fax: +61-8-8388-8250 Mobile: +61-41-739-7062 WWW-Home-Page: http://www.lemis.com/~grog Fight-Spam-Now: http://www.cauce.org Sender: owner-freebsd-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk On Wed, Sep 17, 1997 at 12:48:04AM +0100, Brian Somers wrote: >> On Thu, Sep 04, 1997 at 11:31:48PM +0100, Brian Somers wrote: >>> This has to be a dumb question, but I can't fathom it. >>> >>> /etc/rc sources /etc/rc.network and then runs network_pass1. >>> Directly afterwards, it runs ``mount -a -t nfs''. >>> >>> However, network_pass3 (invoked much later) starts nfsiod along with >>> the other nfs stuff. >> >> You don't need nfsiod for mounting, but you do need to resolve the >> names. If you're running a name server, I don't think it's reasonable >> to expect an /etc/hosts entry for each system you're mounting NFS file >> systems from. Unfortunately, named doesn't get started until >> network_pass2, so this can't work in a name server environment. >> >> Here's a suggested patch: > [.....] > > But what about starting named in network_pass1 ? If you like. I thought one was about as good as the other, but starting named earlier might forestall other potential hang conditions. Greg