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

Bug 5557

Summary: [openldap] default db location differs between FS and config file
Product: Gentoo Linux Reporter: David Morel <david.morel>
Component: New packagesAssignee: Nick Hadaway <grandmasterlinux>
Status: RESOLVED FIXED    
Severity: major CC: rphillips
Priority: High    
Version: 1.2   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description David Morel 2002-07-25 07:51:31 UTC
Problem:
in the default install (openldap 2.0.25) the database and pid files locations in
default config file point to /var/state/openldap and
/var/state/openldap/openldap-ldbm
these locations don't exist, instead the install package creates
/var/state/openldap-ldbm  and /var/state/openldap-slurp

Fix:
mkdir /var/state/openldap
mv /var/state/openldap-* /var/state/openldap/
Comment 1 Nick Hadaway 2002-07-26 07:23:21 UTC
modified ebuild to create a /var/state/openldap to conicide with default       
configuration of where databases are stored.  Thanks for the report.
Comment 2 Nick Hadaway 2002-07-26 10:29:58 UTC
re-modified ebuild as orginial ebuild was correct.

--localstatedir=/var/state/openldap

The directory /var/state/openldap is created for the openldap-ldbp and
openldap-slurp directories and the sub-directories are created properly.