Bug 140880
| Summary: | rpm --rebuild segfaults | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Red Hat Enterprise Linux 3 | Reporter: | Anthony Rumble <ox23fgu02> | ||||
| Component: | rpm | Assignee: | Jeff Johnson <jbj> | ||||
| Status: | CLOSED NOTABUG | QA Contact: | Mike McLean <mikem> | ||||
| Severity: | high | Docs Contact: | |||||
| Priority: | medium | ||||||
| Version: | 3.0 | CC: | dima, nobody+pnasrat | ||||
| Target Milestone: | --- | ||||||
| Target Release: | --- | ||||||
| Hardware: | powerpc | ||||||
| OS: | Linux | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2004-11-29 23:39:17 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: |
|
||||||
Created attachment 107470 [details]
Strace of rpm --rebuilddb
Here is an strace -s255 of the rpm --rebuilddb in question
What does the following say:
cd /var/lib/rpm
rm -f __db*
/usr/lib/rpm/rpmdb_verify Packages
If rpmdb_verify detects problems, the fix is
cd /var/lib/rpm
mv Packages Packages-ORIG
/usr/lib/rpm/rpmdb_dump Packages-ORIG | \
/usr/lib/rpm/rpmdb_load Packages
rpm --rebuilddb -vv
rpmdb_verify doesn't report any problems. OK. Could you give me a ptr (i.e. URL, rpmdb's are too big for
an attachment) to your rpmdb please?
cd /var/lib
tar czvf /tmp/rpmdb-140880.tar.gz ./rpm
and I'll see if I can reproduce the problem.
Specific to a single logical partition sounds like
some other cause than rpm however. I would expect
an rpm problem to track with an rpmdb or rpm executable,
not a logical partition. But ya never know ...
No comments, just adding myself to the CC: list The client now informs me that they had inadvertantly restored their backup tape over /var, including their i386 based /var/lib/rpm from their previous machine! Which explains a lot. Sorry to waste your time Jeff. Hopefully I will have some better ppc64 bug reports for you later. (Im chasing down a few at the moment) |
From Bugzilla Helper: User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.5) Gecko/20041107 Firefox/1.0 Description of problem: ppc64/iseries (Note theres no ppc64 arch option in the bugzilla list!) Version-Release number of selected component (if applicable): rpm-4.2.3-10 How reproducible: Always Steps to Reproduce: 1. Is specific to this Logical Partition, others seem to be fine 2. 3. Additional info: