RPM

RFE: Proposed patch to automates removal of a Berkeley DB dbenv when DB_VERSION_MISMATCH or EINVAL is returned

Bug #651512 reported by Jeff Johnson
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
RPM
New
Undecided
Unassigned
Fedora
Won't Fix
Medium

Bug Description

tracker

Tags: rpmdb rhel
Revision history for this message
In , Elia (elia-redhat-bugs) wrote :

Description of problem:

This patch automates removal of a Berkeley DB dbenv when
DB_VERSION_MISMATCH or EINVAL is returned.

Version-Release number of selected component (if applicable):

rpm-4.4.2-48.el5

Additional info:

Patch included

Revision history for this message
In , Elia (elia-redhat-bugs) wrote :

Created attachment 318048
rpm-4.4.2-db3-mismatch.patch

Revision history for this message
In , Panu (panu-redhat-bugs) wrote :

Blindly blasting away the environment (including the locks it might hold) is not at all the right thing to do.

Revision history for this message
In , Jeff (jeff-redhat-bugs) wrote :

Testing the return code DB_VERSION_MISMATCH and automating
the recommended action, removal of the dbenv file, is hardly
"blinding blasting away the environment".

But YMMV, have fun!

Jeff Johnson (n3npq)
tags: added: rhel rpmdb
Changed in fedora:
importance: Unknown → Medium
status: Unknown → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.