Bug 91935
| Summary: | rpm commands randomly fail, and keep failing then, wihen using NPTL. | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Retired] Red Hat Linux | Reporter: | Carlo Wood <bugzilla> | ||||
| Component: | rpm | Assignee: | Jeff Johnson <jbj> | ||||
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Mike McLean <mikem> | ||||
| Severity: | high | Docs Contact: | |||||
| Priority: | medium | ||||||
| Version: | 9 | ||||||
| Target Milestone: | --- | ||||||
| Target Release: | --- | ||||||
| Hardware: | athlon | ||||||
| OS: | Linux | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2003-06-24 21:34:52 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: | |||||||
| Attachments: |
|
||||||
|
Description
Carlo Wood
2003-05-30 00:32:38 UTC
Created attachment 92133 [details]
Output of strace rpm.
Was this reproduced yet?
I am currently having this problem ALWAYS.
rpm really needs fixing.
I attached an strace of:
/usr/src/RedHat>strace -ttT -ff -o rpmout rpm -i glibc-2.3.2-27.9.src.rpm
rpmdb: unable to join the environment
error: db4 error(11) from dbenv->open: Resource temporarily unavailable
error: cannot open Packages index using db3 - Resource temporarily unavailable (11)
error: cannot open Packages database in /var/lib/rpm
warning: glibc-2.3.2-27.9.src.rpm: V3 DSA signature: NOKEY, key ID db42a60e
Note that 'rpm' calls:
select(0, NULL, NULL, NULL, {6, 0})
which doesn't look right.
This problem is fixed in rpm-4.2 (for Red Hat 9 with NPTL)
or rpm-4.1.1 (for Red Hat 8.0 w/o NPTL) packages at
ftp://ftp.rpm.org/pub/rpm/dist/rpm-x.y.z
Quick fix is to do
rm -f /var/lib/rpm/__db*
to remove stale locks left from missed SIGPIPE.
|