[Git][openldap-team/openldap][master] Use dh-sequence-installsysusers for system user/group creation

Ryan Tandy (@rtandy) gitlab at salsa.debian.org
Sat Jun 13 02:59:41 BST 2026



Ryan Tandy pushed to branch master at Debian OpenLDAP Maintainers / openldap


Commits:
6b5062b4 by Luca Boccassi at 2026-06-04T21:46:03+00:00
Use dh-sequence-installsysusers for system user/group creation

Switch the openldap system user/group creation to a declarative
debian/slapd.sysusers config file, wired up via
dh-sequence-installsysusers. The manual addgroup/adduser logic in
slapd.scripts-common is no longer needed and the dependency on adduser
can be dropped from slapd.

sysusers.d config files allow a package to use declarative configuration
instead of manually written maintainer scripts.
This also allows image-based systems to be created with /usr/ only, and
also allows for factory resetting a system and recreating /etc/ on boot.

https://www.freedesktop.org/software/systemd/man/latest/sysusers.d.html

- - - - -


4 changed files:

- debian/control
- debian/slapd.postinst
- debian/slapd.scripts-common
- + debian/slapd.sysusers


View it on GitLab: https://salsa.debian.org/openldap-team/openldap/-/commit/6b5062b42ac1f9e7dbcbd1de4c1cde5617813102

-- 
View it on GitLab: https://salsa.debian.org/openldap-team/openldap/-/commit/6b5062b42ac1f9e7dbcbd1de4c1cde5617813102
You're receiving this email because of your account on salsa.debian.org. Manage all notifications: https://salsa.debian.org/-/profile/notifications | Help: https://salsa.debian.org/help


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-openldap-devel/attachments/20260613/c355e937/attachment.htm>


More information about the Pkg-openldap-devel mailing list