From owner-freebsd-bugs Fri Mar 14 1:30:17 2003 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 51DF537B401 for ; Fri, 14 Mar 2003 01:30:15 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7D02143FDF for ; Fri, 14 Mar 2003 01:30:12 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.6/8.12.6) with ESMTP id h2E9UCNS052673 for ; Fri, 14 Mar 2003 01:30:12 -0800 (PST) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.6/8.12.6/Submit) id h2E9UCXp052672; Fri, 14 Mar 2003 01:30:12 -0800 (PST) Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E95D937B401 for ; Fri, 14 Mar 2003 01:23:40 -0800 (PST) Received: from foem.leiden.webweaving.org (fia224-72.dsl.hccnet.nl [62.251.72.224]) by mx1.FreeBSD.org (Postfix) with ESMTP id 500AF43FCB for ; Fri, 14 Mar 2003 01:23:37 -0800 (PST) (envelope-from dirkx@foem.leiden.webweaving.org) Received: from foem.leiden.webweaving.org (localhost [127.0.0.1]) by foem.leiden.webweaving.org (8.12.6/8.12.6) with ESMTP id h2E9NZLF007956 for ; Fri, 14 Mar 2003 10:23:35 +0100 (CET) (envelope-from dirkx@foem.leiden.webweaving.org) Received: (from dirkx@localhost) by foem.leiden.webweaving.org (8.12.6/8.12.6/Submit) id h2E9NZrH007955; Fri, 14 Mar 2003 10:23:35 +0100 (CET) Message-Id: <200303140923.h2E9NZrH007955@foem.leiden.webweaving.org> Date: Fri, 14 Mar 2003 10:23:35 +0100 (CET) From: Dirk-Willem van Gulik Reply-To: Dirk-Willem van Gulik To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: conf/50000: ntpdate not ran before (x)ntpd Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 50000 >Category: conf >Synopsis: ntpdate not ran before (x)ntpd >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Mar 14 01:30:11 PST 2003 >Closed-Date: >Last-Modified: >Originator: Dirk-Willem van Gulik >Release: FreeBSD 5.0-CURRENT i386 >Organization: WebWeaving >Environment: System: FreeBSD foem.leiden.webweaving.org 5.0-CURRENT FreeBSD 5.0-CURRENT #1: Tue Nov 26 13:16:54 CET 2002 dirkx@foem.leiden.webweaving.org:/usr/obj/usr/src/sys/FOEM i386 >Description: ntpdate and (x)ntpd both need the same port. I.e. one cannot start ntpd and then use ntpdate. Now in some situations it is useful to have an ntpdate done just before starting ntpd; as the clock may have gone so far out of sync (as the machine was off for a long time) that ntpd is not able to wack it in sync. >How-To-Repeat: just enable both in your rc.conf and see ntpdate fail with a port already in use. >Fix: make rc.d/ntpd dependin gon ntpdate - so that the latter is ran first. Then you can both have ntpdate run first (and once during boot) to get the clock resonably in sync; and then rely on ntpd from thereon. >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message