Date: Sat, 9 Apr 2005 22:58:17 +0900 (JST) From: Tsurutani Naoki <turutani@scphys.kyoto-u.ac.jp> To: FreeBSD-gnats-submit@FreeBSD.org Subject: conf/79712: ntpdate in startup sequence fails. Message-ID: <200504091358.j39DwHOu092218@polymer3.scphys.kyoto-u.ac.jp> Resent-Message-ID: <200504091400.j39E0r7a053153@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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@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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200504091358.j39DwHOu092218>