/[smeserver]/rpms/e-smith-ldap/sme9/e-smith-ldap-5.4.0-chown_db_files.patch
ViewVC logotype

Annotation of /rpms/e-smith-ldap/sme9/e-smith-ldap-5.4.0-chown_db_files.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (hide annotations) (download)
Tue Nov 11 01:03:05 2014 UTC (9 years, 11 months ago) by vip-ire
Branch: MAIN
CVS Tags: e-smith-ldap-5_4_0-21_el6_sme, e-smith-ldap-5_4_0-17_el6_sme, e-smith-ldap-5_4_0-20_el6_sme, e-smith-ldap-5_4_0-16_el6_sme, e-smith-ldap-5_4_0-18_el6_sme, e-smith-ldap-5_4_0-19_el6_sme, e-smith-ldap-5_6_0-1_el7_sme, HEAD
* 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 RSS 2.0 feed