time zone isn't set
Hannu Nyman
hannu.nyman at iki.fi
Mon Oct 19 12:01:56 EDT 2020
e9hack kirjoitti 19.10.2020 klo 18.28:
> after commit 1f5f599d0ea434820e06fd540ecbc9c7f15399b4 (zoneinfo: Updated to the latest release) time zone isn't set.
> Before this commit:
> root at openwrt:~# date +"%Z %z"
> CEST +0200
>
> After this commit:
> root at openwrt:~# date +"%Z %z"
> +0000
>
> The localtime link is set properly:
> root at openwrt:~# ls -l /tmp/localtime
> lrwxrwxrwx 1 root root 33 Oct 19 06:37 /tmp/localtime -> /usr/share/zoneinfo/Europe/Berlin
Could it be that the zoneinfo format has changed so that musl is not
compatible any more?
I suspect this:
http://mm.icann.org/pipermail/tz-announce/2020-October/000059.html
Changes to build procedure
The Makefile now defaults POSIXRULES to '-', so the posixrules
feature (obsolete as of 2019b) is no longer installed by default.
The last zoneinfo version bump was really simple (like always), but possibly
the internal format has changed so that musl libc isn't able to read it any more.
Possibly musl uses that posixrules item to read zoneinfo?
Reference also to discussions at
https://forum.openwrt.org/t/timezone-etc-tz-not-updated-correctly/77002
and
https://github.com/openwrt/packages/pull/13644
More information about the openwrt-devel
mailing list