Stef Bon wrote:
Hello,

after some unclean shutdowns of my computer, I saw that the openldap server (slapd) leaves some files in the /srv/ldap/run directory, which makes the startup script think that the server is already running.
In this case it's about the files slapd.args and slapd.pid.


Now isn't it the task of the cleanfs script to remove these files at startup, before any
server is started. IT does now but in the pretty standard directories


/tmp
/var/lock
/var/run

Should this list be expanded with the directory

/srv/ldap/run ?

In general should this script look for several places other than the named 
standard directories
because server are not in a standard place anymore in the system? (in /srv )

1. A discussion of ldap goes in blfs-support.
2. There is a new bootscript for openldap that fixes this issue.
3. The slapd.conf file has an optional parameter, pidfile, to put the file anywhere you want. It is not possible to change cleanfs in LFS to handle every potential package in BLFS.


  -- Bruce

--
http://linuxfromscratch.org/mailman/listinfo/lfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to