From owner-freebsd-hackers@FreeBSD.ORG Fri Mar 9 09:57:22 2007 Return-Path: X-Original-To: freebsd-hackers@FreeBSD.ORG Delivered-To: freebsd-hackers@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id F416E16A400; Fri, 9 Mar 2007 09:57:21 +0000 (UTC) (envelope-from olli@lurza.secnetix.de) Received: from lurza.secnetix.de (lurza.secnetix.de [83.120.8.8]) by mx1.freebsd.org (Postfix) with ESMTP id 5B5AE13C428; Fri, 9 Mar 2007 09:57:21 +0000 (UTC) (envelope-from olli@lurza.secnetix.de) Received: from lurza.secnetix.de (tmlifo@localhost [127.0.0.1]) by lurza.secnetix.de (8.13.4/8.13.4) with ESMTP id l299vDUS066076; Fri, 9 Mar 2007 10:57:19 +0100 (CET) (envelope-from oliver.fromme@secnetix.de) Received: (from olli@localhost) by lurza.secnetix.de (8.13.4/8.13.1/Submit) id l299vCEi066075; Fri, 9 Mar 2007 10:57:12 +0100 (CET) (envelope-from olli) Date: Fri, 9 Mar 2007 10:57:12 +0100 (CET) Message-Id: <200703090957.l299vCEi066075@lurza.secnetix.de> From: Oliver Fromme To: freebsd-hackers@FreeBSD.ORG, killing@multiplay.co.uk, dougb@FreeBSD.ORG, des@des.no, mwm@mired.org In-Reply-To: <00ac01c761e7$b5c75e30$b3db87d4@multiplay.co.uk> X-Newsgroups: list.freebsd-hackers User-Agent: tin/1.8.2-20060425 ("Shillay") (UNIX) (FreeBSD/4.11-STABLE (i386)) MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.1.2 (lurza.secnetix.de [127.0.0.1]); Fri, 09 Mar 2007 10:57:19 +0100 (CET) Cc: Subject: Re: NFS based /usr prevents normal startup due to slow net init X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd-hackers@FreeBSD.ORG, killing@multiplay.co.uk, dougb@FreeBSD.ORG, des@des.no, mwm@mired.org List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Mar 2007 09:57:22 -0000 Steven Hartland wrote: > Doug Barton wrote: > > Steven Hartland wrote: > > > > > Given that it sounds like a potential workaround is to use the > > > machines IP instead of name until this is fixed, thanks for the info > > > guys. > > > > For as long as I can remember, it's been a Best Practice to have > > entries for critical NFS servers in /etc/hosts. > > Hmm sounds more like a workaround for something thats not been > fixed to me but thats just my opinion. I agree with both of you ... I also always have critical NFS servers in /etc/hosts in order to make them independent of working DNS. It is recommended as Best Practice, not only on FreeBSD. But indeed it really feels like a work- around rather than a solution. However, the problem isn't easy to solve in general. For FreeBSD, I think a workable solution would be to write a new RC script (e.g. /etc/rc.d/port_up) that polls the configured interfaces and waits until they are up. It should have a configurable timeout so it won't hang forever. Then add it to the REQUIRE line of the /etc/rc.d/mountcritremote script. Best regards Oliver -- Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing b. M. Handelsregister: Registergericht Muenchen, HRA 74606, Geschäftsfuehrung: secnetix Verwaltungsgesellsch. mbH, Handelsregister: Registergericht Mün- chen, HRB 125758, Geschäftsführer: Maik Bachmann, Olaf Erb, Ralf Gebhart FreeBSD-Dienstleistungen, -Produkte und mehr: http://www.secnetix.de/bsd "[...] one observation we can make here is that Python makes an excellent pseudocoding language, with the wonderful attribute that it can actually be executed." -- Bruce Eckel