Bugzilla – Bug 1483
Objects disappearing in MDS (bug 956 reopened)
Last modified: 2005-12-06 16:59:54
You need to log in before you can comment on or make changes to this bug.
In mds/openldap/ldapmodules/search.c with tag globus_2_4_3 I see the following on lines 422-427 (indentation reduced for clarity): ----------------------------------------------------------------------------- errno = 0; while (errno == EINTR) rc = select (fdn + 1, &readfds, NULL, &readfds, &tv); if (rc < errno) ----------------------------------------------------------------------------- Surely this code does not do what was intended (the select() is never done); also the comparison of "rc" with "errno" is bad style at the very least. I propose this to be fixed by applying the first patch attached below. Note that it also ensures the variable "data1" is always initialized. A similar patch was applied by LCG on top of MDS 2.2 and found to work OK. I have added two more patches by NorduGrid/LCG, that fix various OpenLDAP bugs and misfeatures affecting the stability of the MDS.
Created an attachment (id=284) [details] proper patch for bug 956
Created an attachment (id=285) [details] patch for openldap-2.0.22-patch
Created an attachment (id=286) [details] patch for grid-info-soft-register This patch introduces a timeout parameter, which is accepted when the above patch for openldap-2.0.22-patch has been applied before.
Thanks for the contributions. I'm currently testing the patched code with a third party. An update package will be provided on the Globus Advisory page.
An update package for the GRIS has been posted on the Globus advisory page as of 1/14
Thanks for your efforts here. I note that the 3 patches have been put into the globus_2_4_branch, but *not* into the head of the CVS trunk: is that OK?
i'll be commiting to the CVS trunk as soon as I finish some related work. Thanks for the notice.
Just to be sure, the changes should be committed in time before the upcoming 3.2 tag is made! Thanks!