RPM Community Forums

Mailing List Message of <rpm-devel>

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

From: Wichmann, Mats D <mats.d.wichmann@intel.com>
Date: Mon 30 Jul 2007 - 05:30:53 CEST
Message-ID: <3F62CBEE02D6404E98C65934617EB582029C8614@fmsmsx414.amr.corp.intel.com>
rpm-devel-owner@rpm5.org wrote:
> 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...

thanks, this would probably have burned me, too.
I'll have to make sure the db creation happens
inside a chroot so it looks like its final
destintion (easy to do in our case).
Received on Mon Jul 30 05:35:22 2007
Driven by Jeff Johnson and the RPM project team.
Hosted by OpenPKG and Ralf S. Engelschall.
Powered by FreeBSD and OpenPKG.