Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 20 Apr 1995 16:04:27 -0700 (PDT)
From:      "Rodney W. Grimes" <rgrimes@gndrsh.aac.dev.com>
To:        se@MI.Uni-Koeln.DE (Stefan Esser)
Cc:        current@FreeBSD.org
Subject:   Re: 950412-SNAP
Message-ID:  <199504202304.QAA07244@gndrsh.aac.dev.com>
In-Reply-To: <199504202132.AA19852@FileServ1.MI.Uni-Koeln.DE> from "Stefan Esser" at Apr 20, 95 11:32:21 pm

next in thread | previous in thread | raw e-mail | index | archive | help
> 
> On Apr 20, 12:32, "Rodney W. Grimes" wrote:
> } Subject: Re: 950412-SNAP
> } Could you please pick up /usr/src/etc/{rc, netstart, sysconfig} and
> } /usr/src/etc/etc.i386/rc.i386 from -current and try them out.  I need
> } some more feedback on these versions.  I believe your above problems
> } have been addressed in them.
> 
> My system needed one modification to /etc/rc.
> 
> I'm using the "amd" auto mounter with NIS maps 
> and found that at the time "amd" gets started
> the NIS binding doesn't succeed in time.
> 
> I've added an 
> 
> 	ypwhich >/dev/null 2>&1
> 
> immediately after the "ypbind" command, and 
> notice a few seconds of delay at that point.
> 
> This seems to be the only way to get amd 
> working with NIS maps ...

Are you saying the following diff fixed your problem:
And could others running NIS please test this so I can commit it
with a reviewed by: line.  I don't run NIS here :-(.

Index: rc
===================================================================
RCS file: /home/ncvs/src/etc/rc,v
retrieving revision 1.63
diff -c -r1.63 rc
*** 1.63	1995/04/11 18:36:10
--- rc	1995/04/20 23:02:56
***************
*** 179,184 ****
--- 179,185 ----
  # Start ypbind if we're an NIS client
  if [ "X${nis_clientflags}" != X"NO" ]; then
  	echo -n ' ypbind'; ypbind ${nis_clientflags}
+ 	ypwhich >/dev/null 2>&1
  fi
  
  # $rwhod is imported from /etc/sysconfig;
> 
> Regards, STefan
> 
> -- 
>  Stefan Esser				Internet:	<se@ZPR.Uni-Koeln.DE>
>  Zentrum fuer Paralleles Rechnen	Tel:		+49 221 4706019
>  Universitaet zu Koeln			FAX:		+49 221 4705160
>  Weyertal 80
>  50931 Koeln
> 


-- 
Rod Grimes                                      rgrimes@gndrsh.aac.dev.com
Accurate Automation Company                   Custom computers for FreeBSD



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