[Rpm-maint] [rpm-software-management/rpm] Implement a separate lock for the keystore (PR #4123)

Panu Matilainen notifications at github.com
Mon Mar 23 11:55:19 UTC 2026


@pmatilai commented on this pull request.



> @@ -597,6 +597,7 @@ rpmts rpmtsFree(rpmts ts)
     }
     ts->rootDir = _free(ts->rootDir);
     rpmtsLockFree(ts);

Modified the existing test to test for the actual bug and indeed, the original version of this PR failed that. Would've been embarrasing to reintroduce that bug :sweat_smile: 

This is in the updated commit message too, but solving this now needs (re)creating the keyring lock file on rpmdb init *and* rebuild.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/pull/4123#discussion_r2974572420
You are receiving this because you are subscribed to this thread.

Message ID: <rpm-software-management/rpm/pull/4123/review/3991212033 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20260323/33c62b0c/attachment-0001.htm>


More information about the Rpm-maint mailing list