[Rpm-maint] [rpm-software-management/rpm] Assorted read-only transaction lock related fixes (PR #3372)

Panu Matilainen notifications at github.com
Fri Oct 11 12:15:39 UTC 2024


Details in the commits, but basically fixes #3371/#1266 and a similar case where `rpmdb --exportdb` as a regular user fails.
You can view, comment on, or merge this pull request online at:

  https://github.com/rpm-software-management/rpm/pull/3372

-- Commit Summary --

  * Fix a memory leak on rpmdb --importdb
  * Add an optional lockmode argument to the internal rpmlock API
  * Honor read-only transaction lock mode
  * Fix rpmdb --exportdb from database on read-only media

-- File Changes --

    M lib/rpmlock.cc (12)
    M lib/rpmlock.hh (2)
    M lib/rpmts.cc (3)
    A tests/data/misc/rpmdb.sqlite (0)
    M tests/rpmdb.at (43)
    M tools/rpmdb.cc (1)

-- Patch Links --

https://github.com/rpm-software-management/rpm/pull/3372.patch
https://github.com/rpm-software-management/rpm/pull/3372.diff

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

Message ID: <rpm-software-management/rpm/pull/3372 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20241011/416e143e/attachment.html>


More information about the Rpm-maint mailing list