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

timedatectl NTP service not working #4

Open
unrealex opened this issue May 11, 2024 · 2 comments
Open

timedatectl NTP service not working #4

unrealex opened this issue May 11, 2024 · 2 comments

Comments

@unrealex
Copy link

Its working in Rockpi 4 b.

The timedate sync is not working.

After running -> journalctl --unit=systemd-timesyncd.service
Got the following:
systemd-timesyncd.service - Network Time Synchronization was skipped because of an unmet condition check (ConditionVirtualization=!container).

edited /etc/systemd/system/dbus-org.freedesktop.timesync1.service
-ConditionVirtualization=!container
+ConditionVirtualization=container

Time sync is working. Dont know if a better solution is available.

PS: Thanks for your hard work.

@unrealex unrealex changed the title timedatectl NTP service error timedatectl NTP service not working May 11, 2024
@XarlesEHeat
Copy link

Solved it using Sudo date -s "HH:MM:SS"
and
sudo date -s "YYYY:MM:DD"

just change letters with the current date and good to go

@unrealex
Copy link
Author

unrealex commented Nov 5, 2024

Thank you!

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