1 Jan
2012
1 Jan
'12
12:10 a.m.
On Sat, Dec 31, 2011 at 9:53 PM, Leonid Isaev <lisaev@umail.iu.edu> wrote:
A problem though: I get a failure while setting timezone on a ro root with /etc/localtime symlinked to /usr/share/zoneinfo/America/Chicago, which seems to be caused by this: $ grep zoneinfo /etc/rc.d/functions -m1 local tz=$1 zonefile=/usr/share/zoneinfo/$tz
so $zonefile is only /usr/share/zoneinfo instead of /usr/share/zoneinfo/America/Chicago. Later set_timezone() attempts to force-symlink /etc/localtime and fails of course. The fix is to replace the above stanza with: local tz=$1 local zonefile=/usr/share/zoneinfo/$tz
You are absolutely right. Fixed in git. Thanks for reporting!
Happy New Year!
Happy New Year! Cheers, Tom