Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 8 Jun 2006 21:40:27 GMT
From:      PaulFM <paulfm@me.umn.edu>
To:        freebsd-bugs@FreeBSD.org
Subject:   Re: bin/98625: ypserv ignores the -n option (it always acts like -n has been specified)
Message-ID:  <200606082140.k58LeRen070643@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

The following reply was made to PR bin/98625; it has been noted by GNATS.

From: PaulFM <paulfm@me.umn.edu>
To: Maxim Konovalov <maxim@macomnet.ru>
Cc: bug-followup@freebsd.org
Subject: Re: bin/98625: ypserv ignores the -n option (it always acts like
 -n has been specified)
Date: Thu, 08 Jun 2006 13:06:34 -0500

 Further tests have found something very interesting.
 
 1.  The real issue is - ypserv seems to ALWAYS do dns lookups IF the hosts 
 map is empty.
 Adding one entry (localhost) causes all versions to work as expected 
 (un-patched, new and old).
 
 2.  My previous "FIX" is not a fix, but was accompanied by a change in 
 another input to the problem (the hosts map on the test setup had entries in 
 it - I didn't set-up the test maps).  A back check found that the original 
 version of ypserv on that machine did not do dns lookups.
 
 
 So the workaround is to make sure you have at least one entry in your hosts map.
 
 
 
 -- 
 ---------------------------------------------------------------------
 The views and opinions expressed above are strictly
 those of the author(s).  The content of this message has
 not been reviewed nor approved by any entity whatsoever.
 ---------------------------------------------------------------------
 Paul F. Markfort   Info/Web: http://www.menet.umn.edu/~paulfm
 ---------------------------------------------------------------------



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