From owner-freebsd-stable@FreeBSD.ORG Sat Jan 7 14:16:22 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1AA7416A420 for ; Sat, 7 Jan 2006 14:16:22 +0000 (GMT) (envelope-from ceri@submonkey.net) Received: from shrike.submonkey.net (cpc2-cdif2-3-1-cust208.cdif.cable.ntl.com [82.31.78.208]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8D36B43D46 for ; Sat, 7 Jan 2006 14:16:21 +0000 (GMT) (envelope-from ceri@submonkey.net) Received: from ceri by shrike.submonkey.net with local (Exim 4.60 (FreeBSD)) (envelope-from ) id 1EvErk-000Eur-Gn; Sat, 07 Jan 2006 14:16:20 +0000 Date: Sat, 7 Jan 2006 14:16:20 +0000 From: Ceri Davies To: Marius Nuennerich Message-ID: <20060107141620.GO86645@submonkey.net> Mail-Followup-To: Ceri Davies , Marius Nuennerich , freebsd-stable@freebsd.org References: <20060105134133.61aef78f@sol> <20060106151441.GE86645@submonkey.net> <20060107013534.6b1ebdab@sol> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="Po3hG7FLjYU3tiSY" Content-Disposition: inline In-Reply-To: <20060107013534.6b1ebdab@sol> X-PGP: finger ceri@FreeBSD.org User-Agent: Mutt/1.5.11 Sender: Ceri Davies Cc: freebsd-stable@freebsd.org Subject: Re: /boot/nextboot.conf not deactivated after one boot 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: Sat, 07 Jan 2006 14:16:22 -0000 --Po3hG7FLjYU3tiSY Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Jan 07, 2006 at 01:35:34AM +0100, Marius Nuennerich wrote: > On Fri, 6 Jan 2006 15:14:41 +0000 > Ceri Davies wrote: >=20 > > On Thu, Jan 05, 2006 at 01:41:33PM +0100, Marius Nuennerich wrote: > > > Hi folks, > > >=20 > > > it seems like /boot/nextboot.conf is neither deleted nor > > > nextboot_enable set to NO on the first line after a reboot. > > > So it isn't a one shot anymore as the manpage claims. > > >=20 > > > System is 6.0-RELEASE. > >=20 > > I think this is down to a typo in /etc/rc.d/root; at least I can't find > > any other reference to /boot/nextkernel in src/. Patch attached > > (root.diff). > >=20 > > > It would also be fine imo, if the -k option would be optional and the > > > next kernel defaults to "kernel". > >=20 > > I'm not sure if getopts can be persuaded to take an optional argument to > > an option. If not, the attached patch (nextboot.diff) should work for > > you. >=20 > I tested both patches and they work as they should. Please commit :) OK, awaiting mentor approval. Thanks for the report and for testing. Ceri --=20 Only two things are infinite, the universe and human stupidity, and I'm not sure about the former. -- Einstein (attrib.) --Po3hG7FLjYU3tiSY Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (FreeBSD) iD8DBQFDv800ocfcwTS3JF8RAgpZAJ9YvF7fem0VZJpItp4K3lTS1avoPACfZMAG XuOebXEOq9v1LqrITODB2tM= =MfQW -----END PGP SIGNATURE----- --Po3hG7FLjYU3tiSY--