Last night I updated a rawhide x86_64 system that I'd installed just a week ago. The previous update was two or three days ago, and went fine. This one however, did not go well.
... Transaction Test Succeeded Running Transaction Updating : 1:NetworkManager-glib-0.7.1-8.git20090708.fc12.x86_64 1/74 Updating : libxklavier-4.0-3.fc12.x86_64 2/74 Updating : libsemanage-2.0.33-1.fc12.x86_64 3/74 Updating : 12:dhclient-4.1.0-24.fc12.x86_64 4/74 Error in POSTIN scriptlet in rpm package 12:dhclient-4.1.0-24.fc12.x86_64 error: %post(dhclient-12:4.1.0-24.fc12.x86_64) scriptlet failed, signal 11 Updating : 1:NetworkManager-0.7.1-8.git20090708.fc12.x86_64 5/74 Error in POSTIN scriptlet in rpm package 1:NetworkManager-0.7.1-8.git20090708.fc12.x86_64 ...
"yum -y upgrade" printed this summary:
Removed: kernel.x86_64 0:2.6.29.5-191.fc11
Updated: NetworkManager-glib.x86_64 1:0.7.1-8.git20090708.fc12 bodhi-client.noarch 0:0.6.1-1.fc12 control-center-filesystem.x86_64 1:2.27.3-2.fc12 empathy-libs.x86_64 0:2.27.3-4.fc12 filesystem.x86_64 0:2.4.23-1.fc12 hunspell.x86_64 0:1.2.8-9.fc12 kernel-firmware.noarch 0:2.6.31-0.62.rc2.git4.fc12 kernel-headers.x86_64 0:2.6.31-0.62.rc2.git4.fc12 libsemanage.x86_64 0:2.0.33-1.fc12 libsemanage-python.x86_64 0:2.0.33-1.fc12 libtirpc.x86_64 0:0.2.0-3.fc12 libv4l.x86_64 0:0.6.0-1.fc12 libxklavier.x86_64 0:4.0-3.fc12 mono-core.x86_64 0:2.4.2.1-1.fc12 mono-data.x86_64 0:2.4.2.1-1.fc12 mono-data-sqlite.x86_64 0:2.4.2.1-1.fc12 mono-extras.x86_64 0:2.4.2.1-1.fc12 mono-web.x86_64 0:2.4.2.1-1.fc12 mono-winforms.x86_64 0:2.4.2.1-1.fc12 monodoc.x86_64 0:2.4.2.1-1.fc12 neon.x86_64 0:0.28.5-1.fc12 ntfsprogs.x86_64 0:2.0.0-11.fc12 xfsprogs.x86_64 0:3.0.1-9.fc12 xorg-x11-drv-evdev.x86_64 0:2.2.99-3.20090629.fc12 xorg-x11-drv-synaptics.x86_64 0:1.1.99-2.20090710.fc12 xorg-x11-drv-vmmouse.x86_64 0:12.6.4-2.fc12
Failed: NetworkManager.x86_64 1:0.7.1-8.git20090708.fc12 NetworkManager-gnome.x86_64 1:0.7.1-8.git20090708.fc12 control-center.x86_64 1:2.27.3-2.fc12 dhclient.x86_64 12:4.1.0-24.fc12 ekiga.x86_64 0:3.2.5-2.fc12 kernel.x86_64 0:2.6.31-0.62.rc2.git4.fc12 prelink.x86_64 0:0.4.2-1.fc12 setroubleshoot-plugins.noarch 0:2.1.9-1.fc12 sudo.x86_64 0:1.7.1-4.fc12 system-config-date.noarch 0:1.9.39-1.fc12 tar.x86_64 2:1.22-4.fc12
And now, from the same root shell (zsh) that ran the yum -y upgrade command, whenever I try to run any non-builtin command with shared libraries, it segfaults:
$ /bin/true zsh: segmentation fault /bin/true $ ldd /bin/false zsh: segmentation fault ldd /bin/false
Statically-linked ones like "mount" do work:
$ mount > /dev/null && echo ok ok
From the names of the packages involved in the
latest update, only "prelink" seems like it could cause such fundamental trouble.
Digging a little showed I'm not alone:
http://bugzilla.redhat.com/509655
Jakub Jelinek's comments suggesting how to recover worked for me:
Hi.
On Sun, 12 Jul 2009 12:01:15 +0200, Jim Meyering wrote
Jakub Jelinek's comments suggesting how to recover worked for me:
https://bugzilla.redhat.com/show_bug.cgi?id=509655#c13
In order to upgrade prelink (or glibc, in my case) without sinking the whole system do the following:
a) set PRELINKING=no in /etc/sysconfig/prelink b) run /etc/cron.daily/prelink c) Upgrade.
Optional: d) set PRELINKING=yes in /etc/sysconfig/prelink
Even more optional, as it will be run later sometime by cron: e) run /etc/cron.daily/prelink