From owner-freebsd-bugs Sat Oct 19 15:30: 7 2002 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 5AC1E37B401 for ; Sat, 19 Oct 2002 15:30:05 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id A8E0343E91 for ; Sat, 19 Oct 2002 15:30:04 -0700 (PDT) (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 g9JMU4x3065569 for ; Sat, 19 Oct 2002 15:30:04 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.6/8.12.6/Submit) id g9JMU4QH065568; Sat, 19 Oct 2002 15:30:04 -0700 (PDT) Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BC75837B401 for ; 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 ; 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 Reply-To: Chris Pepper To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: misc/44286: /etc/defaults/rc.conf uses the obsolete ntpdate 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: 44286 >Category: misc >Synopsis: /etc/defaults/rc.conf uses the obsolete ntpdate >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >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: >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: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message