Bug 227326 - deltarpm dumprpmheader corrupts rpm database
deltarpm dumprpmheader corrupts rpm database
Status: CLOSED RAWHIDE
Product: Fedora
Classification: Fedora
Component: deltarpm (Show other bugs)
6
All Linux
medium Severity high
: ---
: ---
Assigned To: Adam Jackson
Fedora Extras Quality Assurance
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2007-02-05 05:01 EST by Marcel Hild
Modified: 2007-11-30 17:11 EST (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2007-02-05 10:16:36 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
rpmdump header patch (463 bytes, patch)
2007-02-05 05:01 EST, Marcel Hild
no flags Details | Diff

  None (edit)
Description Marcel Hild 2007-02-05 05:01:09 EST
Description of problem:

deltarpm destroys the rpmDB when generating a RPM out of a deltarpm and the
installed RPM. This is due to an error in rpmdumpheader, which does not close
the RPM DB correctly.

How reproducible:
always

Steps to Reproduce:
1. /usr/bin/rpmdumpheader kpartx-0.4.7-8.el5 > /dev/null 
2. rpm -Uvh any_rpm.rpm will stall
  

This is already known by Michael Schröder, the upstream maintainer. And he will
incorporate the patch into his version.
In the meanwhile, we should patch our version.
Patch attached
Comment 1 Marcel Hild 2007-02-05 05:01:10 EST
Created attachment 147345 [details]
rpmdump header patch
Comment 2 Michael Schwendt 2007-02-05 06:17:20 EST
Reassigning. [Why is owners.list not propagated into bugzilla?]
Comment 3 Adam Jackson 2007-02-05 10:16:36 EST
Fixed in deltarpm 3.3-6 in both FC6 and devel.  Thanks!

Note You need to log in before you can comment on or make changes to this bug.