After the update to OpenLDAP 2.6, the service (interestingly, only sometimes) fails to start with the following kind of error: slapd.service: Got notification message from PID 2065, but reception only permitted for main PID 2063 Seems like the service file needs to add NotifyAccess=all. I added that via drop-in file, and the service is running fine now.
I also encountered this issue and am currently using the same workaround. Version is 2.6.3-r3.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e276465660720433c8261e3fcbdcb974547de341 commit e276465660720433c8261e3fcbdcb974547de341 Author: Sam James <sam@gentoo.org> AuthorDate: 2023-01-19 18:01:13 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2023-01-19 18:02:32 +0000 net-nds/openldap: fix systemd unit Closes: https://bugs.gentoo.org/843029 Signed-off-by: Sam James <sam@gentoo.org> net-nds/openldap/files/slapd.service | 1 + net-nds/openldap/{openldap-2.6.3-r4.ebuild => openldap-2.6.3-r5.ebuild} | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-)
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d0ba328a4d04859f280c941506183885b964945a commit d0ba328a4d04859f280c941506183885b964945a Author: Mike Gilbert <floppym@gentoo.org> AuthorDate: 2023-01-30 16:08:45 +0000 Commit: Mike Gilbert <floppym@gentoo.org> CommitDate: 2023-01-30 16:44:23 +0000 net-nds/openldap: set NotifyAccess=all in slapd-2.6.1.service Bug: https://bugs.gentoo.org/843029 Fixes: e276465660720433c8261e3fcbdcb974547de341 Signed-off-by: Mike Gilbert <floppym@gentoo.org> net-nds/openldap/files/slapd-2.6.1.service | 1 + net-nds/openldap/files/slapd.service | 1 - net-nds/openldap/{openldap-2.6.3-r5.ebuild => openldap-2.6.3-r6.ebuild} | 0 3 files changed, 1 insertion(+), 1 deletion(-)