[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
(ITS#3960) slaptest changes ownership of ldap-data files
Full_Name: Perry Nguyen
Version: 2.3.6
OS: Linux FC4
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (66.245.252.239)
This is what happens after I run slaptest on OpenLDAP 2.3.6, presumably it
happens with prior 2.3 versions as well. (Obviously, I am running slaptest as
root)
slapd will fail to start with these files owned by root.
This problem did not occur with 2.2 versions.
The current workaround in my initscript is to change ownership on the file back
to ldap.ldap after slaptest is run.
[root@ares ldap]# ls -l /var/lib/ldap
total 884
-rw-r--r-- 1 ldap ldap 4096 Aug 22 10:00 alock
-rw------- 1 ldap ldap 16384 Aug 22 09:24 cn.bdb
-rw------- 1 root root 24576 Aug 22 10:00 __db.001
-rw------- 1 root root 32776192 Aug 22 10:00 __db.002
-rw------- 1 root root 2359296 Aug 22 10:00 __db.003
-rw------- 1 root root 450560 Aug 22 10:00 __db.004
-rw------- 1 root root 24576 Aug 22 10:00 __db.005