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 - Octeon can't read timezone #8941

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

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

openwrt-bot opened this issue Jul 20, 2021 · 7 comments
Labels
flyspray release/21.02 pull request/issue targeted (also) for OpenWrt 21.02 release

Comments

@openwrt-bot
Copy link

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

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 pull request/issue targeted (also) for OpenWrt 21.02 release label Feb 22, 2022
@glyndon
Copy link

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).

@glyndon
Copy link

glyndon commented Jul 19, 2022

I posted this issue again using a modified title, hoping to get the bots to alert the relevant maintainer. A year seems unusually long for no one to have picked it up - perhaps they don't see it due to the name?

@jow- jow- changed the title FS#3944 - Octegon can't read timezone FS#3944 - Octeon can't read timezone Jul 19, 2022
@user8446
Copy link

Just adding that this bug is also on an Itus Networks Shield device which is Octeon as well - same architecture. Currently on OpenWrt v21.02.3

@teppot
Copy link

teppot commented Sep 4, 2022

This seems to be fixed on OpenWrt 22.03.0 r19685-512e76967f. My system time is displayed in the local time zone now.

@user8446
Copy link

user8446 commented Sep 4, 2022

Great news... 22.03.0 release is building now so I'll test shortly as well

@user8446
Copy link

user8446 commented Sep 5, 2022

Timezones confirmed working on v22.03.0 also!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
flyspray release/21.02 pull request/issue targeted (also) for OpenWrt 21.02 release
Projects
None yet
Development

No branches or pull requests

5 participants