Bug#1073059: slapd: move systemd drop-in to /usr (DEP17)

Helmut Grohne helmut at subdivi.de
Wed Jun 12 14:45:49 BST 2024


Package: slapd
Version: 2.5.17+dfsg-1
Severity: important
Tags: patch
User: helmutg at debian.org
Usertags: dep17m2

Hi,

we want to move all aliased files to /usr to complete the /usr-move
transition (DEP17) and thus eliminate problems arising from aliasing.
slapd is involved, because it install a systemd drop-in below /lib. In
this case, I recommend simply moving this file to /usr statically.

While backporting this change technically violates the file move
moratorium in bookworm, doing so is likely harmless, because systemd
consider units below /usr and there are even though dh_installsystemd
does not look below /usr in bookworm, it also does not generate any
maintainer scripts for drop-ins that could go missing, so I think this
change is actually safe for bookworm-backports.

Helmut
-------------- next part --------------
diff -Nru openldap-2.5.17+dfsg/debian/changelog openldap-2.5.17+dfsg/debian/changelog
--- openldap-2.5.17+dfsg/debian/changelog	2024-04-27 01:09:29.000000000 +0200
+++ openldap-2.5.17+dfsg/debian/changelog	2024-06-12 15:08:05.000000000 +0200
@@ -1,3 +1,10 @@
+openldap (2.5.17+dfsg-1.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Move systemd drop-in to /usr (DEP17). (Closes: #-1)
+
+ -- Helmut Grohne <helmut at subdivi.de>  Wed, 12 Jun 2024 15:08:05 +0200
+
 openldap (2.5.17+dfsg-1) unstable; urgency=medium
 
   * New upstream release.
diff -Nru openldap-2.5.17+dfsg/debian/slapd.install openldap-2.5.17+dfsg/debian/slapd.install
--- openldap-2.5.17+dfsg/debian/slapd.install	2024-04-27 01:09:29.000000000 +0200
+++ openldap-2.5.17+dfsg/debian/slapd.install	2024-06-12 15:07:59.000000000 +0200
@@ -3,7 +3,7 @@
 usr/lib/*/libslapi-*.so.*
 debian/ldiftopasswd usr/share/slapd
 debian/slapd.init.ldif usr/share/slapd
-debian/slapd-remain-after-exit.conf lib/systemd/system/slapd.service.d
+debian/slapd-remain-after-exit.conf usr/lib/systemd/system/slapd.service.d
 
 usr/lib/ldap/back_*.so*
 usr/lib/ldap/back_*.la


More information about the Pkg-openldap-devel mailing list