[Pkg-utopia-maintainers] Bug#561622: [pkg-ntp-maintainers] Bug#561622: Race condition between ntp and NetworkManager at entry to runlevel 2

Kurt Roeckx kurt at roeckx.be
Fri Dec 25 13:05:52 UTC 2009


On Sat, Dec 19, 2009 at 03:16:59PM +0100, Kurt Roeckx wrote:
> On Fri, Dec 18, 2009 at 03:22:35PM -0800, Carl Mascott wrote:
> > The hosts line of /etc/nsswitch.conf:
> > 
> > hosts:    files mdns4_minimal [NOTFOUND=return] dns mdns4
> 
> Mine only had "files dns".  Changing it to that breaks things
> for me.  Changing it to:
> hosts:    files mdns4_minimal [NOTFOUND=return] dns
> 
> Makes things work again.
> 
> So I believe that this is a bug in libnss-mdns, and am reassigning
> it.

Afaik, ntpd behaves that way in case EAI_NONAME (authoritive
answer that there is no such name) is returned by getaddrinfo(),
not in case of something like EAI_FAIL or EAI_NODATA.  I believe
that EAI_NONAME is returned when the DNS returned NXDOMAIN.


Kurt






More information about the Pkg-utopia-maintainers mailing list