Issue 28 - "make test" leaves servers running
Summary: "make test" leaves servers running
Status: VERIFIED FIXED
Alias: None
Product: OpenLDAP
Classification: Unclassified
Component: slapd (show other issues)
Version: unspecified
Hardware: All All
: --- normal
Target Milestone: ---
Assignee: OpenLDAP project
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 1998-12-29 21:59 UTC by mark@summersault.com
Modified: 2014-08-01 21:06 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description mark@summersault.com 1998-12-29 21:59:25 UTC
Full_Name: Mark Stosberg
Version: 1.1.1
OS: FreeBSD 2.2.8
URL: 
Submission from: (NULL) (199.120.185.113)


Hello! 
 
I'm happy to report that openldap 1.1.1 is the first version of the software
with watch the "make test" function completes successfully on my FreeBSD 2.2.8
machine.
However, running these tests left six slapd servers running on my machine, even
though I never installed the software. I discovered this when my co-worker
called me frantically asking if I had started some servers named "slapd". He was
that with a name like "slapd" it must have started by an intruder and he found
references to things like "replicating", which sounded pretty scary.
  I suggest that the behavior of "make test" include shutting down all the
servers it starts running for the test.

 -mark
Comment 1 Kurt Zeilenga 1998-12-29 23:40:45 UTC
I appears that FreeBSD 2.2.8 and 3.0 both have a bug in their
pthread_exit() implementations.  The program

  #include <pthread.h>

  int main(int argc, char** argv)
  {
        pthread_exit( NULL );

        /* not reachable */
        return -2;
  }

fails to exit without being kill'ed.  I filed a PR (i386/9237)
with FreeBSD folks and reworked threading in slapd/slurpd to
workaround this problem.  Assuming my changes don't cause
problems on other platforms, this should be available in the
next patch release.

Kurt
Comment 2 Kurt Zeilenga 1998-12-29 23:42:21 UTC
changed notes
changed state Open to Test
moved from Incoming to Software
Comment 3 Kurt Zeilenga 1998-12-30 19:52:47 UTC
changed notes
changed state Test to Release
Comment 4 Kurt Zeilenga 1998-12-31 20:28:56 UTC
changed notes
changed state Release to Closed
Comment 5 Kurt Zeilenga 1999-01-13 17:55:10 UTC
moved from Software to Software Bugs
Comment 6 OpenLDAP project 2014-08-01 21:06:51 UTC
Released with 1.1.2