Bug 1123758

Summary: [PATCH] rpmdb often gets corrupted upon concurrent access due to a race in CDB
Product: Red Hat Enterprise Linux 7 Reporter: Jan Kurik <jkurik>
Component: libdbAssignee: Honza Horak <hhorak>
Status: CLOSED ERRATA QA Contact: Branislav Blaškovič <bblaskov>
Severity: unspecified Docs Contact:
Priority: high    
Version: 7.0CC: bblaskov, databases-maint, hhorak, jherrman, jkurik, jscotka, jskala, jstanek, lkundrak, ovasik, pm-eus, qe-baseos-daemons
Target Milestone: rcKeywords: ZStream
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Fixed In Version: libdb-5.3.21-17.el7_0.1 Doc Type: Bug Fix
Doc Text:
Previously, a race condition could occur in the Berkeley DB Concurrent Data Store, which corrupted to the RPM database (RPMDB). After this update, process IDs during file transactions are more thoroughly tested. As a result, the race condition and the consequent RPMDB corruption no longer occur.
Story Points: ---
Clone Of: 1099509 Environment:
Last Closed: 2014-08-06 15:29:37 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---
Bug Depends On: 1634487, 1099509, 1616259    
Bug Blocks:    

Description Jan Kurik 2014-07-28 08:05:14 UTC
This bug has been copied from bug #1099509 and has been proposed
to be backported to 7.0 z-stream (EUS).

Comment 5 Branislav Blaškovič 2014-07-31 12:10:47 UTC
I am not able to reproduce this issue with attached reproducer BZ#1099509#c13.

Running test.sh or rpmtest.sh just write `date` and nothing else - it just hangs there.

Am I doing something wrong?

Comment 10 errata-xmlrpc 2014-08-06 15:29:37 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.