From owner-freebsd-stable@FreeBSD.ORG Tue Apr 27 02:07:35 2010 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 88969106566C for ; Tue, 27 Apr 2010 02:07:35 +0000 (UTC) (envelope-from Phil@amdg.etowns.org) Received: from nskntqsrv03p.mx.bigpond.com (nskntqsrv03p.mx.bigpond.com [61.9.168.237]) by mx1.freebsd.org (Postfix) with ESMTP id 1BBF98FC0C for ; Tue, 27 Apr 2010 02:07:34 +0000 (UTC) Received: from nskntotgx02p.mx.bigpond.com ([58.172.114.57]) by nskntmtas05p.mx.bigpond.com with ESMTP id <20100426234949.UXBF27359.nskntmtas05p.mx.bigpond.com@nskntotgx02p.mx.bigpond.com> for ; Mon, 26 Apr 2010 23:49:49 +0000 Received: from mail.heuristicsystems.com.au ([58.172.114.57]) by nskntotgx02p.mx.bigpond.com with ESMTP id <20100426234949.VAEJ2010.nskntotgx02p.mx.bigpond.com@mail.heuristicsystems.com.au> for ; Mon, 26 Apr 2010 23:49:49 +0000 Received: from black ([10.0.5.15]) (authenticated bits=0) by mail.heuristicsystems.com.au (8.14.3/8.13.6) with ESMTP id o3QNmfn9007861 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NOT) for ; Tue, 27 Apr 2010 09:48:46 +1000 (EST) (envelope-from Phil@amdg.etowns.org) From: "Phil" To: References: <20100418213727.GA98129@icarus.home.lan> Date: Tue, 27 Apr 2010 09:48:41 +1000 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 In-Reply-To: <20100418213727.GA98129@icarus.home.lan> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5579 Thread-Index: AcrfP3kIOcDuv/t2Tgq5gKA4sDaiUAGVooUA X-RPD-ScanID: Class unknown; VirusThreatLevel unknown, RefID str=0001.0A150205.4BD6269D.00B2,ss=1,fgs=0 X-SIH-MSG-ID: rh87E9T5TAD0zmQv0WC2O1J3yArnq3Mt8ZoaRdJjqwQZTULdvMbOPpX9Y9IBg57k0i5ONRCBN2skarzmXY7RiA== Subject: RE: rc(8) script -- waiting for the network to become usable 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: Tue, 27 Apr 2010 02:07:35 -0000 Jeremy, A good proposal to improve start-up robustness. If I may suggest, waitnetwork_ip should include a short list of alternate IP's in the event of a local network outage, or DOS, etc. Something like: waitnetwork_ip="IP1 IP2 IP3" Having multiple target IP's will improve the likelihood of timely booting when silly/nasty things happen on the wider network. Good idea to have incorporated into the base system. Andrew, I agree that the problems should be corrected at the source; and my preference is to fail properly (b) so that other mitigation may occur. Done in parallel, would eventually provide a belts and braces start-up: wait for the network, and fail properly for network dependent processes. (I can't speak to desktops that resume from a suspend when the network has changed state.) Regards, Phil