Hello!

On Sun, 06 Sep 2015 at 18:02:23 (+0200), Mykola Dzham wrote:

> >> http://wiki2.dovecot.org/TimeMovedBackwards

> >>> You're running ntpdate periodically. This isn't a good idea.
> >>> Use ntpd. It periodically checks the current time from NTP server and 
> >>> slows down or speeds up the clock if necessary. Unlike ntpdate, it 
> >>> doesn't just move the time forwards or backwards (unless the difference 
> >>> is large).

> > ntpdate, насколько я понимаю, тоже умеет подгонять время без резких
> > движений (-B).

> Ну только это не надо: функция rc.d/ntpdate как раз в том, чтобы резко 
> поставить время в нужное
> настолько рано, насколько это возможно - после NETWORKING, чтобы остальные 
> сервиса
> уже запускались с правильным временем. И дальше уже пусть ntpd держит время в 
> порядке,
> ускоряя или замедляя таймер.

man ntpdate:
     -b      Force the time to be stepped using the settimeofday(2) system 
call, rather than
             slewed (default) using the adjtime(2) system call.  This option 
should be used when
             called from a startup file at boot time.

зы: не понял выпада...

-- 
George L. Yermulnik
[YZ-RIPE]

Ответить