[Comm] Branch 4.1 - не работает синхронизация времени?

Владимир Гусев =?iso-8859-1?q?vova1971_=CE=C1_narod=2Eru?=
Ср Июн 18 17:25:30 MSD 2008


> > Раньше без openntpd было лучше и все
> > работало..
> 
> 	И раньше был именно openntpd:
> rpm -qf /etc/rc.d/init.d/ntpd
> openntpd-3.9p1-alt8


Еще раньше, в 3.0. В 4-й ветке я как-то не обращал внимания на это,
пока расхождение по времени не стало заметным.. Как копнул - так сразу
и обнаружил, что, оказывается, ничего не работает...

> service ntpd status
> ntpd is running
> 
> А еще в /etc/sysconfig/clock у меня
> 
> # Whether Hardware Clock should be set to system time
> # at reboot/halt/poweroff.
> HWCLOCK_SET_AT_HALT=true
> 
> 	По умолчанию было false, но мне кажется в таком виде от ntpd
> толку никакого и он выполняет только роль погремушки для времени в
> системном трэе. До первой перезагрузки или выключения.
> 	Мне кажется что ntpd должен делать еще и service clock sync,
> либо садить это в крон, иначе его работа сводится к нулю.

У меня по умолчанию такое:

[root на book ~]# cat /etc/sysconfig/clock
# Whether Hardware Clock should be set to system time
# at reboot/halt/poweroff.
HWCLOCK_SET_AT_HALT=false

# Whether to add or subtract time from the Hardware Clock
# at startup to account for systematic drift since the
# last time the clock was set or adjusted at startup.
HWCLOCK_ADJUST=false

# UTC=true indicates that the clock is set to UTC;
# anything else indicates that it is set to local time.
UTC=true

# ARC=true on alpha only indicates the ARC console's
# 42-year time offset is in effect; otherwise the normal
# Unix epoch is assumed.
#ARC=false

# ZONE="filename" indicates the zonefile under /usr/share/zoneinfo
# that /etc/localtime is a copy of, for example:
ZONE="Europe/Moscow"

# FAST=true run hwclock with the --fast option.
#FAST=false


-- 
С уважением,
Владимир Гусев



Подробная информация о списке рассылки community