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

WSL2: clock drift on suspend/resume #4179

Closed
simonferquel opened this issue Jun 18, 2019 · 3 comments
Closed

WSL2: clock drift on suspend/resume #4179

simonferquel opened this issue Jun 18, 2019 · 3 comments

Comments

@simonferquel
Copy link

Please fill out the below information:

  • Your Windows build number: (Type ver at a Windows Command Prompt)
    Microsoft Windows [Version 10.0.18917.1000]
  • What you're doing and what's happening:
    Yesterday evening, I closed my laptop lid with an active WSL2 terminal. I don't know if it went to hybernation or just on suspend mode, but this morning, I got a very big clock drift between WSL and my host:
    from WSL:
simon@simonxps:~$ date
Mon Jun 17 19:06:58 CEST 2019

from Powershell:

C:\Users\simon> get-date

Tuesday, June 18, 2019 9:59:33 AM

It does not recover by itself

  • What's wrong / what should be happening instead:

Clock drift can be very nasty for running distributed systems. It is also particularly annoying for things relying on file modification timestamp. WSL should keep clocks in sync.

@simonferquel
Copy link
Author

After wsl --shutdown, clock drift expectedly disappears

@Biswa96
Copy link

Biswa96 commented Jun 18, 2019

Seems to be similar with #4149.

@therealkenc
Copy link
Collaborator

Landing zone #4114

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

No branches or pull requests

3 participants