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!