Subject: bin/5258: xntpd boots to weird state if link is down
To: None <gnats-bugs@gnats.netbsd.org>
From: Joel Reicher <joel@panacea.null.org>
List: netbsd-bugs
Date: 04/06/1998 17:44:36
>Number:         5258
>Category:       bin
>Synopsis:       xntpd boots to weird state if link is down
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    bin-bug-people (Utility Bug People)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Apr  6 00:50:00 1998
>Last-Modified:
>Originator:     Joel Reicher
>Organization:
	
>Release:        1.3 <NetBSD-current source date>
>Environment:
	
NetBSD joel.home.aaii.oz.au 1.3 NetBSD 1.3 (JOEL) #1: Wed Feb  4 01:03:14 EST 1998     joel@joel.home.aaii.oz.au:/usr/src/sys/arch/sparc/compile/JOEL sparc

>Description:
	
If the link is down when xntpd starts up, such as is the case for a machine
that calls up a system when booting, the first attempt to reach the server
fails if the dial-in hasn't completed (usually the case), but then never
succeeds even once the link has come up.

My ntp.conf has one line in it:

server	(ip-address)

>How-To-Repeat:
	
Assuming this problem is not unique to my configuration, bringing the link
down, killing and then restarting xntpd, and then bringing the link back up
again should reproduce it.

>Fix:
	
Manually kill and restart xntpd once the link is up.
>Audit-Trail:
>Unformatted: