public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] /etc/init.d/: ntpd or ntp-client?
@ 2009-02-04 13:38 Stroller
  2009-02-04 13:40 ` Justin
                   ` (3 more replies)
  0 siblings, 4 replies; 18+ messages in thread
From: Stroller @ 2009-02-04 13:38 UTC (permalink / raw
  To: gentoo-user

Hi there,

I just logged into one of my machines that has recently been powered  
down for a few days - not a terribly common occurrence with my servers  
- to find a date of January 30th showing.

I used to run ntp-client, but AIUI adding this to the default runlevel  
only sets the clock once at boot up. Of course the problem with that  
is that the computer's clock can become inaccurate if the spring  
tension is weak, as is obviously the case in my older PCs.

So a while back I changed /etc/runlevels/default so that ntpd is  
started instead.

I understood that ntpd was not only a server for my LAN (a facility I  
don't use) but that it would also periodically check the time with  
upstream servers & keep the machine's clock in constant sync.

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.

Before I do any investigation, can someone tell me if my understanding  
so far is correct? Is ntpd supposed to keep the machine's clock in  
constant sync, or is it only (say) a server to offer the date to  
clients? (depending upon the clock being set correctly by other means)  
I thought I had configured ntpd with upstream servers separately from  
ntp-client.

Stroller.



^ permalink raw reply	[flat|nested] 18+ messages in thread

end of thread, other threads:[~2009-02-16  9:40 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
2009-02-05 13:04     ` Stroller
2009-02-05 23:16       ` Iain Buchanan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox