Skip to contentSkip to conversation

UML - Deal with host time going backwards

PATCH [email protected] 1 participant 1 message Jun 3, 2008 User-mode Linux (UML)

lore
Share & tools
lore
#0 lore raw
Quoted 6 lines
Quoted 3 lines

Protection against the host's time going backwards - keep track of the time at the last tick and if it's greater than the current time, keep time stopped until the host catches up.

Strange. What would cause the host's time (or at least UML's perception of it) to go backwards?

mhh - what about admins/users stupidity ?

e.g.

0 * * * * root /usr/sbin/ntpdate some.time.server >/dev/null 2>&1

in root`s crontab.

if the hostss clock is running faster than clock on some.time.server, this would set hosts clock back in time every hour or so....

common malpractice regarding time-syncronization - have seen that more than once.
(and have to admit that i used that some years ago before i wasn`t aware that ntpd does handle that more intelligent)

_______________________________________________________________________
EINE FÜR ALLE: die kostenlose WEB.DE-Plattform für Freunde und Deine Homepage mit eigenem Namen. Jetzt starten! http://unddu.de/?kid=kid@mf2