Date: Wed, 14 Nov 2007 21:12:47 -0800 From: Colin Percival <cperciva@freebsd.org> To: Jan Henrik Sylvester <me@janh.de> Cc: stable-list freebsd <freebsd-stable@freebsd.org> Subject: Re: freebsd-update 6.2-R -> 6.3-B1 rollback failed Message-ID: <473BD54F.9050808@freebsd.org> In-Reply-To: <473B5D10.1070109@janh.de> References: <473B5D10.1070109@janh.de>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?473BD54F.9050808>