From owner-freebsd-stable@FreeBSD.ORG Thu May 26 23:20:42 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E97541065675 for ; Thu, 26 May 2011 23:20:42 +0000 (UTC) (envelope-from cliftonr@volcano.org) Received: from hrndva-omtalb.mail.rr.com (hrndva-omtalb.mail.rr.com [71.74.56.124]) by mx1.freebsd.org (Postfix) with ESMTP id A5CA98FC1F for ; Thu, 26 May 2011 23:20:42 +0000 (UTC) X-Authority-Analysis: v=1.1 cv=u/eXSd3k4P+OuNmbl5aZU3ellt6eTxbOnGssQLT4hSY= c=1 sm=0 a=z1TLwsU0kBEA:10 a=RIc1Tz3ES0sA:10 a=sLPLfFCmqb0A:10 a=kj9zAlcOel0A:10 a=G5OLwwqwWgs+1dCEPNHTSw==:17 a=QycZ5dHgAAAA:8 a=jb__rZ8GAAAA:8 a=GjEiR67sAAAA:8 a=tHLP3f5oZIP-wHyYEJYA:9 a=CjuIK1q_8ugA:10 a=sHp_62vNEjwA:10 a=Ke08FT2oSu0A:10 a=G5OLwwqwWgs+1dCEPNHTSw==:117 X-Cloudmark-Score: 0 X-Originating-IP: 75.80.196.236 Received: from [75.80.196.236] ([75.80.196.236:2084] helo=oz.volcano.org) by hrndva-oedge03.mail.rr.com (envelope-from ) (ecelerity 2.2.3.46 r()) with ESMTP id 8B/04-28963-940EEDD4; Thu, 26 May 2011 23:20:41 +0000 Received: by oz.volcano.org (Postfix, from userid 1001) id DA96C50846; Thu, 26 May 2011 13:20:40 -1000 (HST) Date: Thu, 26 May 2011 13:20:40 -1000 From: Clifton Royston To: Jeremy Chadwick Message-ID: <20110526232040.GB74048@volcano.org> Mail-Followup-To: Jeremy Chadwick , William Palfreman , freebsd-stable@freebsd.org References: <20110526231447.GA92428@icarus.home.lan> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20110526231447.GA92428@icarus.home.lan> User-Agent: Mutt/1.4.2.3i Cc: freebsd-stable@freebsd.org, William Palfreman Subject: Re: mountlate not late enough for nfe0 with dhcp 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: Thu, 26 May 2011 23:20:43 -0000 On Thu, May 26, 2011 at 04:14:47PM -0700, Jeremy Chadwick wrote: > On Thu, May 26, 2011 at 11:35:41PM +0200, William Palfreman wrote: > > I find my nfe0 interface on my media server (an Acer Revo Atom) has not > > finished dhcp by the time /etc/rc.d/mountlate is run, or > > /etc/rc.d/mountcritremote. So the two NFS filesystems I want to mount cause > > booting to halt in the most inconvenient manner possible for a machine with > > no keyboard. ... > This has been discussed at length in the past, causing me to write an > rc.d script to work around the problem. You can drop this script into > /usr/local/etc/rc.d, chmod 755 it, and make use of it appropriately. > The comments in the script should help you understand it. > > http://jdc.parodius.com/freebsd/netwait > > Example entries in rc.conf: > > netwait_enable="yes" > netwait_ip="4.2.2.1 4.2.2.2" > netwait_if="em0" > > I can point you to lengthy discussions on the mailing lists about this > problem if need be, but they're from last year or the year before. They > basically discuss the problem and are what caused me to write what I > did. Ah yes, I'll also plug Jeremy's script. I don't use it with NFS, but I use it (for example) to keep ntpd from trying to come up when it has no peers because the firewall machine hasn't yet come back up, after a power outage -- Clifton -- Clifton Royston -- cliftonr@iandicomputing.com / cliftonr@volcano.org President - I and I Computing * http://www.iandicomputing.com/ Custom programming, network design, systems and network consulting services