← Back to team overview

kernel-packages team mailing list archive

Re: [Bug 1157914] Re: time never catches up to reality after VM sleep

 

On Mar 11, 2014, at 08:31 PM, Neil Wilson wrote:

>Can you check you VMWare settings for the virtual machine and check that
>'synchronise time' is checked in the Advanced Section.

Yes, that is checked.

>Also do you have the 'open-vm-tools' installed (i.e. is vmtoolsd running
>which is what does the time sync to the Host every 60 seconds).

Ah, I do not have open-vm-tools installed.  I recall way back in the past that
installing this caused several display problems, so I removed it and never
noticed a problem.  I should re-install it and see if it fixes the issue
without causing other problems.

(I've verified that installing ntp also "fixes" the problem, but you need to
add "tinker panic 0" to /etc/ntp.conf otherwise if your VM is suspended for a
long time, ntp will refuse to synchronize.)

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1157914

Title:
  time never catches up to reality after VM sleep

Status in “linux” package in Ubuntu:
  Incomplete

Bug description:
  When I run Ubuntu in a VM, then sleep the VM for a little while, I
  expect time to eventually catch up to reality, because I have "Set the
  time ... Automatically from the Internet".  However, time never does
  catch up.

  I can trigger a catch up by toggling the datetime indicator to
  "Manually", wait a little bit, then toggle back to "Automatically from
  the Internet".  I may have to do this a couple of times to fix the
  time.

  This tells me that it's not a problem with the VM environment
  specifically, but a problem with coordinating time over the internet.

  ProblemType: Bug
  DistroRelease: Ubuntu 13.04
  Package: indicator-datetime 12.10.3daily13.03.07-0ubuntu1
  ProcVersionSignature: Ubuntu 3.8.0-12.21-generic 3.8.2
  Uname: Linux 3.8.0-12-generic x86_64
  ApportVersion: 2.9.1-0ubuntu1
  Architecture: amd64
  Date: Wed Mar 20 11:47:01 2013
  EcryptfsInUse: Yes
  ExecutablePath: /usr/lib/x86_64-linux-gnu/indicator-datetime-service
  InstallationDate: Installed on 2012-12-26 (84 days ago)
  InstallationMedia: Ubuntu 13.04 "Raring Ringtail" - Alpha amd64 (20121225)
  MarkForUpload: True
  SourcePackage: indicator-datetime
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1157914/+subscriptions


References