Check DB directory validity at config time
Of course, there's no guarantee the directory will exist and be writable when really needed ;) Just wanted to note it, I understand it should be considered as likely as someone running rm -rf on the database directory while slapd is running...
p.
Ing. Pierangelo Masarati OpenLDAP Core Team
SysNet s.r.l. via Dossi, 8 - 27100 Pavia - ITALIA http://www.sys-net.it --------------------------------------- Office: +39 02 23998309 Mobile: +39 333 4963172 Email: pierangelo.masarati@sys-net.it ---------------------------------------
Pierangelo Masarati wrote:
Check DB directory validity at config time
Of course, there's no guarantee the directory will exist and be writable when really needed ;) Just wanted to note it, I understand it should be considered as likely as someone running rm -rf on the database directory while slapd is running...
Right. And if the directory isn't there when it's needed, slapd will shut down because there's no safe way forward at that point.