Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FS#3944 - Octegon can't read timezone #8941

Open
openwrt-bot opened this issue Jul 20, 2021 · 2 comments
Open

FS#3944 - Octegon can't read timezone #8941

openwrt-bot opened this issue Jul 20, 2021 · 2 comments
Labels
flyspray release/21.02

Comments

@openwrt-bot
Copy link

@openwrt-bot openwrt-bot commented Jul 20, 2021

flygarn12:

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.@system[0]=system system.@system[0].ttylogin='0' system.@system[0].urandom_seed='0' system.@system[0].hostname='[sanitized]' system.@system[0].description='[sanitized]' system.@system[0].log_file='/Logs/system.log' system.@system[0].log_size='640' system.@system[0].log_proto='udp' system.@system[0].conloglevel='8' system.@system[0].cronloglevel='5' system.@system[0].zonename='Europe/Stockholm' system.@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]]

@openwrt-bot
Copy link
Author

@openwrt-bot openwrt-bot commented Nov 11, 2021

teppot:

I have this problem too on OpenWrt 21.02.1 r16325-88151b8303. The information here seems relevant:

https://forum.openwrt.org/t/edgerouter-lite-edgerouter-4-date-command-ignores-timezone-shows-utc/81776/28

Could someone please take a look?

@aparcar aparcar added the release/21.02 label Feb 22, 2022
@glyndon
Copy link

@glyndon glyndon commented Apr 24, 2022

This report may be languishing because of the typo in the headline ('Octegon' instead of 'Octeon').
This may be preventing the bots from alerting the relevant contributor(s).
Editing the subject line may cause it to get to the attention of the proper person(s).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
flyspray release/21.02
Projects
None yet
Development

No branches or pull requests

3 participants