On Sat, 12 Feb 2005 20:09:15 -0800, [EMAIL PROTECTED] wrote:

> Well, I updated my system and rebooted, only to find that I cannot get
> back in. As soon as  udev tries to start, I get errors about unable to
> locate libexpat.so.0.
> 
> I booted from the LiveCD and had no drive issues. I emerged both
> libexpat and udev to see if  either of these were the culprit, but to no
> avail. 

I got bitten in the arse by this one too. the problem is the new gawk
ebuild, with xml support. If you have xml in your USE flags, gawk is built
dynamically linked to libexpat, which isinstalled in /usr/lib. But gawk
is used by the rc scripts before partitions other than / are mounted. If
you have /usr on a separate partition if barfs, / is left mounted ro, lvm
can't mount your virtual partitions because it can't write to
/etc/lvm.conf and the world falls apart. it was made worse for me because
the messages flashed by too fast to see, and the subsequent errors filled
the terminal scrollback buffer :(

The short term kludge, to get the system to boot again, is to copy
libexpat from /usr/lib to /lib. This works until a libexpat upgrade leaves
you with two versions. If you don't need the xml support in gawk, rebuild
it with -xml.

See http://bugs.gentoo.org/show_bug.cgi?id=81823


-- 
Neil Bothwick

Linux like wigwam. No windows, no gates, Apache inside.

Attachment: pgpZnhhFQqU2K.pgp
Description: PGP signature

Reply via email to