From owner-svn-src-all@FreeBSD.ORG Mon Dec 10 23:50:57 2012 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 0080B672; Mon, 10 Dec 2012 23:50:56 +0000 (UTC) (envelope-from bright@mu.org) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.freebsd.org (Postfix) with ESMTP id 787B68FC0C; Mon, 10 Dec 2012 23:50:56 +0000 (UTC) Received: from kruse-124.4.ixsystems.com (drawbridge.ixsystems.com [206.40.55.65]) by elvis.mu.org (Postfix) with ESMTPSA id 973CB1A3C1B; Mon, 10 Dec 2012 15:50:55 -0800 (PST) Message-ID: <50C6756B.80607@mu.org> Date: Mon, 10 Dec 2012 15:51:07 -0800 From: Alfred Perlstein User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:17.0) Gecko/17.0 Thunderbird/17.0 MIME-Version: 1.0 To: Konstantin Belousov Subject: Re: svn commit: r244098 - head/sys/kern References: <201212102309.qBAN9uCf033959@svn.freebsd.org> <20121210231448.GX3013@kib.kiev.ua> <50C67272.4080008@mu.org> In-Reply-To: <50C67272.4080008@mu.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, Alfred Perlstein , src-committers@freebsd.org X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 10 Dec 2012 23:50:57 -0000 On 12/10/12 3:38 PM, Alfred Perlstein wrote: > On 12/10/12 3:14 PM, Konstantin Belousov wrote: >> On Mon, Dec 10, 2012 at 11:09:56PM +0000, Alfred Perlstein wrote: >>> Author: alfred >>> Date: Mon Dec 10 23:09:55 2012 >>> New Revision: 244098 >>> URL: http://svnweb.freebsd.org/changeset/base/244098 >>> >>> Log: >>> make sysctls kern.{bootfile,conftxt} read-only >> You just break installkernel. > My apologies, give me a few moments to double check this and I will > back out. So first off "installkernel" was not broken, the error is ignored by make, hence why I didn't see it. Second off, this is pretty broken, the first time you "installkernel" it gets it right, the second time it just seems to set kern.bootfile to /boot/kernel.old/kernel no even though that's not really the boot kernel. I will back out the change, but this just seems off. If we are going to change kern.bootfile, then we ought to detect when it's no longer valid at all and just zero it. or pretty much do something else. -Alfred