- 论坛徽章:
- 0
|
因为一些工作的需要,在测试109809-02 澳大利亚时区补丁 ""SunOS 5.8: timezone data patch for Australasia"
但是好像我的方法不是太对,有没有人可以给些建议?
我的步骤是
1. 打补丁,打补丁之前的时区是US/Michigan
2. 修改 /etc/TIMEZONE
TZ=Australia/Victoria
CMASK=022
3. 重起 Solaris,
%sudo init 6
4. 将当前系统时间修改为 "Sun Apr 2 02:55:00 EST 2006"
%sudo date 0402025506
5. 根据我在网上查到的,澳洲的夏令时将在4月2号3点结束
http://www.timeanddate.com/worldclock/clockchange.html?n=240,
When local daylight time is about to reach
Sunday, April 2, 2006 at 3:00:00 AM clocks are turned backward 1 hour to
Sunday, April 2, 2006 at 2:00:00 AM local standard time instead
6. 但是当我等到4月2号3点时,似乎始终没有自动往前移
% sudo date 0402025506
Sun Apr 2 02:55:00 EST 2006
% date
Sun Apr 2 02:57:59 EST 2006
% date
Sun Apr 2 02:59:49 EST 2006
% date
Sun Apr 2 02:59:56 EST 2006
% date
Sun Apr 2 02:59:59 EST 2006
% date
Sun Apr 2 03:00:00 EST 2006
% date
Sun Apr 2 03:00:02 EST 2006
% date
Sun Apr 2 03:00:04 EST 2006
% date
Sun Apr 2 03:13:19 EST 2006
在 /opt/sun_install/installPatches8.log. 可以观察到补丁已经成功打上
inflating: 109809-02/SUNWcsu/reloc/usr/share/lib/zoneinfo/src/systemv
inflating: 109809-02/README.109809-02
inflating: 109809-02/LEGAL_LICENSE.TXT
Extraction of patch 109809-02 successful
Installing 109809-02 ...
Checking installed patches...
Verifying sufficient filesystem capacity (dry run method)...
Installing patch packages...
Patch number 109809-02 has been successfully installed.
See /var/sadm/patch/109809-02/log for details
Patch packages installed:
SUNWcsu
Installation of patch 109809-02 successful
*** InstallPatches8 ends Tue Feb 21 06:19:40 EST 2006 ***
% showrev -p | grep 109809-02
Patch: 109809-02 Obsoletes: Requires: Incompatibles: Packages: SUNWcsu |
|