[kreutzm@itp.uni-hannover.de: yp - solved]

Lukas Dobrek dobrek at itp.uni-hannover.de
Fri Jun 29 11:37:50 CEST 2001


I am on tiny connection so if anybody wanna add it ....
I'll back on monday so becouse it is not urgent it can wait. 
Take Care
Lukasz
----- Forwarded message from Helge Kreutzmann <kreutzm at itp.uni-hannover.de> -----

> Date: Fri, 29 Jun 2001 10:09:20 +0200
> From: Helge Kreutzmann <kreutzm at itp.uni-hannover.de>
> Subject: yp - solved
> To: Lukas Dobrek <dobrek at itp.uni-hannover.de>
> 
> Hello Lukas !
> I solved the yp-problem. ypinit does not work (neither in itp nor in
> iqo) as shipped default. Since it is a shell script and the "proper"
> (?) solution was already available as comment (see attached first
> patch) I was able to set it up finally. Now pele is a yp-slave. Maybe
> the proper fix would be to find out why yphelper does not work.
> 
> I switched all machines to yp-broadcast in yp.conf which caused some
> to bind to pele already. So far everything seems fine. I added the
> ypxfr jobs in cron of pele.
> 
> On hakan was a partial yp setup (including a core file) which I
> ignored.
> 
> Last (and least) I found a slight bug in the ypbind script in
> /etc/rc.d/init.d which I fixed. You'll find the patch attached. If
> you'll like you can forward it to PLD.
> 
> Have a nice stay in Poland
> 
>           Helge
> 
> P.S. I hope I made the patches in a proper way. Since I am not very
> experienced in that please tell me if I should make them differently.
> diff has an amazing amount of options ...
> 
> -- 
> Helge Kreutzmann, Dipl.-Phys.                      kreutzm at itp.uni-hannover.de
>          For gpg-key: finger kreutzm at rigel.itp.uni-hannover.de
>     64bit GNU powered                  http://www.itp.uni-hannover.de/~kreutzm
>        Help keep free software "libre": http://www.freepatents.org/

> *** ypinit.pld	Fri Jun 29 10:01:27 2001
> --- ypinit	Fri Jun 29 09:32:39 2001
> ***************
> *** 21,28 ****
>       echo "The host specified should be a running master NIS server, not this machine."
>       exit 1
>     fi
> ! #  maps=`ypwhich -m | egrep $MASTER$| awk '{ printf("%s ",$1) }' -`
> !   maps=`$YPBINDIR/yphelper --maps $MASTER`
>   
>     if [ -z "$maps" ]
>     then
> --- 21,28 ----
>       echo "The host specified should be a running master NIS server, not this machine."
>       exit 1
>     fi
> !   maps=`ypwhich -m | egrep $MASTER$| awk '{ printf("%s ",$1) }' -`
> ! # maps=`$YPBINDIR/yphelper --maps $MASTER`
>   
>     if [ -z "$maps" ]
>     then

> *** ypbind.pld	Fri Jun 29 09:50:06 2001
> --- ypbind	Fri Jun 29 09:50:30 2001
> ***************
> *** 52,58 ****
> --- 52,61 ----
>   			ypwhich >/dev/null 2>&1
>   			if [ $? -ne 0 ] ; then
>   				fail
> + 			else
> + 				ok
>   			fi
> + 			
>   		fi
>   	else
>   		msg_Already_Running ypbind


----- End forwarded message -----

-- 
Łukasz Dobrek
Institut für Theoretische Physik
Appelstraße 2, 30167 Hannover, Germany
e-mail:dobrek at itp.uni-hannover.de
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 232 bytes
Desc: not available
Url : /mailman/pipermail/pld-devel-en/attachments/20040626/703674f1/attachment-0002.bin


More information about the pld-devel-en mailing list