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

Contents of /rpms/e-smith-ldap/sme9/e-smith-ldap-5.4.0-wait_slapd_initialization.patch

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


Revision 1.1 - (show annotations) (download)
Sun Feb 24 15:49:57 2013 UTC (11 years, 8 months ago) by vip-ire
Branch: MAIN
CVS Tags: e-smith-ldap-5_4_0-13_el6_sme, 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-7_el6_sme, e-smith-ldap-5_4_0-9_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-15_el6_sme, e-smith-ldap-5_4_0-8_el6_sme, e-smith-ldap-5_4_0-14_el6_sme, e-smith-ldap-5_4_0-19_el6_sme, e-smith-ldap-5_4_0-10_el6_sme, e-smith-ldap-5_4_0-12_el6_sme, e-smith-ldap-5_6_0-1_el7_sme, e-smith-ldap-5_4_0-11_el6_sme, HEAD
Error occurred while calculating annotation data.
* Fri Feb 22 2013 Daniel Berteaud <daniel@firewall-services.com> 5.4.0-7.sme
- Wait for slapd to be ready before running bootstrap-ldap-save [SME: 7395]

1 diff -Nur e-smith-ldap-5.2.0/root/etc/rc.d/init.d/ldap.init e-smith-ldap-5.2.0-slap_init/root/etc/rc.d/init.d/ldap.init
2 --- e-smith-ldap-5.2.0/root/etc/rc.d/init.d/ldap.init 2013-02-22 18:53:49.698942361 +0100
3 +++ e-smith-ldap-5.2.0-slap_init/root/etc/rc.d/init.d/ldap.init 2013-02-22 18:55:40.572988472 +0100
4 @@ -34,7 +34,8 @@
5
6 for i in $(seq 1 10)
7 do
8 - if [ $(/usr/bin/pgrep -f slapd | wc -l) -ge 1 ]
9 + /usr/bin/ldapwhoami -x > /dev/null 2>&1
10 + if [ $? = 0 ]
11 then
12 exit_value=0
13 for link in $((echo /etc/e-smith/ldap/init/50bootstrap; find /etc/e-smith/ldap/init -type f -o -type l) | sort)

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed