RPM Community Forums

Mailing List Message of <rpm-devel>

Re: FYI: DB 4.6 and absolute paths in region files

From: Ralf S. Engelschall <rse+rpm-devel@rpm5.org>
Date: Sun 29 Jul 2007 - 22:37:59 CEST
Message-ID: <20070729203759.GA76235@engelschall.com>
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
Driven by Jeff Johnson and the RPM project team.
Hosted by OpenPKG and Ralf S. Engelschall.
Powered by FreeBSD and OpenPKG.