From owner-freebsd-current@FreeBSD.ORG Tue Aug 24 18:26:45 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5104416A4DC; Tue, 24 Aug 2004 18:26:45 +0000 (GMT) Received: from out014.verizon.net (out014pub.verizon.net [206.46.170.46]) by mx1.FreeBSD.org (Postfix) with ESMTP id BE5D343D2F; Tue, 24 Aug 2004 18:26:44 +0000 (GMT) (envelope-from cswiger@mac.com) Received: from [192.168.1.3] ([68.160.193.218]) by out014.verizon.net (InterMail vM.5.01.06.06 201-253-122-130-106-20030910) with ESMTP id <20040824182643.MLKT24490.out014.verizon.net@[192.168.1.3]>; Tue, 24 Aug 2004 13:26:43 -0500 Message-ID: <412B884F.1000004@mac.com> Date: Tue, 24 Aug 2004 14:26:23 -0400 From: Chuck Swiger Organization: The Courts of Chaos User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.2) Gecko/20040803 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Ruslan Ermilov References: <200408241641.20389.4711@chello.at> <20040824164442.GE37217@ip.net.ua> <20040824164701.GF37217@ip.net.ua> <412B7C24.3040006@mac.com> <20040824174456.GA38418@ip.net.ua> In-Reply-To: <20040824174456.GA38418@ip.net.ua> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Authentication-Info: Submitted using SMTP AUTH at out014.verizon.net from [68.160.193.218] at Tue, 24 Aug 2004 13:26:43 -0500 cc: Christian Hiris <4711@chello.at> cc: freebsd-current@FreeBSD.ORG Subject: Re: Upgrade to 5.3-BETA1: make installkernel - Stop in /usr/src/sys/modules X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Aug 2004 18:26:45 -0000 Ruslan Ermilov wrote: > On Tue, Aug 24, 2004 at 01:34:28PM -0400, Chuck Swiger wrote: >> Ruslan Ermilov wrote: >> [ ...using NFS to share /usr/src and /usr/obj... ] >>> I forgot to mention what we *do* support. We support NFS >>> mounting remote /, /usr, and /var partitions, and doing an >>> installworld/installkernel with DESTDIR pointing to NFS >>> mounts. This will result in missing file flags (NFS does >>> not support them), but otherwise it's what we actually >>> support: host doing build is the host doing an install. >> >> I've been updating a half-dozen or so 4.x machines using NFS-mounted >> /usr/src and /usr/obj since 4.1 or so. I'd much prefer to help get >> NFS-distributed builds supported again than help change the Handbook: >> >> http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/small-lan.html > > I've underlined important parts. > > 19.5.1 Preliminaries > > First, identify a set of machines that is going to run the same set of > ^^^^^^^^^^^^^^^^^^^ > binaries, which we will call a build set. Each machine can have a custom > ^^^^^^^^ > kernel, but they will be running the same userland binaries. > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > > This configuration we *do* support. In the section quoted above by ">>> ", you state that "host doing build is the host doing an install". In Handbook 19.5.1, the host doing the install is not the host which did the build-- the host doing the install is NFS-mounting the software trees from the host which did the build. Let's say I have one build machine, three multihomed firewall boxes which only get updated for critical security problems which affect (IPFW, kernel, SSH), and several other FreeBSD systems running mail, WWW, etc which I update more frequently as downtime is less critical, and running more user-oriented services means more exposure. Let's say they all started out at 4.1. I wait, update the build machine regularly by following RELENG_4, and say around 4.3 decide I'm happy and want to update all but the firewall machines via NFS. More time passes, and the build machine gets up to 4.5 when a raft of OpenSSL/OpenSSL patches breaks loose. I buildworld/buildkernel under 4.5 on the build server, test the upgrade process until I am happy with the results, and then use NFS to export /usr/src and /usr/obj, and update not just the 4.3 boxes but the older 4.1 machines to 4.5. Is doing the equivalent today OK, or is it not supported? -- -Chuck