Time zone notes

From Brandonhutchinson.com

(Difference between revisions)
Jump to: navigation, search
(New page: == Linux == * After updating ''tzdata'' on a RHEL 2.1 AS system, ''/etc/localtime'' may have to be recreated if it was a hard link or copy of an out-of-date time zone data file. See this ...)
Current revision (23:05, 28 March 2008) (edit) (undo)
 
(8 intermediate revisions not shown.)
Line 1: Line 1:
== Linux ==
== Linux ==
-
* After updating ''tzdata'' on a RHEL 2.1 AS system, ''/etc/localtime'' may have to be recreated if it was a hard link or copy of an out-of-date time zone data file. See this [http://kbase.redhat.com/faq/FAQ_61_9647.shtm Red Hat Knowledgebase] page.
+
* After updating ''tzdata'' on a RHEL 2.1 AS system, ''/etc/localtime'' may have to be recreated if it was a hard link or copy of an out-of-date time zone data file. See this [http://kbase.redhat.com/faq/FAQ_61_9647.shtm Red Hat Knowledgebase] page. e.g.,
# '''ln -sf /usr/share/zoneinfo/Australia/Sydney /etc/localtime'''
# '''ln -sf /usr/share/zoneinfo/Australia/Sydney /etc/localtime'''
 +
 +
== Solaris ==
 +
 +
* From [http://www.sun.com/bigadmin/hubs/dst/faq/#QcSw DST: Daylight Saving Time Changes (2007)]:
 +
Q. The zoneinfo patch is just an update of regular files. So why do we need to reboot?
 +
 +
Reboot is the only way to ensure that all applications running on the systems reread zoneinfo files. Zoneinfo database is once read in processes/applications and is never reread. The only way to let them reread new zoneinfo files is to restart the application/processes.

Current revision

Linux

  • After updating tzdata on a RHEL 2.1 AS system, /etc/localtime may have to be recreated if it was a hard link or copy of an out-of-date time zone data file. See this Red Hat Knowledgebase page. e.g.,
# ln -sf /usr/share/zoneinfo/Australia/Sydney /etc/localtime

Solaris

Q. The zoneinfo patch is just an update of regular files. So why do we need to reboot?

Reboot is the only way to ensure that all applications running on the systems reread zoneinfo files. Zoneinfo database is once read in processes/applications and is never reread. The only way to let them reread new zoneinfo files is to restart the application/processes.

Personal tools