From owner-freebsd-questions@FreeBSD.ORG Fri May 12 19:15:42 2006 Return-Path: X-Original-To: questions@freebsd.org Delivered-To: freebsd-questions@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A4DDC16B819 for ; Fri, 12 May 2006 19:15:42 +0000 (UTC) (envelope-from kdk@daleco.biz) Received: from ezekiel.daleco.biz (southernuniform.com [66.76.92.18]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4CB7D43D45 for ; Fri, 12 May 2006 19:15:41 +0000 (GMT) (envelope-from kdk@daleco.biz) Received: from [192.168.2.2] ([69.27.149.254]) by ezekiel.daleco.biz (8.13.4/8.13.1) with ESMTP id k4CJFaXq064308; Fri, 12 May 2006 14:15:36 -0500 (CDT) (envelope-from kdk@daleco.biz) Message-ID: <4464DED3.7040606@daleco.biz> Date: Fri, 12 May 2006 14:15:31 -0500 From: Kevin Kinsey User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.8.0.2) Gecko/20060509 SeaMonkey/1.0.1 MIME-Version: 1.0 To: jeff.cross@averageadmins.com References: <20060512101510.z2k66mhqz1d1c4cw@www.averageadmins.com> In-Reply-To: <20060512101510.z2k66mhqz1d1c4cw@www.averageadmins.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: questions@freebsd.org Subject: Re: Upgrading from 6.0 to 6.1 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 May 2006 19:15:48 -0000 jeff.cross@averageadmins.com wrote: > This has possibly been discussed a number of times, and if it has, I > apologize. Here is my situation: > Apology accepted ;-) :-D > I would like to upgrade my existing 6.0-SECURITY system to 6.1-RELEASE > and continue using freebsd-update to keep my system on the up and up. I > read through the upgrade instructions on disk #1 of the 6.1 release CD > and wondered if that would be the easiest way to upgrade? > The canonical way is via a cvsup/buildworld procedure as outlined in the FreeBSD Handbook. There is also a "binary upgrade" option in sysinstall(8); I've never used it, never seen it discussed, and don't know how well it works. I have to assume it does until proven otherwise, though. > From what I read, all of the configuration files for 6.1 would be in > the /etc/upgrade folder. Would they have to stay there? Would 6.1, > from this point forward, always have the /etc folder in /etc/upgrade? > Do I copy new pieces back to /etc for the production system? I read > about merging but does it merge from /etc to /etc/upgrade? > mergemaster is the standard for upgrading /etc, though some other options exist. mergemaster, in general, takes the new source files from /usr/src/etc, sets up a temporary /etc/ tree under /var/temproot, and uses diff(1) to find/display differences between the two files. Generally, you want to accept new files if you've never changed the configuration file in question, and merge the old and new files for those you have modified. In some cases, the changes to the new files are trivial, in which case you ignore the new file or make the trivial changes manually later, if you're a perfectionist. IIRC, other tools exist to accomplish this, also. You might search the ports tree for "etcmerge", IIRC. As for /etc/upgrade, it doesn't exist on my system. Where did you read about it? Perhaps it's part of the sysinstall(8) "binary upgrade" procedure? > Is another scenario to do the cvsup method and go that route? If I did, > would I be able to use freebsd-update from that point forward or would I > be limited to only using the cvsup method? > I'm not yet familiar with Colin's fine update tool, but I don't think that they would in any way conflict (unless you attempted to use them simultaneously). Please refer to freebsd-update documentation for authoritative answers in this regard. The difference is that freebsd-update is an attempt to replace system binaries with a standard, secure set of newly-compiled binaries. cvsup/buildworld et al is an automated (well, semi-automated) procedure for rebuilding the system from its source code. > I know both require merging config files and what not, which makes me a > little nervous, but I would like the easiest method available. I love > using FreeBSD and use it primarily on my laptop so compiling the entire > OS on there may take a while so obviously the binary upgrade looks > good. I am just unsure about the /etc/upgrade folder and how I get all > of that back to /etc. Make a backup and go for it! Kevin Kinsey -- We should have a Vollyballocracy. We elect a six-pack of presidents. Each one serves until they screw up, at which point they rotate. -- Dennis Miller