Bug 114978
Summary: | duelling rpm operations corrupt the rpm database | ||
---|---|---|---|
Product: | [Retired] Red Hat Linux | Reporter: | Peter Wolfenden <pw> |
Component: | rpm | Assignee: | Jeff Johnson <jbj> |
Status: | CLOSED NOTABUG | QA Contact: | Mike McLean <mikem> |
Severity: | high | Docs Contact: | |
Priority: | medium | ||
Version: | 7.2 | ||
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | i386 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2004-02-05 19:27:32 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
Peter Wolfenden
2004-02-05 02:25:25 UTC
Well, we meet again ;-) But your script is still rather unrealistic. Your database can be recovered by doing cd /var/lib/rpm mv Packages Packages-ORIG db_dump Packages-ORIG | db_load Packages rpm --rebuilddb -vv Use rpmdb_dump and rpmdb_load in /usr/lib/rpm if you have. Locks can be displayed by doing cd /var/lib/rpm db_stat -CA Use /usr/lib/rpm/rpmdb_stat if you have that. What is the output? This bug is invalid, because my tests were never run with rpm version 4.1.1 after all. It turns out that my organization is committed to an older (patched) version of glibc, which unfortunately rules out rpm versions 4.1.* and 4.2.*. The tests that I thought were being run with rpm version 4.1.1 (also mentioned in Bug 11400) were in fact being run with version 4.0.5. Oops. Here's my corrected table o' knowlege: rpm version glibc version behavior of my Perl scripts ----------- ------------- --------------------------- 4.0.4 2.2 rpm hangs after ~20-30 minutes (deadlock) 4.0.5 2.2 rpm database becomes corrupted (and rpm sometimes hangs) 4.1.1 2.3 ? Apologies for the confusion and thanks, Jeff, for your time. I would of course be interested to know what happens when my Perl scripts run for an hour with the latest & greatest version of rpm, but I won't have time to build a machine for this purpose at least for the next couple of months. Please let me know if someone else gets a chance to try this experiment. |