Time resets on reboot #304

Closed
agardener opened this Issue Jun 11, 2016 · 9 comments

Comments

Projects
None yet
2 participants
@agardener

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!

@thestinger

This comment has been minimized.

Show comment Hide comment
@thestinger

thestinger Jun 11, 2016

Contributor

Android already supports NTP as a fallback.

Contributor

thestinger commented Jun 11, 2016

Android already supports NTP as a fallback.

@thestinger

This comment has been minimized.

Show comment Hide comment
@thestinger

thestinger Jun 11, 2016

Contributor

Which device are you using?

Contributor

thestinger commented Jun 11, 2016

Which device are you using?

@agardener

This comment has been minimized.

Show comment Hide comment
@agardener

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?

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 thestinger added the Nexus 5 label Jun 11, 2016

@thestinger

This comment has been minimized.

Show comment Hide comment
@thestinger

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.

Contributor

thestinger commented Jun 11, 2016

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.

@thestinger

This comment has been minimized.

Show comment Hide comment
@thestinger

thestinger Jun 11, 2016

Contributor

The default polling interval appears to be once every 24 hours.

Contributor

thestinger commented Jun 11, 2016

The default polling interval appears to be once every 24 hours.

@agardener

This comment has been minimized.

Show comment Hide comment
@agardener

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.

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

This comment has been minimized.

Show comment Hide comment
@agardener

agardener Jun 11, 2016

24hrs seems kinda weak no?

24hrs seems kinda weak no?

@thestinger

This comment has been minimized.

Show comment Hide comment
@thestinger

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.

Contributor

thestinger commented Jun 11, 2016

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.

@agardener

This comment has been minimized.

Show comment Hide comment
@agardener

agardener Jun 11, 2016

okay

okay

@agardener agardener closed this Jun 11, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment