Zoneinfo File Update2007年03月06日 11時02分28秒

少々、昔の投稿だが、次の日曜日の 3 月 11 日から影響が出るので取り上げる。FreeBSD Errata Notice FreeBSD-EN-07:04.zoneinfo が告知された。

I.   Background

The tzsetup(8) program allows the user to specify the default local
timezone.  Based on the user's choice, tzsetup(8) copies one of the
files from /usr/share/zoneinfo to /etc/localtime.  This file actually
controls the conversion.
tzsetup にてローカルのタイムゾーンを設定出来る。

II.  Problem Description

In 2005 several governments, among them the United States of America and
Canada, decided to change when Daylight Savings Time begins and ends.
The change takes effect in 2007.  Because of that change the data in
the zoneinfo files needs to be updated, and if the computer's local
time zone is affected tzsetup(8) needs to be run so /etc/localtime
gets updated.

FreeBSD 6.1-RELEASE shipped with the correct zoneinfo files for the United
States time zones affected by the change made in 2005, but the zoneinfo
files for several other countries (e.g. Canada) do not contain current
information.
2005 年にアメリカやカナダを代表とする、いくつかの政府は夏時間の開始の時期を早めることを決定した。そのため、システムはこの変更時期の設定を更新する必要がある。 FreeBSD 6.1 には 2005 年の時点でアメリカの地区の変更は住んでいるが、カナダなどの他の国には対応していない。
III. Impact

If the /usr/share/zoneinfo files as well as /etc/localtime are not updated
on a computer that has its time zone set to one of the regions affected by
the change made in 2005 it will display the wrong time between March 15th
and April 1st, then again between October 28th and November 4th.  All things
on that computer that rely on the system time (e.g. cron jobs, timestamps
entered in log files, etc) will be affected.
/usr/share/zoneinfo と /etc/localtime が更新されないと、3 月 15 日から 4 月 1 日までの間と、10 月 28 日から 11 月 4 日の間の時刻が正しく扱われない。

Since the following is such a frequently asked question we will mention
the answer here.  Using an NTP server as the source of your system's
time will NOT automatically take care of the change in Daylight Savings
Time.  This patch should still be applied if you are in a region that
is affected.
次の質問は頻繁に聞かれるので、ここに追記する。NTP を使っても夏時間の変更は時動的には解決しない。影響を受ける地区であるのなら、パッチを当てる必要がある。

コメント

コメントをどうぞ

※メールアドレスとURLの入力は必須ではありません。 入力されたメールアドレスは記事に反映されず、ブログの管理者のみが参照できます。

※なお、送られたコメントはブログの管理者が確認するまで公開されません。

名前:
メールアドレス:
URL:
コメント:

トラックバック

このエントリのトラックバックURL: http://uyota.asablo.jp/blog/2007/03/06/1234762/tb

※なお、送られたトラックバックはブログの管理者が確認するまで公開されません。