SUG: RPM database verification / repair, nightly and in Anaconda

Steven Pritchard steve at silug.org
Wed Nov 22 17:23:42 UTC 2006


On Tue, Nov 21, 2006 at 09:43:17AM +0200, Panu Matilainen wrote:
> On Tue, 21 Nov 2006, seth vidal wrote:
> >To me it seems like a valid client connection should not be able to
> >corrupt a database simply by open-read-closing no matter how many times.
> >And if it can then clearly there is something wrong with the database
> >code.
> 
> Well, obviously. I think that's exactly what Steven means... Personal 
> experience with both subversion repos using Berkeley DB storage and rpmdb 
> has made me too expect nothing else but eventual corruption from BDB :-/

That's been my experience as well.  For example, every system that I
have running openldap eventually corrupts the database (usually in 2-3
months of continuous use).  This is on servers that run for months
(sometimes years) at a time without a reboot.

Luckily slapd_db_recover and slapindex has fixed the problem every
time so far, which is why I'd *really* like it if "service ldap
restart" would run both.

  https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=199322

Steve
-- 
Steven Pritchard - K&S Pritchard Enterprises, Inc.
Email: steve at kspei.com             http://www.kspei.com/
Phone: (618)398-3000               Mobile: (618)567-7320




More information about the fedora-devel-list mailing list