Hello,
I have a new GNU/Linux installation sharing an UML installation.
(User Mode Linux is a virtualisation technology that allows multiple
Linuxes to run on a single physical system.)
I'd like to run ntpd on this UML system.
After giving ntp.conf some pool servers to use, I noticed that the
time seemed to drift, and I started to get "time reset" /
"synchronisation lost" messages in my syslog. Also interesting is
that ntp.drift read 500 after one day's operation and did not change.
I am guessing there is a fight for syncronisation between the host and
guest.
Having a look on Google, it seems that guest operating systems derive
their time from the UML host. This seems a bit odd, because you can
actually set the (software) clock using "date --set" in the guest OS.
(Perhaps the time is slewed back to the host's idea of time... I
wonder...)
So I figured that if the host keeps the guest in timesync, I would
just have to set ntpd to use the local clock as a reference driver. I
inserted these lines into /etc/ntp.conf:
server 127.127.1.1
fudge 127.127.1.1 stratum 4
This seems to work, but I wonder if this is correct...
My questions are thus:
1) Any comments on the UML situation?
2) Assuming the host was guaranteed to keep good time, is using a
local refclock the appropriate solution?
3) is a UML setup acceptable as a pool server?
4) is anyone else doing something similar?
Comments?
Paul.
_______________________________________________
timekeepers mailing list
[email protected]
https://fortytwo.ch/mailman/cgi-bin/listinfo/timekeepers