Bug 2173965 - [RFE] openldap use systemd-sysusers
Summary: [RFE] openldap use systemd-sysusers
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: openldap
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
low
Target Milestone: ---
Assignee: Simon Pichugin
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: sync-to-jira
Depends On: 2095439
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-02-28 14:34 UTC by Pat Riehecky
Modified: 2024-02-09 21:45 UTC (History)
8 users (show)

Fixed In Version: openldap-2.6.7-1.fc40
Clone Of: 2095439
Environment:
Last Closed: 2024-02-09 21:45:05 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker IDMDS-2817 0 None None None 2023-02-28 14:35:30 UTC

Description Pat Riehecky 2023-02-28 14:34:46 UTC
+++ This bug was initially created as a clone of Bug #2095439 +++

Description of problem:
openldap is using static useradd scripts

Version-Release number of selected component (if applicable):
 	openldap-2.4.59-5.el9

How reproducible:
100%

Steps to Reproduce:
1.review %pre
2.
3.

Actual results:
%pre servers

# create ldap user and group
getent group ldap &>/dev/null || groupadd -r -g 55 ldap
getent passwd ldap &>/dev/null || \
        useradd -r -g ldap -u 55 -d %{_sharedstatedir}/ldap -s /sbin/nologin -c "OpenLDAP server" ldap


Expected results:
use of system-sysusers 

Additional info:
https://www.freedesktop.org/software/systemd/man/systemd-sysusers.html
https://fedoraproject.org/wiki/Changes/Adopting_sysusers.d_format

--- Additional comment from Simon Pichugin on 2023-02-28 03:54:20 UTC ---

openldap-servers package is not built on RHEL 9 at all. Hence, there is no need to modify this part of the code in RHEL.

Comment 1 Fedora Update System 2024-02-09 19:49:17 UTC
FEDORA-2024-ce5fcbe257 (openldap-2.6.7-1.fc40) has been submitted as an update to Fedora 40.
https://bodhi.fedoraproject.org/updates/FEDORA-2024-ce5fcbe257

Comment 2 Fedora Update System 2024-02-09 21:45:05 UTC
FEDORA-2024-ce5fcbe257 (openldap-2.6.7-1.fc40) has been pushed to the Fedora 40 stable repository.
If problem still persists, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.