From owner-freebsd-bugs@FreeBSD.ORG Sat Apr 9 14:00:53 2005 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D364B16A4CE for ; Sat, 9 Apr 2005 14:00:53 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 724EC43D45 for ; Sat, 9 Apr 2005 14:00:53 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j39E0rmG053155 for ; Sat, 9 Apr 2005 14:00:53 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j39E0r7a053153; Sat, 9 Apr 2005 14:00:53 GMT (envelope-from gnats) Resent-Date: Sat, 9 Apr 2005 14:00:53 GMT Resent-Message-Id: <200504091400.j39E0r7a053153@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Tsurutani Naoki Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 17A0716A4CF for ; Sat, 9 Apr 2005 13:58:19 +0000 (GMT) Received: from polymer3.scphys.kyoto-u.ac.jp (polymer3.scphys.kyoto-u.ac.jp [130.54.56.153]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6577943D53 for ; Sat, 9 Apr 2005 13:58:18 +0000 (GMT) (envelope-from turutani@polymer3.scphys.kyoto-u.ac.jp) Received: from polymer3.scphys.kyoto-u.ac.jp (localhost [127.0.0.1]) ESMTP id j39DwHlr092219; Sat, 9 Apr 2005 22:58:17 +0900 (JST) (envelope-from turutani@polymer3.scphys.kyoto-u.ac.jp) Received: (from turutani@localhost)j39DwHOu092218; Sat, 9 Apr 2005 22:58:17 +0900 (JST) (envelope-from turutani) Message-Id: <200504091358.j39DwHOu092218@polymer3.scphys.kyoto-u.ac.jp> Date: Sat, 9 Apr 2005 22:58:17 +0900 (JST) From: Tsurutani Naoki To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: conf/79712: ntpdate in startup sequence fails. X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Tsurutani Naoki List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 09 Apr 2005 14:00:54 -0000 >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: