Bug 464752 - RFE: Proposed patch to automates removal of a Berkeley DB dbenv when DB_VERSION_MISMATCH or EINVAL is returned
Summary: RFE: Proposed patch to automates removal of a Berkeley DB dbenv when DB_VERSI...
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: rpm
Version: 5.3
Hardware: All
OS: Linux
medium
medium
Target Milestone: rc
: ---
Assignee: Panu Matilainen
QA Contact: BaseOS QE
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-09-30 08:46 UTC by Elia Pinto
Modified: 2009-09-16 21:06 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2009-03-18 14:35:20 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
rpm-4.4.2-db3-mismatch.patch (1.96 KB, patch)
2008-09-30 08:47 UTC, Elia Pinto
no flags Details | Diff

Description Elia Pinto 2008-09-30 08:46:23 UTC
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

Comment 1 Elia Pinto 2008-09-30 08:47:14 UTC
Created attachment 318048 [details]
rpm-4.4.2-db3-mismatch.patch

Comment 2 Panu Matilainen 2009-03-18 14:35:20 UTC
Blindly blasting away the environment (including the locks it might hold) is not at all the right thing to do.

Comment 3 Jeff Johnson 2009-03-27 12:18:46 UTC
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!


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