Time zone notes

From Brandonhutchinson.com

(Difference between revisions)
Jump to: navigation, search
(Linux)
Line 9: Line 9:
Q. The zoneinfo patch is just an update of regular files. So why do we need to reboot?
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.
+
* 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.

Revision as of 22:56, 28 March 2008

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