Red Hat Bugzilla – Bug 89135
RPM seg faults after upgrade to glibc-2.3.2
Last modified: 2016-11-24 09:58:01 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3) Gecko/20030312
Description of problem:
After upgrading to Glibc-2.3.2 rpm will no longer install, erase or upgrade
packages. When rpm is run with -Uvh, -ivh, -e the "preparing" message appears
along with the hash marks, but when it reaches 100% it gives a sementation
fault. Other rpm functions do work and /usr/lib/rpm/rpmi works.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1.run -Uvh rpmfile.rpm
Actual Results: Segmentation fault
Expected Results: Application should have installed
I don't remember releasing glibc-2.3.2 for RHL7.3.
Certainly, if you upgrade glibc and want to use NPTL, you need to upgrade rpm
too (and lots of other stuff, since several programs were not #including <errno.h>
before using errno), because rpm is statically linked and having it dlopen
NPTL libraries when the statically linked binary doesn't know anything about TLS
cannot work very well.
As rpm doesn't work for you ATM, do mv /lib/tls /lib/notls; then upgrade rpm,
then mv /lib/notls /lib/tls followed by ldconfig. And upgrade to 27.9, 11.9
had some important issues.
May be I am too naive, I am having similar problem and I dont see
any /lib/tls on my machine (I am using Red Hat 8). Please suggest me
some solution as I am badly stuck by it.
Tata Consultancy Services.
$ ls -l *.rpm
-rw-rw-r-- 1 root root 134717 May 13 2003
-rw-rw-r-- 1 root root 6054516 May 13 2003
-rw-rw-r-- 1 root root 219118 May 13 2003
-rw-rw-r-- 1 root root 13264779 May 13 2003
-rw-rw-r-- 1 root root 439192 May 13 2003
$ rpm2cpio rpm-4.1.1-1.8x.i386.rpm | cpio -idmv bin/rpm
$ bin/rpm -Uvh *.rpm