Bug 1779190

Summary: Remove libdb dependency from sdb package
Product: [Fedora] Fedora Reporter: Filip Januš <fjanus>
Component: bindAssignee: Petr Menšík <pemensik>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: anon.amish, mruprich, msehnout, pemensik, pzhukov, thozza, vonsch, zdohnal
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: bind-9.11.13-4.fc32 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1940404 (view as bug list) Environment:
Last Closed: 2019-12-03 18:36:43 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:
Embargoed:
Bug Depends On:    
Bug Blocks: 1778802, 1940404    

Description Filip Januš 2019-12-03 13:40:34 UTC
Description of problem:
According to more restrictive libdb licence policy exists effort to remove libdb's dependencies.
bind-sdb package is now built with libdb requirement, it's used as external cache database, instead of Berkeley DB is possible to use other database (MySQL, PostgreSQL,...) or directly filesystem(--with-dlz-filesystem=ARG).


Actual results:
require libdb

Expected results:
don't need libdb

Comment 1 Petr Menšík 2019-12-03 15:08:59 UTC
I have no information about named-sdb usage and popularity of any databases. I personally doubt Berkeley DB would be among popular usages of named-sdb builds.

On Rawhide, I build already DLZ plugins. They are loadable modules intended to replace statically built named-sdb.

I have no reason to keep db interface if its license is problematic. Also, bind already uses lmdb database, which might be able to replace file based storage. named-sdb have poor performance anyway, compared to bind-dyndb-ldap. I think LDAP and SQL databases are more important.

Comment 3 Petr Menšík 2019-12-03 18:36:43 UTC
Keeping possible support intact, use fedpkg local --with BDB for build with Berkeley DB support. New default is no libdb support.