Parent Directory | Revision Log | Revision Graph
* Tue Nov 11 2014 Daniel Berteaud <daniel@firewall-services.com> 5.4.0-16.sme - Chown all DB files to ldap before staring slapd [SME: 8635]
1 | vip-ire | 1.1 | diff -Nur e-smith-ldap-5.4.0/root/var/service/ldap/run e-smith-ldap-5.4.0_bz8635/root/var/service/ldap/run |
2 | --- e-smith-ldap-5.4.0/root/var/service/ldap/run 2014-11-11 01:55:37.613000000 +0100 | ||
3 | +++ e-smith-ldap-5.4.0_bz8635/root/var/service/ldap/run 2014-11-11 01:59:11.661000000 +0100 | ||
4 | @@ -51,6 +51,9 @@ | ||
5 | setuidgid ldap /usr/bin/db_recover -v -h /var/lib/ldap | ||
6 | fi | ||
7 | |||
8 | +# Make sure all DB files belongs to ldap:ldap | ||
9 | +find /var/lib/ldap -not -name DB_CONFIG -exec chown ldap:ldap {} \; | ||
10 | + | ||
11 | loglevel=$(/sbin/e-smith/config getprop ldap LogLevel || echo 256) | ||
12 | |||
13 | # Now run daemon |
admin@koozali.org | ViewVC Help |
Powered by ViewVC 1.2.1 |