RPM Community Forums

Mailing List Message of <rpm-users>

Re: About the consistency of /var/lib/rpm/__db.00?

From: Marc MERLIN <marc_rpm@merlins.org>
Date: Tue 25 May 2010 - 19:56:03 CEST
Message-ID: <20100525175603.GM6064@merlins.org>
On Tue, May 25, 2010 at 10:23:08AM -0700, Marc MERLIN wrote:
> > Yes. The __db* files are how interprocess locks are shared
> > in Berkeley DB. Its known as a DBENV.
> 
> and those were not needed in rpm 4.0.x and it worked fine without them.
> Do newer rpms call bdb differently or did it just upgrade bdb to a version
> that requires __db*?
 
Looking at the problem further, I was just told that it would be much
better if I could make the 2MB of IO that creating those __db files takes,
"not happen".

I don't know much about BDB or how creating those __db files apparently
became compulsory between rpm 4.0.x and rpm 4.1.x, but it looks if I drop
privs to nobody in rpmq, it'll at least stop creating them.
Not a full solution, but a good start.

> If you have any idea if BDB can be made to stop since it was doing without
> them before and that usage worked for us, and has for years, that'd be
> great.

I'll look into the lib specs and calls in case there is somehow an 'off'
button somewhere, even if it's apparently not likely.

Marc
-- 
"A mouse is a device used to point at the xterm you want to type in" - A.S.R.
Microsoft is to operating systems & security ....
                                      .... what McDonalds is to gourmet cooking
Home page: http://marc.merlins.org/  
Received on Tue May 25 19:56:25 2010
Driven by Jeff Johnson and the RPM project team.
Hosted by OpenPKG and Ralf S. Engelschall.
Powered by FreeBSD and OpenPKG.