From pepper@reppep.com  Sat Oct 19 15:27:48 2002
Return-Path: <pepper@reppep.com>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id BC75837B401
	for <FreeBSD-gnats-submit@freebsd.org>; Sat, 19 Oct 2002 15:27:48 -0700 (PDT)
Received: from www.reppep.com (www.reppep.com [66.92.104.200])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 4AC0243E91
	for <FreeBSD-gnats-submit@freebsd.org>; Sat, 19 Oct 2002 15:27:48 -0700 (PDT)
	(envelope-from pepper@reppep.com)
Received: by www.reppep.com (Postfix, from userid 501)
	id 10D64ACD8; Sat, 19 Oct 2002 18:29:34 -0400 (EDT)
Message-Id: <20021019222934.10D64ACD8@www.reppep.com>
Date: Sat, 19 Oct 2002 18:29:34 -0400 (EDT)
From: Chris Pepper <pepper@rockefeller.edu>
Reply-To: Chris Pepper <pepper@rockefeller.edu>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: /etc/defaults/rc.conf uses the obsolete ntpdate
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         44286
>Category:       conf
>Synopsis:       /etc/defaults/rc.conf uses the obsolete ntpdate
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    roberto
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sat Oct 19 15:30:03 PDT 2002
>Closed-Date:    
>Last-Modified:  Tue Nov 23 11:40:07 UTC 2010
>Originator:     Chris Pepper
>Release:        FreeBSD 4.7-STABLE i386
>Organization:
>Environment:
System: FreeBSD www.reppep.com 4.7-STABLE FreeBSD 4.7-STABLE #3: Sun Oct 13 01:47:03 EDT 2002 root@www.reppep.com:/usr/obj/usr/src/sys/GENERIC i386


	
>Description:
	/etc/defaults/rc.conf suggests ntpdate, but ntpdate(8) says it's been superseded by ntpd.

[www:~] root# grep -i ntp /etc/defaults/rc.conf
ntpdate_enable="NO"             # Run ntpdate to sync time on boot (or NO).
ntpdate_program="/usr/sbin/ntpdate"     # path to ntpdate, if you want a different one.
ntpdate_flags="-b"              # Flags to ntpdate (if enabled).
xntpd_enable="NO"               # Run ntpd Network Time Protocol (or NO).
xntpd_program="/usr/sbin/ntpd"  # path to ntpd, if you want a different one.
xntpd_flags="-p /var/run/ntpd.pid"      # Flags to ntpd (if enabled).

[www:~] pepper> man ntpdate
NTPDATE(8)              FreeBSD System Manager's Manual             NTPDATE(8)

NAME
     ntpdate - set the date and time via NTP

SYNOPSIS
     ntpdate [-bBdoqsuv] [-a key] [-e authdelay] [-k keyfile] [-o version]

DESCRIPTION
     Note: The functionality of this program is now available in the ntpd(8)
     program.  See the -q command line option in the ntpd(8) page.  After a
     suitable period of mourning, the ntpdate program is to be retired from
     this distribution.
>How-To-Repeat:
	grep ntp /etc/defaults/rc.conf
	man ntpdate
>Fix:
	Change ntpdate_program in /etc/defaults/rc.conf to ntpd and clear ntpdate_flags, since -b means something entirely different between ntpdate and ntpd.
	This assumes that ntpd is otherwise a suitable replacement for ntpd, which I understand from its man page, but have not confirmed personally.
>Release-Note:
>Audit-Trail:

From: Ceri Davies <setantae@submonkey.net>
To: Chris Pepper <pepper@rockefeller.edu>
Cc: FreeBSD-gnats-submit@FreeBSD.org
Subject: Re: misc/44286: /etc/defaults/rc.conf uses the obsolete ntpdate
Date: Sun, 20 Oct 2002 14:37:40 +0100

 On Sat, Oct 19, 2002 at 06:29:34PM -0400, Chris Pepper wrote:
 
 >      Note: The functionality of this program is now available in the ntpd(8)
 >      program.  See the -q command line option in the ntpd(8) page.  After a
 >      suitable period of mourning, the ntpdate program is to be retired from
 >      this distribution.
 
 I seem to remember a discussion regarding this about six months or so ago,
 where the outcome was that ntpd -q does *not* do the same thing, or at least
 not reliably enough.
 
 Ceri
 -- 
 you can't see when light's so strong
 you can't see when light is gone

From: Chris Pepper <pepper@reppep.com>
To: Ceri Davies <setantae@submonkey.net>
Cc: FreeBSD-gnats-submit@FreeBSD.org
Subject: Re: misc/44286: /etc/defaults/rc.conf uses the obsolete ntpdate
Date: Sun, 20 Oct 2002 13:24:38 -0400

 At 2:37 PM +0100 2002/10/20, Ceri Davies wrote:
 >On Sat, Oct 19, 2002 at 06:29:34PM -0400, Chris Pepper wrote:
 >
 >>       Note: The functionality of this program is now available in the ntpd(8)
 >>       program.  See the -q command line option in the ntpd(8) page.  After a
 >>       suitable period of mourning, the ntpdate program is to be retired from
 >>       this distribution.
 >
 >I seem to remember a discussion regarding this about six months or so ago,
 >where the outcome was that ntpd -q does *not* do the same thing, or at least
 >not reliably enough.
 
 	Then ntpdate.8 needs to be amended to state that ntpd is in 
 process of taking over for ntpdate, rather than being a complete 
 drop-in replacement at present.
 
 
 						Chris
 
 >      Note: The functionality of this program is now available in the ntpd(8)
 >      program.  See the -q command line option in the ntpd(8) page.  After a
 >      suitable period of mourning, the ntpdate program is to be retired from
 >      this distribution.
 -- 
 Chris Pepper:               <http://www.reppep.com/~pepper/>
 Rockefeller University:     <http://www.rockefeller.edu/>
Responsible-Changed-From-To: freebsd-bugs->roberto 
Responsible-Changed-By: kris 
Responsible-Changed-When: Fri Jul 18 15:16:41 PDT 2003 
Responsible-Changed-Why:  
Assign to ntp maintainer 

http://www.freebsd.org/cgi/query-pr.cgi?pr=44286 

From: Tony Li <tony.li@tony.li>
To: freebsd-gnats-submit@FreeBSD.org, pepper@rockefeller.edu
Cc:  
Subject: Re: conf/44286: /etc/defaults/rc.conf uses the obsolete ntpdate
Date: Fri, 22 Oct 2004 03:05:48 -0700

 Hi,
 
 I just had a side comment on this PR.
 
 The note about ntpdate being obsolete is correct, but not because ntpd 
 now acts as a drop
 in replacement.  Rather, ntpd provides a much more reliable and stable 
 service that is
 less likely to cause problems for everyone involved.  It should 
 definitely become
 the default time chime program.
 
 Using ntpdate just at boot time is not advisable as computer clocks 
 these days are not
 particularly reliable, and drift will accumulate over a matter of days 
 and weeks,
 resulting in significant differences between systems and wierd 
 behaviors.
 
 If you use ntpdate periodically, such as from a cron job, you're doing 
 essentially
 the same work that ntpd does, yet with high overhead and less accuracy.
 
 Net: ntpd is a win, and ntpdate should be phased out.  Certainly ntpd 
 should be the
 FreeBSD default.
 
 Regards,
 Tony
 

From: Bruce Cran <bruce@cran.org.uk>
To: bug-followup@FreeBSD.org, pepper@rockefeller.edu
Cc:  
Subject: Re: conf/44286: /etc/defaults/rc.conf uses the obsolete ntpdate
Date: Tue, 23 Nov 2010 11:37:40 +0000

 According to http://support.ntp.org/bin/view/Dev/DeprecatingNtpdate
 /usr/bin/sntp can now be used instead of ntpdate.
>Unformatted:
