Commit Graph

3 Commits

Author SHA1 Message Date
Petr Kubat
3a3ae67b51 Try looking at libdb's env lock details via /proc/locks during env_attach
As flock-style locks have no way to check whether another lock on the file is held by the current process
and is safe for libdb to access the its environment (in read-mode only), a helper function that parses
/proc/locks for this information has been added.
Additionally, db-5.3.28-rpm-lock-check.patch has been modified to use the helper function in order for libdb
to not have to leak file descriptors while checking for rpm's transaction lock when accessing rpm's environment.
2017-06-26 08:46:48 +02:00
Petr Kubat
273921eda9 Reintroduce patches removed in 5.3.28-22
Modify upstream patch to fail on pthread version mismatch

Resolves: #1460003
2017-06-13 12:51:00 +02:00
Petr Kubat
c7f48db775 Reintroduce upstream patch for rhbz#1394862
Do not rebuild rpm's environment during a rpm transaction
2017-06-01 13:32:50 +02:00