From owner-freebsd-stable@FreeBSD.ORG Tue Nov 28 12:15:53 2006 Return-Path: X-Original-To: stable@freebsd.org Delivered-To: freebsd-stable@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id AF46E16A52F for ; Tue, 28 Nov 2006 12:15:53 +0000 (UTC) (envelope-from cperciva@freebsd.org) Received: from pd4mo1so.prod.shaw.ca (shawidc-mo1.cg.shawcable.net [24.71.223.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id CFC7643CB3 for ; Tue, 28 Nov 2006 12:15:39 +0000 (GMT) (envelope-from cperciva@freebsd.org) Received: from pd2mr4so.prod.shaw.ca (pd2mr4so-qfe3.prod.shaw.ca [10.0.141.107]) by l-daemon (Sun ONE Messaging Server 6.0 HotFix 1.01 (built Mar 15 2004)) with ESMTP id <0J9F00KK5WQ6OSC0@l-daemon> for stable@freebsd.org; Tue, 28 Nov 2006 05:15:42 -0700 (MST) Received: from pn2ml4so.prod.shaw.ca ([10.0.121.148]) by pd2mr4so.prod.shaw.ca (Sun Java System Messaging Server 6.2-7.05 (built Sep 5 2006)) with ESMTP id <0J9F00DIVWQ5FV01@pd2mr4so.prod.shaw.ca> for stable@freebsd.org; Tue, 28 Nov 2006 05:15:42 -0700 (MST) Received: from hexahedron.daemonology.net ([24.82.18.31]) by l-daemon (Sun ONE Messaging Server 6.0 HotFix 1.01 (built Mar 15 2004)) with SMTP id <0J9F00AVZWQ4FZH1@l-daemon> for stable@freebsd.org; Tue, 28 Nov 2006 05:15:41 -0700 (MST) Received: (qmail 1448 invoked from network); Tue, 28 Nov 2006 12:15:34 +0000 Received: from unknown (HELO ?127.0.0.1?) (127.0.0.1) by localhost with SMTP; Tue, 28 Nov 2006 12:15:34 +0000 Date: Tue, 28 Nov 2006 04:15:34 -0800 From: Colin Percival In-reply-to: <003e01c712db$801fbd50$5203fb93@KLOBOUCEK> To: Petr Holub Message-id: <456C2866.7070700@freebsd.org> MIME-version: 1.0 Content-type: text/plain; charset=ISO-8859-2 Content-transfer-encoding: 7bit X-Enigmail-Version: 0.94.0.0 References: <003e01c712db$801fbd50$5203fb93@KLOBOUCEK> User-Agent: Thunderbird 1.5 (X11/20060416) Cc: stable@freebsd.org Subject: Re: freebsd-update to track release engineering X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 28 Nov 2006 12:15:53 -0000 Petr Holub wrote: >> To avoid repeating myself too many times, I'm just going to point >> to my latest blog entry: >> http://www.daemonology.net/blog/2006-11-26-freebsd-6.1-to-6.2-binary-u >> pgrade.html > > I've tested it (ok, one day later than I assumed) and resulted in > a kernel panic after reboot when attempting to start mountd. Basically > it looks like the new kernel hasn't been installed (/boot/kernel/kernel > is dated Aug 30). That's strange. > May it be because I'm tracking 6.1-SECURITY using > freebsd-update and the binary diff fails then? That shouldn't be the case; I've used this script on lots of other systems which were running FreeBSD Update, and when files can't be generated by using a binary patch, the script just downloads the entire file instead. Assuming you still have the files in the script's working directory (/usr/upgrade, if you followed my blog post line for line), could you look for a directory named something-install or something-rollback and send me the INDEX-OLD and INDEX-NEW files from there? Hopefully that will let me figure out what went wrong... > Maybe just an idea for improvement: it would be helpful if you can > put the update candidates for changed config files (/etc) into /etc/upgrade > in a way binary update from sysinstall does that. I understand why > you want to avoid doing mergemaster from your script, but it would > be fine to have the files at least ready so that user can diff them > and decide what to do. I'm planning on adding automatic merging of configuration files soon. Colin Percival