public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Drew Tomlinson <drew@mykitchentable.net>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] /etc/init.d/: ntpd or ntp-client?
Date: Wed, 04 Feb 2009 13:29:08 -0800	[thread overview]
Message-ID: <498A08A4.1000604@mykitchentable.net> (raw)
In-Reply-To: <20090204141119.3990a138@krikkit>

Neil Bothwick wrote:
> On Wed, 4 Feb 2009 13:38:11 +0000, Stroller wrote:
>
>   
>> So when I found the clock to be a week out of date I checked that ntpd  
>> appeared to be running (it was) and restarted it. The date remained  
>> the same. Stopping ntpd & starting ntp-client corrected the date  
>> immediately.
>>     
>
> ntpd will not change the time if the difference is too large, the man
> page gives the limit. You need to run both at boot; ntp-client sets the
> time immediately, no matter what the skew, then ntpd keeps the clock in
> time.
>   

To avoid running ntp-client and ntpd, look at the -g switch for ntpd. 
It will make the big jump once and then keep the clock in sync.

Cheers,

Drew

-- 
Be a Great Magician!
Visit The Alchemist's Warehouse

http://www.alchemistswarehouse.com




  parent reply	other threads:[~2009-02-04 21:29 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-02-04 13:38 [gentoo-user] /etc/init.d/: ntpd or ntp-client? Stroller
2009-02-04 13:40 ` Justin
2009-02-04 18:17   ` Stroller
2009-02-04 18:23     ` Justin
2009-02-04 19:09       ` Stroller
2009-02-14  7:28   ` Stroller
2009-02-15 21:51     ` Sebastian Günther
2009-02-16  1:09       ` Stroller
2009-02-16  9:40         ` Sebastian Günther
2009-02-04 13:56 ` Dale
2009-02-04 13:57 ` Alan McKinnon
2009-02-04 18:12   ` Dirk Heinrichs
2009-02-04 14:11 ` Neil Bothwick
2009-02-04 18:20   ` Stroller
2009-02-11  8:48     ` Wolfgang Liebich
2009-02-04 21:29   ` Drew Tomlinson [this message]
2009-02-05 13:04     ` Stroller
2009-02-05 23:16       ` Iain Buchanan

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=498A08A4.1000604@mykitchentable.net \
    --to=drew@mykitchentable.net \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox