[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: cannot kill slapd from openldap-1.2.11



Victor Sudakov wrote:
> On Tue, Jul 18, 2000 at 10:27:55AM -0700, Terry Lambert wrote:
> > > I have already been contacted by Bryan Mawhinney, this
> > > indeed seems to be a FreeBSD-specific issue. It is a pity,
> > > the next release of FreeBSD is not available yet AFAIK.
> > > Mine is the latest release.
> > This is a FreeBSD libc_r bug.
> >
> > Please see:
> >
> > <http://www.openldap.org/lists/openldap-software/200006/msg00061.html>
> >
> > It's a one line change and a libc_r rebuild & reinstall.
> 
> Do you know if there is a patch available?

Excuse the tabs and spaces on the cut and paste; the idea
should be obvious, though, and you can do the same with
an editor, since it's a one line change.

Apply this patch in the directory /usr/src/lib/libc_r:

-------------------------------------------------------------------
*** Makefile    Thu Jan 27 23:06:56 2000
--- Makefile.new        Wed Jul 19 17:55:53 2000
***************
*** 35,41 ****
        setsockopt.o shutdown.o sigaction.o sigaltstack.o \
        signanosleep.o sigpending.o sigprocmask.o sigreturn.o sigsetmask.o \
        sigsuspend.o socket.o \
!       socketpair.o wait4.o write.o writev.o
  
  .include "${.CURDIR}/../libc/Makefile.inc"
  .include "${.CURDIR}/man/Makefile.inc"
--- 35,41 ----
        setsockopt.o shutdown.o sigaction.o sigaltstack.o \
        signanosleep.o sigpending.o sigprocmask.o sigreturn.o sigsetmask.o \
        sigsuspend.o socket.o \
!       socketpair.o wait4.o write.o writev.o signal.o
  
  .include "${.CURDIR}/../libc/Makefile.inc"
  .include "${.CURDIR}/man/Makefile.inc"
-------------------------------------------------------------------

Rebuild and reinstall libc_r (same directory):

	make
	make install

And you should be set to go.

-- Terry Lambert
-- Whistle Communications, Inc., an I.B.M. Company
-- terry@whistle.com
-------------------------------------------------------------------
This is formal notice under California Assembly Bill 1629, enacted
9/26/98 that any UCE sent to my email address will be billed $50
per incident to the legally allowed maximum of $25,000.