From owner-cvs-all Mon Dec 10 7:59:21 2001 Delivered-To: cvs-all@freebsd.org Received: from fledge.watson.org (fledge.watson.org [204.156.12.50]) by hub.freebsd.org (Postfix) with ESMTP id B2E9237B416; Mon, 10 Dec 2001 07:59:14 -0800 (PST) Received: from fledge.watson.org (robert@fledge.pr.watson.org [192.0.2.3]) by fledge.watson.org (8.11.6/8.11.5) with SMTP id fBAFwpi04143; Mon, 10 Dec 2001 10:58:51 -0500 (EST) (envelope-from robert@fledge.watson.org) Date: Mon, 10 Dec 2001 10:58:51 -0500 (EST) From: Robert Watson X-Sender: robert@fledge.watson.org To: Sheldon Hearn Cc: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/boot/common panic.c In-Reply-To: <54466.1007977919@axl.seasidesoftware.co.za> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Mon, 10 Dec 2001, Sheldon Hearn wrote: > On Sat, 08 Dec 2001 19:13:21 PST, "David O'Brien" wrote: > > > > Modified files: > > > sys/boot/common panic.c > > > Log: > > > Waits for a keypress before rebooting on panic. > > > > This sounds scary for unattended machines. Perhaps this should be > > wrapped with DDB_UNATTENDED. > > As was pointed out when dcs first made this change, the panic in > question happens so early that an automatic reboot isn't going to > achieve anything. And my follow-up point was that with pxeboot, it will make a difference--I can swap out the loader and its various configuration files at run-time on the NFS server. I prefered solution might be to detect the netboot case, and sleep 30 seconds or something before rebooting, but pause on a non-netboot? Or, simply take the same approach as DDB_UNATTENDED -- allow some sort of configuration (maybe at compile-time) to select the behavior. Robert N M Watson FreeBSD Core Team, TrustedBSD Project robert@fledge.watson.org NAI Labs, Safeport Network Services To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message