From nobody@FreeBSD.org  Thu Jan 13 02:43:18 2005
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 9C01916A4CE
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 13 Jan 2005 02:43:18 +0000 (GMT)
Received: from www.freebsd.org (www.freebsd.org [216.136.204.117])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 83C1B43D58
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 13 Jan 2005 02:43:18 +0000 (GMT)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.13.1/8.13.1) with ESMTP id j0D2hI0r006282
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 13 Jan 2005 02:43:18 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.13.1/8.13.1/Submit) id j0D2hIFx006250;
	Thu, 13 Jan 2005 02:43:18 GMT
	(envelope-from nobody)
Message-Id: <200501130243.j0D2hIFx006250@www.freebsd.org>
Date: Thu, 13 Jan 2005 02:43:18 GMT
From: Arne Wrner <arne_woerner@yahoo.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: /etc/rc.d/ntpdate script uses ..._command and not ..._program (like in rc.conf)
X-Send-Pr-Version: www-2.3

>Number:         76188
>Category:       conf
>Synopsis:       /etc/rc.d/ntpdate script uses ..._command and not ..._program (like in rc.conf)
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    ceri
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Jan 13 02:50:26 GMT 2005
>Closed-Date:    Mon Feb 21 15:58:40 GMT 2005
>Last-Modified:  Mon Feb 21 15:58:40 GMT 2005
>Originator:     Arne Wrner
>Release:        R5.3
>Organization:
>Environment:
FreeBSD neo.riddick.homeunix.org. 5.3-RELEASE FreeBSD 5.3-RELEASE #22: Tue Jan 11 13:42:46 UTC 2005     aw@neo.riddick.homeunix.org.:/opt/src/sys/i386/compile/RIDDICK  i386

>Description:
Today I experienced a little problem with the script
  /etc/rc.d/ntpdate
When I started that script from root's crontab, the script did not find the ntpdate-program, although its full path is mentioned in the file
  /etc/defaults/rc.conf

I hope, I did not misinterpret something...

For further information see, please:
http://www.freebsd.org/cgi/cvsweb.cgi/~checkout~/src/etc/defaults/rc.conf?rev=1.212.2.9&content-type=text/plain
http://www.freebsd.org/cgi/cvsweb.cgi/~checkout~/src/etc/rc.d/ntpdate?rev=1.9.2.1&content-type=text/plain
>How-To-Repeat:
put
  * * * * * /etc/rc.d/ntpdate start
into root's crontab (at least on my machine; maybe I misconfigured something...)
>Fix:
In
  /etc/rc.d/ntpdate
substitute
  ntpdate_command
by
  ntpdate_program

I tested it and it works fine...
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-bugs->ceri 
Responsible-Changed-By: ceri 
Responsible-Changed-When: Thu Jan 13 14:53:29 GMT 2005 
Responsible-Changed-Why:  
I'll take care of this. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=76188 
State-Changed-From-To: open->patched 
State-Changed-By: ceri 
State-Changed-When: Mon Jan 17 18:28:20 GMT 2005 
State-Changed-Why:  
Patched in -HEAD.  I will MFC this after a week or so.  Thanks. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=76188 
State-Changed-From-To: patched->closed 
State-Changed-By: ceri 
State-Changed-When: Mon Feb 21 15:56:52 GMT 2005 
State-Changed-Why:  
Forgot to close this when I merged it to RELENG_5 on Jan 30th. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=76188 
>Unformatted:
