I asked this question in general StackOverflow but, the question belongs on this forum. Hoping for a resolution, thank you for helping:
Dual booting Ubuntu 18.10 and Windows. To prevent hardware clock conflicts, I have Ubuntu 18.10 using the local time. I have set
timedatectl set-local-rtc 1 --adjust-system-clock
this only partially solves the issue since, Ubuntu will not update/sync the hardware clock at all.
timedatectl Local time: Fri 2019-03-08 17:49:57 EST Universal time: Fri 2019-03-08 22:49:57 UTC RTC time: Fri 2019-03-08 17:49:49 Time zone: America/Toronto (EST, -0500) System clock synchronized: no NTP service: active RTC in local TZ: yes Warning: The system is configured to read the RTC time in the local time zone. This mode cannot be fully supported. It will create various problems with time zone changes and daylight saving time adjustments. The RTC time is never updated, it relies on external facilities to maintain it. If at all possible, use RTC in UTC by calling 'timedatectl set-local-rtc 0'.
This causes two issues. 1) When running a virtual machine to compile c++; get a clock skrew warning when the clocks are not synchronized (using a shared folder). The VM has this issue less frequently, now that it uses NTP, but my hardware clock will only sync when in Windows (using the same time server as the VM).
2) Security Audit software such as Lynis prefer to have an NTP daemon or, NTP client, running.
Is there a way to get Ubuntu to synchronize the hardware clock to the local time? so that it does not conflict with Windows but, does not cause other anomalies. If not with the default time-sync package, a different package?
I use Linux on a daily bases, finishing a computer science degree however, still use Windows for some tasks/apps and, entertainment so, I would like both to peacefully share the hardware clock with no anomalies.