Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 4 Jun 1997 16:40:02 -0700 (PDT)
From:      Bill Paul <wpaul@skynet.ctr.columbia.edu>
To:        freebsd-bugs
Subject:   Re: bin/3778: ypbind -S domainname,server1,... does not function
Message-ID:  <199706042340.QAA03458@hub.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR bin/3778; it has been noted by GNATS.

From: Bill Paul <wpaul@skynet.ctr.columbia.edu>
To: jin@george.lbl.gov (Jin Guojun[ITG])
Cc: jin@iss-p1.lbl.gov, freebsd-gnats-submit@FreeBSD.ORG
Subject: Re: bin/3778: ypbind -S domainname,server1,... does not function
Date: Wed, 4 Jun 1997 19:23:36 -0400 (EDT)

 Of all the gin joints in all the towns in all the world, Jin Guojun[ITG] 
 had to walk into mine and say:
  
 > > The only way to ypbind do what you want it to do is to download the
 > > ypbind source code from FreeBSD-current and compile that on your 2.2
 > > system. (It should compile without any problem.) Once you have that,
 > > use the following:
 > > 
 > > # ypbind -m -S domain,server1,server2,server3,server4,...
 > > 
 > > The -m flag is new: it tells ypbind to use a 'many-cast' instead of
 > > a broadcast. This will allow it to bind to any of the servers even
 > > if they are on remote subnets.
 > 
 > It works, but ypwhich kills it. That is, I cannot use ypwhich to fin out
 > which ypserver is currently using.
 > 
 > The ypbind is killed a couple of seconds after ypwhich command issued.
 > 
 > Please let me know when this is fixed.
 
 I need more information:
 
 - Exactly what FreeBSD release are you running.
 - Exactly what arguments do you use when invoking ypbind.
 - If possible, please try to do the following:
 
   o Edit the Makefile for the new ypbind and add -g to the CFLAGS
     options.
   o Recompile ypbind (make clean; make)
   o Try to use ypwhich to crash it again
   o When it crashes, do:
     % gdb -q ypbind /ypbind.core
     (gdb) where
 
   This result should be a stack trace indicating the line of code 
   where ypbind crashed. I would appreciate it if you could e-mail me the 
   stack trace; this will hopefully give me an idea where it is crashing 
   in the event that I can't reproduce the problem on my test machine.
   (I tested ypwhich on my machine before committing the changes and
   didn't have any trouble with it, but I might not have tested the right
   case to trip the bug.)
 
 -Bill
 
 -- 
 =============================================================================
 -Bill Paul            (212) 854-6020 | System Manager, Master of Unix-Fu
 Work:         wpaul@ctr.columbia.edu | Center for Telecommunications Research
 Home:  wpaul@skynet.ctr.columbia.edu | Columbia University, New York City
 =============================================================================
  "It is not I who am crazy; it is I who am mad!" - Ren Hoek, "Space Madness"
 =============================================================================
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199706042340.QAA03458>