On Sun, Jul 29, 2007, Jeff Johnson wrote:
> The dbenv is stateful, and per-instance. Why are you copying __db*
> files around, they are useless, as you have seen, out of context.
Well, in OpenPKG since years we've created a database under
<DESTDIR><prefix>/RPM/DB/ and this was later installed into the target
path <prefix>/RPM/DB/. This worked just fine until DB 4.6. Now we have
to at least explicitly remove the __db.* files after "rpm --initdb". But
I just wanted to share my experience with DB 4.6 here in case someone
else is faced with a similar situation...
Ralf S. Engelschall
rse@engelschall.com
www.engelschall.com
Received on Sun Jul 29 22:40:18 2007