From owner-freebsd-questions@FreeBSD.ORG Tue Dec 14 14:41:10 2004 Return-Path: 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 7A0E416A4CE for ; Tue, 14 Dec 2004 14:41:10 +0000 (GMT) Received: from smtp03.mrf.mail.rcn.net (smtp03.mrf.mail.rcn.net [207.172.4.62]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4F3BA43D49 for ; Tue, 14 Dec 2004 14:41:10 +0000 (GMT) (envelope-from roberthuff@rcn.com) Received: from 209-6-197-67.c3-0.smr-ubr1.sbo-smr.ma.cable.rcn.com ([209.6.197.67] helo=jerusalem.litteratus.org.litteratus.org) by smtp03.mrf.mail.rcn.net with esmtp (Exim 3.35 #7) id 1CeDrR-0003FM-00 for freebsd-questions@freebsd.org; Tue, 14 Dec 2004 09:41:09 -0500 From: Robert Huff MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <16830.64383.964934.627664@jerusalem.litteratus.org> Date: Tue, 14 Dec 2004 09:41:03 -0500 To: "freebsd-questions" In-Reply-To: <45619.24.11.146.21.1103033896.squirrel@24.11.146.21> References: <41BE66CA.9060000@nbritton.org> <16830.29700.666581.429946@jerusalem.litteratus.org> <45619.24.11.146.21.1103033896.squirrel@24.11.146.21> X-Mailer: VM 7.17 under 21.5 (beta16) "celeriac" XEmacs Lucid Subject: Re: Safe to just rebuild kernel after cvsuping src? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Dec 2004 14:41:10 -0000 Charles Ulrich writes: > > As a general rule, this is _never_ safe. Unless you're > > prepared to locate and understand all the changes - just bite the > > bullet and make world. > > (This is not to say you can't do it and have it work - been > > there, done that - but you're definitely increasing the odds of a > > problem.) > > I've been doing the opposite on some of my machines which run > stable releases of FreeBSD. Is it relatively safe to build and > install a slightly newer world without rebuilding the kernel? Were I to want to do this, I would (after updating the sources): 1) read /usr/src/UPDATING. If there is an entry that requires it (e,g, 20041102) or even implies it; then rebuild world. 2) following the directions in the Handbook rebuild the kernel only. Capture the output, and look for any complaints about missing symbols, etc. 3) Save the old kernel/kernel directory into a dated space. The install kernel target will save a copy ... but that gets overwritten if you have to build/again. 4) (optional) sacrifice black chicken to deity of choice (if any). 5) install new kernel and reboot. If sucessful, run mergemaster and reboot. 6) Test all first and second tier system functions and user applications. For this purpose, is a first-tier application. Robert Huff