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 )
How do you think?
Stef
pid files should not be inside the /srv hierarchy. /var/run is the
proper FHS-compliant place for these files to be located. This would
definately be a problem with the BLFS installation instructions, not the
cleanfs script, so you should probably take this to their list.
Jeremy
--
http://linuxfromscratch.org/mailman/listinfo/lfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page