From owner-freebsd-stable@FreeBSD.ORG Wed Jun 15 02:16:55 2005 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 6B24D16A41C for ; Wed, 15 Jun 2005 02:16:55 +0000 (GMT) (envelope-from marsgmiro@gmail.com) Received: from zproxy.gmail.com (zproxy.gmail.com [64.233.162.200]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1D27243D48 for ; Wed, 15 Jun 2005 02:16:54 +0000 (GMT) (envelope-from marsgmiro@gmail.com) Received: by zproxy.gmail.com with SMTP id 12so78931nzp for ; Tue, 14 Jun 2005 19:16:54 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=Dtpm6p/ob+yslj07EK15b8mLAPSsp1Uvub3j1sUsbD9iAQhZEZLaYGVwJs5t2IURM+AFS3rAeBKeOhP9m3g4xUeA05d7afMxArKR3KO9/lTE4F8PJzIxYgKv2M7iTD0EzjhNLk1oPSvjKtDBRBnLpkqtkxVTcm+m6pabOpSJib4= Received: by 10.36.227.62 with SMTP id z62mr4135084nzg; Tue, 14 Jun 2005 19:16:54 -0700 (PDT) Received: by 10.36.72.13 with HTTP; Tue, 14 Jun 2005 19:16:54 -0700 (PDT) Message-ID: <28edec3c050614191644ef093b@mail.gmail.com> Date: Wed, 15 Jun 2005 10:16:54 +0800 From: "Mars G. Miro" To: Scot Hetzel In-Reply-To: <790a9fff05061409093da406f6@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <28edec3c0506140449509acb4c@mail.gmail.com> <790a9fff05061409093da406f6@mail.gmail.com> Cc: freebsd-stable@freebsd.org Subject: Re: NFS upgrading from 5.2.1->5.4 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: "Mars G. Miro" List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 Jun 2005 02:16:55 -0000 On 6/15/05, Scot Hetzel wrote: > On 6/14/05, Mars G. Miro wrote: > > [ resent, as I forgot to add the subject, sorry ] > >=20 > > I've found out that there are some hurdles in doing this upgrade, as > > also pointed out by another user [0]. The problem is in make and I > > think it happened during this change [1]. It can be solved by > > installing the new make first, before the installkernel and > > installworld process, e.g.: > > [ this assumes you've already built world from another box and > > NFS-exported the /usr/src and /usr/obj directories, and mounting them > > from the client ] > > # cd /usr/src/usr.bin/make && make install > > [ 'rehash' if using csh. then create the pf user/groups, as pf became > > officially imported in 5.3, refer to src/etc/master.passwd and group > > files ] > > # cd /usr/src && make installkernel && make installworld > > [ mergemaster ] > >=20 > This is commonly found when you do an NFS upgrade when not using > machines that don't have the same -RELEASE number. >=20 > NFS server/build machine - 5.4-RELEASE > NFS client/install machine - 5.2.1-RELEASE >=20 I have not tried not doing the upgrade via NFS or building the world directly on a 5.2.1 installation but it's likely the same case. What gets built on /usr/obj and NFS exported will be what's installed on the client, but since it's the 5.2.1 'make' that doesn't understand some of the new entries on the 5.4R Makefiles that result in this problem, you'll need to install the new 5.4R make first. > If the build machine and install machine were at the same -RELEASE > number, I don't believe you would have come across this problem. >=20 I'm not sure I get you but the purpose of making the world in FreeBSD is ought to be able to upgrade across releases (some people even report upgrading from major releases, e.g 4.X to 5.X), albeit minor hurdles (like the one I've experienced). > As for the pf user/group, it is suggested in "UPDATING" and the > handbook, that you do a mergemaster -p before the installworld to > ensure that the password and group files are upto date with the > required users/groups. >=20 Yes. mergemaster -p or adding the user/groups directly accomplish the same thing ;-) > Scot >=20 cheers mars