Quantcast
Channel: Ubuntu Forums - Virtualisation
Viewing all articles
Browse latest Browse all 4211

Virtualized installation: Time has been changed in syslog. Two time sources?

$
0
0
I'm running ubuntu 15.10 server in Hyper-V and noticed that in my syslog I have entries like these:
Quote:

Mar 6 13:15:09 london systemd[1]: Time has been changed
Mar 6 13:15:09 london systemd[2174]: Time has been changed
Mar 6 13:15:04 london systemd[2174]: Time has been changed
Quote:

ar 6 14:32:41 france systemd[1]: Time has been changed
Mar 6 14:32:46 france systemd[1525]: Time has been changed
Mar 6 14:32:46 france systemd[1]: Time has been changed
Mar 6 14:32:51 france systemd[1525]: Time has been changed
Mar 6 14:32:51 france systemd[1]: Time has been changed
Mar 6 14:32:56 france systemd[1525]: Time has been changed
Mar 6 14:32:56 france systemd[1]: Time has been changed
Mar 6 14:33:01 france systemd[1525]: Time has been changed
Mar 6 14:33:01 france systemd[1]: Time has been changed
Mar 6 14:33:06 france systemd[1525]: Time has been changed
Mar 6 14:33:06 france systemd[1]: Time has been changed
Mar 6 14:33:11 france systemd[1525]: Time has been changed
Mar 6 14:33:11 france systemd[1]: Time has been changed
Mar 6 14:33:16 france systemd[1525]: Time has been changed
Mar 6 14:33:16 france systemd[1]: Time has been changed
Mar 6 14:33:21 france systemd[1525]: Time has been changed
I believe something might be wrong.
I think this might be happening because Linux updates the system time from a timeserver and also receives the time from the host OS(Windows)/Hyper-V.

I have installed the linux-cloud-tools-common and linux-cloud-tools-virtual packges.

I already tried disabling the NTP timeservices with the following commands:
sudo update-rc.d -f ntp remove
sudo timedatectl set-ntp 0

Is this indeed an error where the system gets the time from two sources? If so how can I prevent this? I believe best practises are to only use the host OS time and date.

Viewing all articles
Browse latest Browse all 4211

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>