Bug 110062
Summary: | rpm fails if running as root after glibc update on non standard kernels | ||
---|---|---|---|
Product: | [Retired] Red Hat Linux | Reporter: | Péter, Soós <sp> |
Component: | rpm | Assignee: | Jeff Johnson <jbj> |
Status: | CLOSED NOTABUG | QA Contact: | Mike McLean <mikem> |
Severity: | high | Docs Contact: | |
Priority: | high | ||
Version: | 9 | ||
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | i686 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2003-11-21 22:40:46 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Péter, Soós
2003-11-14 16:30:18 UTC
I'm sure we'd all appreciate it if someone could go back and find other duplicates of this bug report and indicate it was fixed late on the 13th... The glibc errata page at https://rhn.redhat.com/errata/RHSA-2003-325.html has been updated with the note "[Update 2003-11-13]: The packages for Red Hat Linux 9 have been updated for compatibility with kernels not provided by Red Hat." So the fix is to export LD_ASSUME_KERNEL=2.2.5 && rpm -Uvh glibc-2.3.2-27.9.7.i686.rpm (and also glibc-common and glibc-debug out of i386 if installed). At that point you ought to be able to run rpm again as root without that environment variable set. LD_ASSUME_KERNEL=2.2.5 did the trick for me on with an non redhat-kernel I was using a vanilla 2.2.22 with ac1 mppe and newnat+h323 not a rawhide kernel. But still this made rpm -Uhv glibc-* work > So the fix is to export LD_ASSUME_KERNEL=2.2.5 && rpm -Uvh > glibc-2.3.2-27.9.7.i686.rpm (and also glibc-common and glibc-debug > out of i386 if installed). > At that point you ought to be able to run rpm again as root without > that environment variable set. Unfortunately I have to set LD_ASSUME_KERNEL=2.2.5 every time to make rpm work as root. Use rpm-4.1.1 from ftp://ftp.rpm.org/pub/rpm/dist-4.1.z. That is compiled w/o NPTL locks. Or try rm -f /var/lib/rpm/__db* I suspect that works too. |