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

Bug 530146

Summary: =net-nds/openldap-2.4.38-r2 installs incorrect default argsfile and pidfile paths in /etc/openldap/slapd.ldif
Product: Gentoo Linux Reporter: smkbot
Component: Current packagesAssignee: Gentoo LDAP project <ldap-bugs>
Status: RESOLVED TEST-REQUEST    
Severity: normal CC: jaak, pacho
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description smkbot 2014-11-22 22:04:07 UTC
When installing =net-nds/openldap-2.4.38-r2, Both /etc/openldap/slapd.conf and /etc/openldap/slapd.ldif are installed (so the user can choose to use either the config file or online configuration backends).

The default config file (/etc/openldap/slapd.conf) has correct arguments for pidfile and argsfile:

pidfile /var/run/openldap/slapd.pid
argsfile /var/run/openldap/slapd.args

However, the ldif version of the same file (/etc/openldap/slapd.ldif) has different (and incorrect) values for olcArgsFile and olcPidFile:

olcArgsFile: /var/lib/run/slapd.args
olcPidFile: /var/lib/run/slapd.pid

/etc/openldap/slapd.ldif should be updated with the following values:

olcPidFile /var/run/openldap/slapd.pid
olcArgsFile /var/run/openldap/slapd.args
Comment 1 smkbot 2014-12-16 19:40:04 UTC
Any update? This should be a pretty trivial fix.

Thanks!
Comment 2 Erik Mackdanz gentoo-dev 2016-05-30 15:22:20 UTC
+1

I hit this today, it's still an issue.
Comment 3 Pacho Ramos gentoo-dev 2019-11-10 15:59:27 UTC
what is the status of this with net-nds/openldap-2.4.48?