| Summary: | Dnf import of public keys causes stale rpmdb locks left behind | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Panu Matilainen <pmatilai> | ||||
| Component: | dnf | Assignee: | rpm-software-management | ||||
| Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
| Severity: | unspecified | Docs Contact: | |||||
| Priority: | unspecified | ||||||
| Version: | rawhide | CC: | igeorgex, joe, mluscon, mmraka, packaging-team-maint, pnemade, rpm-software-management, vmukhame | ||||
| Target Milestone: | --- | ||||||
| Target Release: | --- | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2016-12-02 15:18:12 UTC | Type: | Bug | ||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Attachments: |
|
||||||
|
Description
Panu Matilainen
2016-11-24 11:24:27 UTC
Created attachment 1223793 [details]
Patch to fix the issue by using the same transaction set for importing
Patch applied as
commit 988a4c2fc3677743b02284245a60710236c688a1
Use the already open transaction handle for importing public keys (RhBug:1398272)
Thanks.
This is still happening in Fedora 25
TASK [elasticsearch : Import Elasticsearch RPM GPG key] ************************
fatal: [dev]: FAILED! => {"changed": false, "failed": true, "msg": "rpm returned unexpected output [BDB2053 Freeing read locks for locker 0x189: 11740/140270815971072]"}
[vagrant@dev ~]$ dnf --version
1.1.10
Installed: dnf-0:1.1.10-5.fc25.noarch at 2017-02-02 04:46
Built : Fedora Project at 2017-01-17 16:20
Installed: rpm-0:4.13.0-6.fc25.x86_64 at 2017-02-02 04:49
Built : Fedora Project at 2016-12-03 12:31
I will also note that this happens every time after installing packages via shell and through Ansible's dnf module. Importing a GPG key after those steps will always result in this error. |