[Kolab-devel] Re: steffen: server/perl-kolab/Kolab Kolab.pm, 1.17, 1.18

Bernhard Reiter bernhard at intevation.de
Wed Sep 8 17:32:42 CEST 2004


On Wednesday 08 September 2004 17:19, cvs at intevation.de wrote:
> Author: steffen

> Log Message:
> fix for Issue379

>      if ($haschanged{'slapd'}) {
>          &log('K', 'Restarting OpenLDAP...');
> -        system("$prefix/bin/openpkg rc openldap stop; while test -f
> $prefix/var/openldap/run/slurpd.pid; do sleep 1; $prefix/bin/openpkg rc
> openldap stop; done; $prefix/bin/openpkg rc openldap start"); 
+      system("$prefix/bin/openpkg rc openldap restart &");

Will that avoid all deadlocks here?
I mean the rest of the resplication will be finished which might cause 
kolabd to issue another restart command to openldap?
Get's kolabd restarted by any of the configuration commands, btw?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2145 bytes
Desc: signature
URL: <http://lists.kolab.org/pipermail/devel/attachments/20040908/2adbffd4/attachment.p7s>


More information about the devel mailing list