Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 13 Jan 2005 02:43:18 GMT
From:      Arne Wörner <arne_woerner@yahoo.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   conf/76188: /etc/rc.d/ntpdate script uses ..._command and not ..._program (like in rc.conf)
Message-ID:  <200501130243.j0D2hIFx006250@www.freebsd.org>
Resent-Message-ID: <200501130250.j0D2oQLq052576@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Jan 13 02:50:26 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Arne Wörner
>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:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200501130243.j0D2hIFx006250>