Switch pam_userdb from BerkeleyDB to GDBM
Summary
pam_userdb was built with support for BerkeleyDB, but this project is no longer maintained, so it is replaced by GDBM.
Owner
- Name: Iker Pedrosa Filip Janus
- Email: ipedrosa@redhat.com fjanus@redhat.com
Current status
- Targeted release: Fedora Linux 40
- Last updated: 2023-08-29
- [<will be assigned by the Wrangler> devel thread]
- FESCo issue: <will be assigned by the Wrangler>
- Tracker bug: <will be assigned by the Wrangler>
- Release notes tracker: <will be assigned by the Wrangler>
Detailed Description
Currently, the Fedora provided BerkeleyDB versions is 5.x, which has been unmaintained upstream for several years. BerkeleyDB v6.x is license incompatible, so moving to that version is not an option.
The proposal is to switch to GDBM, which has upstream support and whose license is compatible with Fedora.
Feedback
Benefit to Fedora
- This changes uses an upstream maintained version, with new features and bug fixing. pam_userdb controls user authentication, and a bug in the database could lead to a security vulnerability.
- This change uses a database that is Fedora license compatible.
Scope
- Proposal owners:
- libdb provides a program to port a BerkeleyDB database to GDBM.
- Change PAM database build option to GDBM.
- Other developers: N/A
- Release engineering: #Releng issue number
- Policies and guidelines: N/A (not needed for this Change)
- Trademark approval: N/A
- Alignment with Community Initiatives: N/A
Upgrade/compatibility impact
How To Test
User Experience
Dependencies
Contingency Plan
- Contingency mechanism: (What to do? Who will do it?) N/A (not a System Wide Change)
- Contingency deadline: N/A (not a System Wide Change)
- Blocks release? N/A (not a System Wide Change), Yes/No
Documentation
N/A (not a System Wide Change)