Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Time resets on reboot #304
Comments
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Show comment Hide comment|
Android already supports NTP as a fallback. |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Show comment Hide comment|
Which device are you using? |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Show comment Hide comment
agardener
Jun 11, 2016
Nexus 5. My device does not appear to be making ntp calls, on reboot, or even after leaving the device online all day. Is there a ntp config exposed in anyway?
agardener
commented
Jun 11, 2016
|
Nexus 5. My device does not appear to be making ntp calls, on reboot, or even after leaving the device online all day. Is there a ntp config exposed in anyway? |
thestinger
added
the
Nexus 5
label
Jun 11, 2016
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Show comment Hide comment
thestinger
Jun 11, 2016
Contributor
There's no NTP configuration, as it's supposed to work out-of-the-box.
However, the time is also supposed to be preserved between reboots... which happens to be broken on the Nexus 5 for some reason. The Nexus 5 is considered deprecated so it won't be getting attention for device-specific bugs.
Identifying why NTP isn't correcting the time makes sense but it might simply be on a long delay.
|
There's no NTP configuration, as it's supposed to work out-of-the-box. However, the time is also supposed to be preserved between reboots... which happens to be broken on the Nexus 5 for some reason. The Nexus 5 is considered deprecated so it won't be getting attention for device-specific bugs. Identifying why NTP isn't correcting the time makes sense but it might simply be on a long delay. |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Show comment Hide comment|
The default polling interval appears to be once every 24 hours. |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Show comment Hide comment
agardener
Jun 11, 2016
Ive left the device on for an entire day and it does not correct the time. Unfortunate that I can not use the OS with out being subscribed to some service. I guess I should just throw this thing in the garbage. Thanks for your help.
agardener
commented
Jun 11, 2016
|
Ive left the device on for an entire day and it does not correct the time. Unfortunate that I can not use the OS with out being subscribed to some service. I guess I should just throw this thing in the garbage. Thanks for your help. |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Show comment Hide comment
agardener
commented
Jun 11, 2016
|
24hrs seems kinda weak no? |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Show comment Hide comment
thestinger
Jun 11, 2016
Contributor
It's only supposed to be correcting clock drift. The Nexus 5 RTC not working is a separate issue from NTP, and might have to do with something like the driver package provided by Google being incomplete. It doesn't occur on the Nexus 9, 5X or 6P. Someone is welcome to work on it and we'll take patches for it but we no longer consider issues specific to the Nexus 5 to be in-scope beyond that.
|
It's only supposed to be correcting clock drift. The Nexus 5 RTC not working is a separate issue from NTP, and might have to do with something like the driver package provided by Google being incomplete. It doesn't occur on the Nexus 9, 5X or 6P. Someone is welcome to work on it and we'll take patches for it but we no longer consider issues specific to the Nexus 5 to be in-scope beyond that. |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Show comment Hide comment
agardener
commented
Jun 11, 2016
|
okay |
agardener commentedJun 11, 2016
I do not have GSM networks available to myself. This means every time I reboot the device my time resets to an unusable date/time. This causes most applications that require ssl/tls to fail. Can you create some sort of stable time source? I see you take some ideas from openbsd... If possible Id like to suggest using opennptd. https://github.com/openntpd-portable/openntpd-portable
It allows for setting https based time constraints which may provide extra security against udp time drift attacks.
If this is out of the scope of the project please let me know, I need to find an OS with stable time.
Cheers!