Closed tchernomax closed 2 years ago
On debian policy-rc.d allow to declare if a package should start at install or not: https://manpages.debian.org/experimental/policy-rcd-declarative/policy-rc.d-declarative.8.en.html
In postinst script systemctl start slapd is used ; so this policy can't be taken into account.
systemctl start slapd
You should use invoke-rc.d slapd start instead (invoke-rc.d will call systemctl by himself).
invoke-rc.d slapd start
Thanks
Thanks Maxime for your report and your contribution!
I have just merged it into openldap24 branch, and I have also integrated it into openldap25 branch
openldap24
openldap25
On debian policy-rc.d allow to declare if a package should start at install or not: https://manpages.debian.org/experimental/policy-rcd-declarative/policy-rc.d-declarative.8.en.html
In postinst script
systemctl start slapd
is used ; so this policy can't be taken into account.You should use
invoke-rc.d slapd start
instead (invoke-rc.d will call systemctl by himself).Thanks