Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 5557 - [openldap] default db location differs between FS and config file
Summary: [openldap] default db location differs between FS and config file
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Nick Hadaway
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-07-25 07:51 UTC by David Morel
Modified: 2003-02-04 19:42 UTC (History)
1 user (show)

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


Attachments

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