Hi Debian lovers
I struggle to find the current changelog for slapd/openldap.
[root@host ~]# dpkg -l | grep slap
ii slapd 2.4.40+dfsg-1+deb8u5 amd64 OpenLDAP
server (slapd)
[root@host ~]# cat /etc/*version
8.11
https://metadata.ftp-master.debian.org/changelogs//main/o/openldap/openldap_2.4.40+dfsg-1+deb8u5_changelog
-> 404.
Basically I have seen, that in the file /etc/default/slapd
there is (and was before the update) this entry:
# If SLAPD_SENTINEL_FILE is set to path to a file and that file exists,
# the init script will not start or restart slapd (but stop will still
# work). Use this for temporarily disabling startup of slapd (when doing
# maintenance, for example, or through a configuration management system)
# when you don't want to edit a configuration file.
SLAPD_SENTINEL_FILE=/etc/ldap/noslapd
so on service restart, it failed until i commented this out.
Interesting:
root@host ~]# ll /etc/ldap/noslapd
ls: cannot access /etc/ldap/noslapd: No such file or directory
So the sentence "If SLAPD_SENTINEL_FILE is set to path to a file and
that file exists" seems to be wrong.
on another, similar, but more actual host
[ ok ] Stopping slapd (via systemctl): slapd.service.
[ ok ] Starting slapd (via systemctl): slapd.service.
[root@host2 bin]# dpkg -l | grep slapd
ii slapd 2.4.44+dfsg-5+deb9u2 amd64 OpenLDAP server
(slapd)
[root@host2 bin]# cat /etc/*version
9.9
[root@host2 bin]# cat /etc/default/slapd
[..]
# If SLAPD_SENTINEL_FILE is set to path to a file and that file exists,
# the init script will not start or restart slapd (but stop will still
# work). Use this for temporarily disabling startup of slapd (when doing
# maintenance, for example, or through a configuration management system)
# when you don't want to edit a configuration file.
SLAPD_SENTINEL_FILE=/etc/ldap/noslapd
[..]
Any clues about that? Thank you.
Best regards
Spacerat