Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 843029

Summary: net-nds/openldap-2.6: Type=notify systemd service fails to start
Product: Gentoo Linux Reporter: Timo Rothenpieler <timo>
Component: Current packagesAssignee: Gentoo LDAP project <ldap-bugs>
Status: RESOLVED FIXED    
Severity: normal CC: ldap-bugs, marcin.deranek, sam
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on: 891861    
Bug Blocks:    

Description Timo Rothenpieler 2022-05-06 16:47:20 UTC
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.
Comment 1 Tim Steiner 2023-01-18 16:05:50 UTC
I also encountered this issue and am currently using the same workaround.  Version is 2.6.3-r3.
Comment 2 Larry the Git Cow gentoo-dev 2023-01-19 18:02:39 UTC
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(-)
Comment 3 Larry the Git Cow gentoo-dev 2023-01-30 16:46:05 UTC
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(-)