Subject: Re: bugfix/improvement for ypbind
To: None <tech-net@netbsd.org, tech-userlevel@netbsd.org>
From: Manuel Bouyer <bouyer@antioche.lip6.fr>
List: tech-net
Date: 08/21/1998 13:53:32
On Aug 17, Manuel Bouyer wrote
> 
> Hi,
> I've make some changes to ypbind, in order to fix 2 problems I had with it:
> - error messages are displayed with err()/warn()/herror(). This is bogus,
>   as ypbind calls daemon(0,0) which will close stdin, stdout, stderr.
>   I've made ypbind use syslog() if not started with '-d'. It will use
>   fprintf(stderr, ...) with -d.
> - when used with a /var/yp/binding/<domainname>.ypservers file, 
>   ypbind would exit when no server was reachable. This can be a temporary
>   failure from which we can recover without problem (router or server
>   rebooting, hub powerded of by a stupid guy, ...).

I just commited these changes.

--
Manuel Bouyer, LIP6, Universite Paris VI.           Manuel.Bouyer@lip6.fr
--