Mik*_*e B 2 linux ntp centos time-synchronization
显然,IERS 宣布了闰秒的截止日期为今年 6 月 30 日午夜。
CentOS/RHEL 5.4 是否正确更新以支持/过渡更新的 NTP 系统?我的印象是它需要更新的 tzdata 包,但不确定。
我检查了 tzdata 包的更改日志并注意到以下内容:
* Tue Feb 27 2007 Petr Machata <pmachata@redhat.com> - 2007c-1
- Upstream 2007c
- Pulaski County, Indiana, switched back to eastern time.
- Turkey switches at 01:00 standard time, not at 01:00 UTC.
- Upstream 2007b
- Changes to the commentary in "leapseconds".
- Resolves: #230089
* Tue Aug 22 2006 Petr Machata <pmachata@redhat.com> - 2006j-1
- Upstream 2006j
- Honduras stopped observing DST on Monday at 00:00
- America/Bermuda will follow the US's lead next year
- America/Moncton will use US-style rules next year
- New Zone America/Blanc-Sablon, for Canadians who observe AST all
year
- New zone: America/Atikokan instead of America/Coral_Harbour
- New zones: Europe/Jersey, Europe/Guernsey, Europe/Isle_of_Man
- Historical changes
- Commentary updates
- Upstream 2006i
- localtime.c fixes
- Upstream 2006h
- zic leapsecond fix
Run Code Online (Sandbox Code Playgroud)
“zic 闰秒修复”是否相关?
您可以使用 zdump 命令验证是否已应用给定的闰秒更新。在 CentOS 上,这是
/usr/sbin/zdump -v right/UTC
Run Code Online (Sandbox Code Playgroud)
您正在寻找类似于以下内容的行:
right/UTC Sat Jun 30 23:59:60 2012 UTC = Sat Jun 30 23:59:60 2012 UTC isdst=0 gmtoff=0
Run Code Online (Sandbox Code Playgroud)
这应该在 tzdata 包的变更日志中提到:
rpm -q --changelog tzdata | less
Run Code Online (Sandbox Code Playgroud)
在打补丁很差的 CentOS 5.7 机器上,我没有找到这个更新。在当前的 Ubuntu 11.10 和 Debian 挤压盒上,我找到了它。天啊。
有关更多信息(来自 Debian PoV,但它应该主要适用于 CentOS):http : //lists.debian.org/debian-user/2005/12/msg03343.html
| 归档时间: |
|
| 查看次数: |
5213 次 |
| 最近记录: |