From owner-freebsd-stable@FreeBSD.ORG Thu Nov 15 05:13:02 2007 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E6B9116A418 for ; Thu, 15 Nov 2007 05:13:02 +0000 (UTC) (envelope-from cperciva@freebsd.org) Received: from pd3mo3so.prod.shaw.ca (idcmail-mo1so.shaw.ca [24.71.223.10]) by mx1.freebsd.org (Postfix) with ESMTP id C590713C442 for ; Thu, 15 Nov 2007 05:13:02 +0000 (UTC) (envelope-from cperciva@freebsd.org) Received: from pd2mr6so.prod.shaw.ca (pd2mr6so-qfe3.prod.shaw.ca [10.0.141.9]) by l-daemon (Sun ONE Messaging Server 6.0 HotFix 1.01 (built Mar 15 2004)) with ESMTP id <0JRJ009HA7TLOH90@l-daemon> for freebsd-stable@freebsd.org; Wed, 14 Nov 2007 22:12:57 -0700 (MST) Received: from pn2ml1so.prod.shaw.ca ([10.0.121.145]) by pd2mr6so.prod.shaw.ca (Sun Java System Messaging Server 6.2-7.05 (built Sep 5 2006)) with ESMTP id <0JRJ00B147TKHG60@pd2mr6so.prod.shaw.ca> for freebsd-stable@freebsd.org; Wed, 14 Nov 2007 22:12:57 -0700 (MST) Received: from hexahedron.daemonology.net ([24.82.201.197]) by l-daemon (Sun Java System Messaging Server 6.2-7.05 (built Sep 5 2006)) with SMTP id <0JRJ0027X7THPB90@l-daemon> for freebsd-stable@freebsd.org; Wed, 14 Nov 2007 22:12:55 -0700 (MST) Received: (qmail 3888 invoked from network); Thu, 15 Nov 2007 05:12:47 +0000 Received: from unknown (HELO hexahedron.daemonology.net) (127.0.0.1) by localhost with SMTP; Thu, 15 Nov 2007 05:12:47 +0000 Date: Wed, 14 Nov 2007 21:12:47 -0800 From: Colin Percival In-reply-to: <473B5D10.1070109@janh.de> To: Jan Henrik Sylvester Message-id: <473BD54F.9050808@freebsd.org> MIME-version: 1.0 Content-type: text/plain; charset=ISO-8859-1 Content-transfer-encoding: 7bit X-Enigmail-Version: 0.95.0 References: <473B5D10.1070109@janh.de> User-Agent: Thunderbird 2.0.0.6 (X11/20071102) Cc: stable-list freebsd Subject: Re: freebsd-update 6.2-R -> 6.3-B1 rollback failed 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: Thu, 15 Nov 2007 05:13:03 -0000 Jan Henrik Sylvester wrote: > I tried to rollback the freebsd-update 6.2-R -> 6.3-B1. To confirm that I understand what you're saying here: You upgraded from FreeBSD 6.2-RELEASE to 6.3-BETA1, then you ran "freebsd-update rollback" to move back to FreeBSD 6.2-RELEASE, right? > It printed quite a few lines of > > /libexec/ld-elf.so.1: grep: Undefined symbol "__sbmaskrune" > > and > > /libexec/ld-elf.so.1: sort: Undefined symbol "__sbmaskrune" > > but finished with a 'done.' Ick. Right, I think I see what happened here -- the first step in the rollback process is to install the old libraries, but this overwrites the libraries currently in use by installed programs. Yep, this is definitely broken -- ironically, it works fine for rolling back from FreeBSD 7.x to FreeBSD 6.x, since installing the old libraries doesn't involve overwriting the newer ones. I'll get this fixed ASAP. > I guess it was my fault, because on some of my 6.2 machines I had a > patch for libexec/rtld-elf/rtld.c adding the symbol _dlsym that was > needed for linux-flashplugin-7 at some time. This was probably one of > these machines that had a GENERIC/SMP kernel but modified elf loader. Nope, not your fault -- I screwed up the rollback code. > Now, how do I get this machine running again? I believe that your system is now 6.3-BETA1 with a few shared libraries from 6.2-RELEASE mixed in. If you can get a copy of /lib/*.so.* and /usr/lib/*.so.* from a 6.3-BETA1 system and install those into place (in fact, probably all you need is /lib/libc.so.6) your system should be ok. Let me know if you need any help with this. Getting the system back to 6.2-RELEASE might be more difficult, now that the FreeBSD Update code thinks that it has rolled back its updates, but I might be able to find a way to do that for you -- is it a disaster if this system ends up stuck at 6.3-BETA1? Colin Percival