Red Hat Bugzilla – Bug 464752
RFE: Proposed patch to automates removal of a Berkeley DB dbenv when DB_VERSION_MISMATCH or EINVAL is returned
Last modified: 2009-09-16 17:06:42 EDT
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):
Created attachment 318048 [details]
Blindly blasting away the environment (including the locks it might hold) is not at all the right thing to do.
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!