Bug 506323
| Summary: | rpm looks for deps outside of chroot? | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Mike McLean <mikem> |
| Component: | rpm | Assignee: | Panu Matilainen <pmatilai> |
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | medium | Docs Contact: | |
| Priority: | low | ||
| Version: | 11 | CC: | ffesti, james.antill, jnovy, mikeb, mikem, pmatilai |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | 4.7.0-2.fc11 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2009-07-11 16:55:34 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
Mike McLean
2009-06-16 17:05:13 UTC
erg, "Actual results" in the description should read: install fails when /usr/X11R6 is missing outside the chroot Ok, easily reproduced. The issue is that rpmdbFindByFiles() doesn't take chroot into account when fingerprinting, that part of the bug is like 10 years or more old. Something between rpm 4.4.x and 4.6.x has caused the failing stat() to cause the item to be not found at all despite being present in the rpmdb. Taking chroot into account there isn't hard (I've a patch already), just hunting down what exactly causes the behavior change between 4.4.x and 4.6.x first. The first half of the fix is here: http://rpm.org/gitweb?p=rpm.git;a=commitdiff;h=0055fecfde5404c5106ac0fc58052e9264da8592 That still leaves rpm doing fingerprint lookup outside chroot, will fix that too but at least with the above it doesn't cause bogus failure in this case. Thanks for the quick turnaround! Tested out the patch and it does resolve the issue for us. rpm-4.7.0-2.fc11 has been submitted as an update for Fedora 11. http://admin.fedoraproject.org/updates/rpm-4.7.0-2.fc11 rpm-4.7.0-2.fc11 has been pushed to the Fedora 11 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update rpm'. You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F11/FEDORA-2009-6772 Is the second half of the fix in git? rpm-4.7.0-2.fc11 has been pushed to the Fedora 11 stable repository. If problems still persist, please make note of it in this bug report. |