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

Time drifts in dlite os #226

Open
arnested opened this issue Apr 11, 2017 · 1 comment
Open

Time drifts in dlite os #226

arnested opened this issue Apr 11, 2017 · 1 comment

Comments

@arnested
Copy link
Contributor

Bug Reports

dlite version:

2.0.0-beta9 (dlite-os version 1.0.0-beta3)

expected behavior:

The time should be kept in sync with the MacOS time also when the Mac has been in sleep mode.

actual behavior:

If you let your Mac sleep the time inside the dlite os will not be insync when the Mac comes back from sleep.

steps to reproduce

Start dlite. Put you Mac to sleep. Wake it up after a noticeable time and observe the time.

When you keep dlite running for days or weeks and you put your MacBook to sleep during nights or weekends the time will be increasingly more off.

Today (2017-04-11) the time in dlite was only at (2017-04-02). Containers inherit the date from dlite-os and I ran into problems (a container contacted a webservice but failed because it was presented with a TLS-certificate from "the future").

@danquah
Copy link

danquah commented Dec 13, 2018

For reference docker for mac fixed it by introducing a small ntp-client into the host-image docker/for-mac#2076 . A quick local hack is to run a privileged container to sync the host-clock https://hub.docker.com/r/eshork/docker-mac-chrony/

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

No branches or pull requests

2 participants