From owner-freebsd-questions Sat Jun 7 02:41:20 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id CAA08685 for questions-outgoing; Sat, 7 Jun 1997 02:41:20 -0700 (PDT) Received: from helbig.informatik.ba-stuttgart.de (helbig.informatik.ba-stuttgart.de [141.31.166.22]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id CAA08678 for ; Sat, 7 Jun 1997 02:41:15 -0700 (PDT) Received: (from helbig@localhost) by helbig.informatik.ba-stuttgart.de (8.8.5/8.8.5) id LAA04504; Sat, 7 Jun 1997 11:41:09 +0200 (MET DST) From: Wolfgang Helbig Message-Id: <199706070941.LAA04504@helbig.informatik.ba-stuttgart.de> Subject: Re: 2.2.1 to 2.2.2 upgrade In-Reply-To: <3399018B.41C67EA6@doitnow.com> from Andrew Zimmerman at "Jun 6, 97 11:36:59 pm" To: redzim@doitnow.com (Andrew Zimmerman) Date: Sat, 7 Jun 1997 11:41:08 +0200 (MET DST) Cc: questions@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL30 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk > Question: > > I was running FreeBSD release 2.2.1, and to upgrade to 2.2.2 I did the > following: > > 1) installed CVSup (statically linked version 15.0) > > 2) ran CVSup with the following supfile: > > *default tag=RELENG_2_2_2_RELEASE > *default host=cvsup.FreeBSD.org > *default prefix=/usr > *default base=/usr/local/etc/cvsup > *default release=cvs delete use-rel-suffix compress > src-all > cvs-crypto > > which downloaded all the new source files into /usr/src. > > 3) ran "make world" from /usr/src > > 4) after "make world" completed successfully (4 hrs), I recompiled my > kernel (just for kicks; I didn't change any kernel options) This was a very good idea. Some interfaces to the kernel might change and the new userland programs and/or libraries might not fit the old kernel. At least programs like ps(1) or top(1) will not work with an old kernel. > 5) rebooted the box. > > Now I read the 2.2.2 release notes, and it says /etc/sysconfig was > replaced by /etc/rc.conf, but I still have an /etc/sysconfig and no > /etc/rc.conf. Also, I don't seem to have the new lchown() command. Am ^^^^^^^^^^^^^^^^^ This is not a command but a system call, that means, you can use it from your C programs but not from the command line. Do a man lchown to find out more about it. > I really upgraded to 2.2.2? when I boot, it does say that it's running > 2.2.2, but I wonder if it really is fully installed. Your system is *not* fully upgraded by a ``make world''. You need to update your /etc directory manually, as this directory is not touched by ``make world''. Use the new files in /usr/src/etc as a starting point to upgrading your /etc. You might want to consult the man pages in section 5 of the online manual for the meaning and format of the various configuration files in /etc. The manual pages live in /usr/share/man/man5. > Finally, do I have to do this entire 5 hr process every time I want to > upgrade to a new release of FreeBSD?? No, you can download the 2.2.2 boot.flp image from ftp.FreeBSD.org, make a boot floppy, boot it and choose ``Upgrade'' from the installation main menu. Depending on your Internet connection you might want to download the whole release from ftp.freebsd.org first and install from a local media instead of installing via FTP from the nearest FreeBSD mirror. Wolfgang