[arch-general] [arch-dev-public] [RFC] new manpages

Tom Gundersen teg at jklm.no
Sat Dec 31 19:10:09 EST 2011


On Sat, Dec 31, 2011 at 9:53 PM, Leonid Isaev <lisaev at 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


More information about the arch-general mailing list