[FS#3944] Octegon can't read timezone
OpenWrt Bugs
openwrt-bugs at lists.openwrt.org
Tue Jul 20 08:37:13 PDT 2021
THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.
A new Flyspray task has been opened. Details are below.
User who did this - flygarn12 (flygarn12)
Attached to Project - OpenWrt/LEDE Project
Summary - Octegon can't read timezone
Task Type - Bug Report
Category - Base system
Status - Unconfirmed
Assigned To -
Operating System - All
Severity - Low
Priority - Very Low
Reported Version - openwrt-21.02
Due in Version - Undecided
Due Date - Undecided
Details - EdgeRouter-4 21.02-snapshot-r16232-febf6db0d0 (and other Octegon devices as seen it the forum thread).
I can't get the EdgeRouter-4 to read the /etc/tz file. The file exist and I can read it from PuTTy. The /etc/tz changes to the correct time zone every time I in LuCi system settings change time zone.
I have also tried installing the Europe time zone package in hope for good luck but without any luck.
No matter what I do the system time in LuCi overview, date command and system log always show UTC time!? But the time in LuCi system time settings read the correct local time.
[[https://forum.openwrt.org/t/21-02-etc-tz-not-read/101768/9|Fault tread from the OpenWRT forum]]
root@[sanitized]:~# uci show system; readlink -f /etc/TZ
system. at system[0]=system
system. at system[0].ttylogin='0'
system. at system[0].urandom_seed='0'
system. at system[0].hostname='[sanitized]'
system. at system[0].description='[sanitized]'
system. at system[0].log_file='/Logs/system.log'
system. at system[0].log_size='640'
system. at system[0].log_proto='udp'
system. at system[0].conloglevel='8'
system. at system[0].cronloglevel='5'
system. at system[0].zonename='Europe/Stockholm'
system. at system[0].timezone='CET-1CEST,M3.5.0,M10.5.0/3'
system.ntp=timeserver
system.ntp.server='0.openwrt.pool.ntp.org' '1.openwrt.pool.ntp.org' '2.openwrt.pool.ntp.org' '3.openwrt.pool.ntp.org'
/tmp/TZ
root@[sanitized]:~#
root@[sanitized]:~# cat /etc/TZ
CET-1CEST,M3.5.0,M10.5.0/3
root@[sanitized]:~#
root@[sanitized]:~# cat /tmp/TZ
CET-1CEST,M3.5.0,M10.5.0/3
root@[sanitized]:~#
There have been some fault finding already pointing to a fault in the code?
[[https://forum.openwrt.org/t/edgerouter-lite-edgerouter-4-date-command-ignores-timezone-shows-utc/81776/28?u=flygarn12|External Link]]
More information can be found at the following URL:
https://bugs.openwrt.org/index.php?do=details&task_id=3944
You are receiving this message because you have requested it from the Flyspray bugtracking system. If you did not expect this message or don't want to receive mails in future, you can change your notification settings at the URL shown above.
More information about the openwrt-bugs
mailing list