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

Re: TODO for etch ?

On Mon, Jun 20, 2005 at 07:22:08PM +0100, Darren Salt wrote:
> I demand that Florian Weimer may or may not have written...
> > * Olaf van der Spek:
> >>> You should set the clock using NTP *before* starting any daemons. Most
> >>> daemons don't use monotonic clocks (I'm not even sure if Linux supports
> >>> them at the required level), and some of them fail in strange ways if the
> >>> system clock warps.
> >> Doesn't Linux or NTP support gradually changing the clock exactly to avoid
> >> such warps?
> > Gradually skewing the clock doesn't exactly work that well if the offset
> > exceeds a few minutes.  You don't want to run with a wrong clock for hours
> > or even days.
> Maybe ntp, ntpdate etc. should recommend adjtimex?

adjtimex is pretty near useless and should not be used. It can make
things worse rather than better, especially with the clocks in modern
boxes (which are grossly inaccurate).

Under *no circumstances* should adjtimex be used at the same time as
ntpd. The clock will jitter all over the place because they won't
agree and will keep slewing it in opposition to each other.

  .''`.  ** Debian GNU/Linux ** | Andrew Suffield
 : :' :  http://www.debian.org/ |
 `. `'                          |
   `-             -><-          |

Attachment: signature.asc
Description: Digital signature

Reply to: