Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Step:15-SP6
rpm.26687
deadlock.diff
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File deadlock.diff of Package rpm.26687
--- ./lib/transaction.c.orig 2021-10-08 13:40:11.816899736 +0000 +++ ./lib/transaction.c 2021-10-08 13:40:32.548851409 +0000 @@ -1549,6 +1549,9 @@ int rpmtsRun(rpmts ts, rpmps okProbs, rp /* If we are in test mode, then there's no need for transaction lock. */ if (!(rpmtsFlags(ts) & RPMTRANS_FLAG_TEST)) { + /* close read-only database before trying to acquire the lock */ + if (ts->rdb != NULL && ts->dbmode != (O_RDWR|O_CREAT)) + (void) rpmtsCloseDB(ts); if (!(txn = rpmtxnBegin(ts, RPMTXN_WRITE))) { goto exit; }
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor