Bug 680261
Summary: | after removing packages, files left behind untracked by rpmdb | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 6 | Reporter: | Don Zickus <dzickus> |
Component: | rpm | Assignee: | Panu Matilainen <pmatilai> |
Status: | CLOSED ERRATA | QA Contact: | BaseOS QE Security Team <qe-baseos-security> |
Severity: | high | Docs Contact: | |
Priority: | high | ||
Version: | 6.1 | CC: | borgan, emcnabb, mvadkert, pknirsch |
Target Milestone: | rc | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | rpm-4.8.0-16.el6 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2011-05-19 14:19:48 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
Don Zickus
2011-02-24 20:31:05 UTC
Ack, easily reproduced. There are several, more or less subtle things at play here. Time's getting a bit short for 6.1 but lets see... Unfortunately, my package hwloc is being poked for updates on resolving this TPS issue. So I am raising the priority on this bug. Sorry for the inconvenience. Cheers, Don Oh, I'm only glad this was found, the file removal logic is flawed and technically this problem exists in every single "multilib aware" rpm version. Whether it happens depends on the exact packages being removed and their relations, and the issue has been largely masked in older rpm versions due to other flaws. I'm looking into it, but this is an area where you do NOT want a last-minute rushed-in patch as mistakes here could have far more severe consequences (broken systems, data loss) than a couple of files left behind. Okay... ACK for fixing the erase ordering for this case in 6.1. Most of the time package dependencies take care of secondary architecture getting removed first but when such dependencies are not present, such as here, rpm needs to arrange the preferred order by other means. Which in turn gets the files removed without having to mess with the file removal logic. Fixed in rpm-4.8.0-16.el6 An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on therefore solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHBA-2011-0739.html |