Bug 2405179

Summary: RFE: re-enable the LMDB backend
Product: [Fedora] Fedora Reporter: Patrick Laimbock <patrick>
Component: pdnsAssignee: Morten Stevens <ms>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 43CC: ms, sander
Target Milestone: ---Keywords: RFE
Target Release: ---   
Hardware: aarch64   
OS: Linux   
Whiteboard:
Fixed In Version: pdns-5.0.1-1.fc43 Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2025-11-08 01:09:47 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Patrick Laimbock 2025-10-20 19:05:19 UTC
Please re-enable the LMDB backend in pdns.

While the LMDB backend was depcrecated in version 4.0.0, it was reinstroduced in version 4.2.0. See https://blog.powerdns.com/2019/08/30/powerdns-authoritative-server-4-2-0  But it was never re-enabled in pdns.spec.

Per https://doc.powerdns.com/authoritative/backends/lmdb.html the LMDB backend is considered stable as of 4.4.0.

The LMDB backend even has support for views with catalogs which the sqlite backend lacks.


Reproducible: Always




Additional Information:
Snippets to add to the spec file:

%package backend-lmdb
Summary: LMDB backend for %{name}
Requires: %{name}%{?_isa} = %{version}-%{release}
BuildRequires: lmdb-devel
%global backends %{backends} lmdb

%description backend-lmdb
This package contains the lmdb backend for %{name}


In %install

chrpath --delete $RPM_BUILD_ROOT%{_libdir}/pdns/liblmdbbackend.so || :

In %files:

%files backend-lmdb
%{_libdir}/%{name}/liblmdbbackend.so

My copr build of pdns-5.0.0 with the LMDB backend enabled can be found here:
https://copr.fedorainfracloud.org/coprs/patrickl/pdns-recursor/build/9707129/

Comment 1 Fedora Update System 2025-10-30 20:26:26 UTC
FEDORA-2025-e729268948 (pdns-5.0.1-1.fc43) has been submitted as an update to Fedora 43.
https://bodhi.fedoraproject.org/updates/FEDORA-2025-e729268948

Comment 2 Fedora Update System 2025-10-31 01:43:57 UTC
FEDORA-2025-e729268948 has been pushed to the Fedora 43 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2025-e729268948`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2025-e729268948

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 3 Fedora Update System 2025-11-08 01:09:47 UTC
FEDORA-2025-e729268948 (pdns-5.0.1-1.fc43) has been pushed to the Fedora 43 stable repository.
If problem still persists, please make note of it in this bug report.