conf/79712: ntpdate in startup sequence fails.

Tsurutani Naoki turutani at scphys.kyoto-u.ac.jp
Sat Apr 9 07:00:54 PDT 2005


>Number:         79712
>Category:       conf
>Synopsis:       ntpdate in startup sequence fails.
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Apr 09 14:00:52 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Tsurutani Naoki
>Release:        FreeBSD 5.4-STABLE i386
>Organization:
>Environment:
System: FreeBSD polymer3.scphys.kyoto-u.ac.jp 5.4-STABLE FreeBSD 5.4-STABLE #2: Wed Apr 6 17:28:53 JST 2005 root at polymer3.scphys.kyoto-u.ac.jp:/usr/local/work/usr/obj/usr/src/sys/POLYMER i386


	
>Description:
	in /etc/rc.conf, ntpdate_flags like
		ntpdate_enable="YES"
		ntpdate_flags="-t 5 -sb ntp.example.com"
	are ignored.
	host in /etc/ntp.conf are used instead.
	
>How-To-Repeat:
	booting with above options and with /etc/ntp.conf being.
	
>Fix:
	according to /etc/rc.d/ntpdate, "ntpdate_hosts" variable is used
	to dicide host to access, but it is not defined by default nor be
	mentioned in man pages.
	if one set ntp server host in "ntpdate_flags" variable, it might be
	ignored or ntpdate will be ran with 2 target hosts.
	it's curious, i think. /etc/ntp.conf should be independent on ntpdate
	and vice versa, for some servers are not suitable while boot sequence
	even if they are marked as "prefer".
	if currently way of running ntpdate is still used, fix documents
	about ntpdate, ntp.conf, ntpd, and rc.conf, and fix default/rc.conf.
	


>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-bugs mailing list