[Rpm-maint] [rpm-software-management/rpm] Rpm query causes corruption in the file-backed mmaped bdb regions (#232)

Phil Dibowitz notifications at github.com
Wed Jun 14 01:18:52 UTC 2017

To be clear we hit thus hundreds of times a day on Linux servers running RPM from rawhide.

Hundreds. Of. Times. A. Day.

We have remediations that pause all config management and then run db_recovers and if necessary rpm rebuilds.

Because the rpmdb is completely fucked -- `rpm -qa` doesn't work, as seen before.

$ rpm -q libdb
$ rpm -q rpm

There are two causes we've found - one is RPMs fault, one isn't. The most common is exactly the one described here. This one is RPMs fault.

The other is heavily IO loaded boxes were the transactions take too long and get killed by another process and the rpmdb can't recover from that. This isn't RPMs fault... though it being more resilient would be nice.

You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20170613/100aa0b7/attachment.html>

More information about the Rpm-maint mailing list