> you need /usr/local/go/lib/time/zoneinfo.zip. time.LoadLocation is using
> it. Also /usr/local/go/lib/time/ has a script to refresh timezones.
It turns out that copying /etc/localtime into the chroot was enough.
Thanks to the person who helped me by private mail (he'll know who he
is).
-- Juli
you need /usr/local/go/lib/time/zoneinfo.zip. time.LoadLocation is using
it. Also /usr/local/go/lib/time/ has a script to refresh timezones.
On Monday, October 23, 2017 at 6:11:15 AM UTC-4, Juliusz Chroboczek wrote:
>
> Hi,
>
> I'm running a statically linked (CGO_ENABLED=0) Go network server in
>
> I'm running a statically linked (CGO_ENABLED=0) Go network server in
> a chroot under Linux. The chroot is completely empty (except for the
> server's data files), yet, to my surprise, the only issue I'm seeing is
> that the timezone is wrong.
> 1. Which file(s) do I copy into the chroo