Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 530146 - =net-nds/openldap-2.4.38-r2 installs incorrect default argsfile and pidfile paths in /etc/openldap/slapd.ldif
Summary: =net-nds/openldap-2.4.38-r2 installs incorrect default argsfile and pidfile p...
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal with 1 vote (vote)
Assignee: LDAP Herd
Depends on:
Reported: 2014-11-22 22:04 UTC by smkbot
Modified: 2018-04-02 19:38 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Note You need to log in before you can comment on or make changes to this bug.
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/
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/

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

olcPidFile /var/run/openldap/
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.

Comment 2 Erik Mackdanz gentoo-dev 2016-05-30 15:22:20 UTC

I hit this today, it's still an issue.