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

Clock Delayed #863

Closed
rotemgb opened this issue Mar 5, 2020 · 9 comments
Closed

Clock Delayed #863

rotemgb opened this issue Mar 5, 2020 · 9 comments

Comments

@rotemgb
Copy link

rotemgb commented Mar 5, 2020

Distribution (run cat /etc/os-release):

NAME="Pop!_OS"
VERSION="19.10"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Pop!_OS 19.10"
VERSION_ID="19.10"
HOME_URL="https://system76.com/pop"
SUPPORT_URL="http://support.system76.com"
BUG_REPORT_URL="https://github.com/pop-os/pop/issues"
PRIVACY_POLICY_URL="https://system76.com/privacy"
VERSION_CODENAME=eoan
UBUNTU_CODENAME=eoan
LOGO=distributor-logo-pop-os

Issue/Bug Description:
The clock is delayed. The time shows is 12:41 while the actual time is 13:11.
Screenshot from 2020-03-05 12-41-44

This happens even after manually setting the time on the clock. I am not able to choose the option of Automatic Date & Time for some reason.

Expected behavior:
Should show me the right time.

@isantop
Copy link
Contributor

isantop commented Mar 6, 2020

What happens when you attempt to enable the automatic time? Is the option disabled, preventing you from clicking on it, or does the switch move, but there is no change to the time?

@rotemgb
Copy link
Author

rotemgb commented Mar 6, 2020

I can click on the switch to enable automatic time, but it is being disabled on it's own.
Peek 2020-03-06 14-35

@isantop
Copy link
Contributor

isantop commented Mar 9, 2020

And you do have a good internet connection on this machine, right?

What are you getting as output from these commands:

systemctl status systemd-timesyncd
cat /etc/systemd/timesyncd.conf
timedatectl 
timdatectl timesync-status

@rotemgb
Copy link
Author

rotemgb commented Mar 10, 2020

Yes, I have a dell xps 15 7590 with a good internet connection.

$ systemctl status systemd-timesyncd
● systemd-timesyncd.service - Network Time Synchronization
Loaded: loaded (/lib/systemd/system/systemd-timesyncd.service; disabled; vend
Drop-In: /usr/lib/systemd/system/systemd-timesyncd.service.d
└─disable-with-time-daemon.conf
Active: inactive (dead)
Docs: man:systemd-timesyncd.service(8)

$ cat /etc/systemd/timesyncd.conf

This file is part of systemd.
systemd is free software; you can redistribute it and/or modify it
under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation; either version 2.1 of the License, or
(at your option) any later version.
Entries in this file show the compile time defaults.
You can change settings by editing this file.
Defaults can be restored by simply deleting this file.
See timesyncd.conf(5) for details.

[Time]
NTP=
FallbackNTP=ntp.ubuntu.com
RootDistanceMaxSec=5
PollIntervalMinSec=32
PollIntervalMaxSec=2048

$ timedatectl
Local time: Mon 2020-03-09 19:41:25 PDT
Universal time: Tue 2020-03-10 02:41:25 UTC
RTC time: Tue 2020-03-10 02:42:01
Time zone: America/Vancouver (PDT, -0700)
System clock synchronized: no
NTP service: inactive
RTC in local TZ: no

$ timedatectl timesync-status
Failed to query server: Unit dbus-org.freedesktop.timesync1.service not found.

@rotemgb
Copy link
Author

rotemgb commented Mar 10, 2020

I just noticed that the clock is not delaying right now. I am wondering if this is a NordVPN issue. Even though I disabled it because I thought it might be the problem, I still had issues. But since I restarted it (again) it works fine now.

Can you see a reason why I still can't use the Automatic Date & Time option?

Thank you :)

@rotemgb
Copy link
Author

rotemgb commented Mar 19, 2020

Ok.. so I think the clock delaying problem is a Pop-Os one. I haven't touched NordVPN in 9 days and my clock is delaying again. I was almost late to work because of it!

Any suggestion?

@isantop
Copy link
Contributor

isantop commented Mar 19, 2020

What do you get if you attempt to run this:

sudo systemctl start systemd-timesyncd

@rotemgb
Copy link
Author

rotemgb commented Mar 21, 2020

I don't get any result for this command.

@rotemgb
Copy link
Author

rotemgb commented Mar 27, 2020

Apparently this is a VirtulBox issue. Thank you for your help :)

Edit:
In case anyone get the same problem and while running systemctl status systemd-timesyncd you get
● systemd-timesyncd.service - Network Time Synchronization Loaded: loaded (/lib/systemd/system/systemd-timesyncd.service; enabled; vendor preset: enabled) Drop-In: /usr/lib/systemd/system/systemd-timesyncd.service.d └─disable-with-time-daemon.conf Active: inactive (dead) Condition: start condition failed at Fri 2020-03-27 12:41:29 PDT; 5s ago └─ ConditionFileIsExecutable=!/usr/sbin/VBoxService was not met Docs: man:systemd-timesyncd.service(8)
Comment ConditionFileIsExecutable=!/usr/sbin/VBoxService in file /lib/systemd/system/systemd-timesyncd.service.d/disable-with-time-daemon.conf and then:

sudo systemctl daemon-reload
sudo systemctl start systemd-timesyncd

@rotemgb rotemgb closed this as completed Mar 27, 2020
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