[mdlug] Are you an April fool?

Robert Meier eaglecoach at wwnet.com
Wed Mar 7 23:21:40 EST 2007


R,

A few variations have been mentioned in the last week.

Problem: tzdata2007b.tar.gz is not available for download.
Solution: Download latest file, tzdata2007c.tar.gz as of 2007.03.07

Problem: zdump and/or zic may not be in your PATH.
Solution: Try prepending other directories.
	  bash> PATH=/usr/sbin:/sbin:$PATH zdump -v /etc/localtime | grep 2007

Problem: zdump may use an archive file instead of searching shared directory
Solution: Use path instead of timezone name.
	  bash> zdump -v /usr/share/zoneinfo/US/Eastern

Problem: /etc/localtime may be a copy rather than symlink
Solution: After updating timezone rules in /usr/share/zoneinfo,
	  copy or symlink correct timezone file to /etc/localtime.

Problem: zdump -v /usr/share/zoneinfo/US/Michigan shows no update
Solution: northamerica was organized by cities rather than states,
	  so America/Detroit is probably correct rather than US/Michigan.
	  Search for updated zones with
	  bash> grep Zone northamerica
	  Copy or symlink correct timezone, America/Detroit to /etc/localtime.
	  bash> zic -l America/Detroit



> ... downloaded tzdata2007c.tar.gz ... and extracted northamerica.

Well done.

> zic northamerica -l US/Michigan

Try bash> zic -l America/Detroit

> zdump still shows the same. Should I have to use different options to
> 'zic'?

First verify that you successfully updated the zoneinfo directory by
using zdump with the absolute pathname rather than just the timezone name.

bash> zdump /usr/share/zoneinfo/America/Detroit | grep 2007

Second make sure that you have copied or symlinked correct timezone file,
/usr/share/zoneinfo/America/Detroit to /etc/localtime .

bash> zdump /etc/localtime | grep 2007

Hopefully helpful,
-- 
Dr. Robert J. Meier



More information about the mdlug mailing list