[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: how does ntpdate work ?



From another of those pesky /usr/share/doc files:

che:/usr/share/doc/ntpdate# cat README.Debian
...
Note that ntpdate is *not* really intended to be used by hosts with
good network connectivity.  The "ntp" package, which provides a
persistent daemon that does a better job of keeping system time than
even a cron'ed invocation of ntpdate, is a better choice for systems
with good network connectivity.  If all you want is to set the clock
to a reasonable value once in a while, a more light-weight package
like "rdate" can also do the job.


On Wed, 18 Oct 2006, harm wrote:

i think i should read those /usr/share/doc files more often :p

however, ntpdate is only started once (on bootup) and it never needs to
resync afterwords ? since its not in ps aux...

On 10/18/06, Andrew Perrin <clists@perrin.socsci.unc.edu> wrote:

According to /usr/share/doc/ntpdate/changlog.Debian.gz:

   * npdate is no longer started from an init script but instead by ifup
     (closes: #56499, #245338, #312576)
   * Run ntpdate from ifup in the background (closes: #321759, #375280,
     #382543)



The script is now in /etc/network/if-up.d .

Cheers,
Andy


On Wed, 18 Oct 2006, harm wrote:

> in good old sarge there was a script in /etc/init.d/ that would check
the
> clock with the ntp server(s) in /etc/default/ntpdate. But how does it
works
> in Etch, since the init.d script is gone ? Of course i can execute
ntpdate
> ntp.xs4all.nl but if i want it to sync every 24hrs should i put it in
cron
> or is there a "hidden" script somewhere to take care of it ?
>



----------------------------------------------------------------------
Andrew J Perrin - andrew_perrin (at) unc.edu -
http://perrin.socsci.unc.edu
Assistant Professor of Sociology; Book Review Editor, _Social Forces_
University of North Carolina - CB#3210, Chapel Hill, NC 27599-3210 USA
New Book: http://www.press.uchicago.edu/cgi-bin/hfs.cgi/00/178592.ctl








----------------------------------------------------------------------
Andrew J Perrin - andrew_perrin (at) unc.edu - http://perrin.socsci.unc.edu
Assistant Professor of Sociology; Book Review Editor, _Social Forces_
University of North Carolina - CB#3210, Chapel Hill, NC 27599-3210 USA
New Book: http://www.press.uchicago.edu/cgi-bin/hfs.cgi/00/178592.ctl




Reply to: