conf/76188: /etc/rc.d/ntpdate script uses ..._command and not ..._program (like in rc.conf)

Arne Wörner arne_woerner at yahoo.com
Wed Jan 12 18:50:27 PST 2005


>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 at 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:


More information about the freebsd-bugs mailing list