2015-03-01 16:11:44 Michael Tokarev: > 01.03.2015 01:49, Timo Weingärtner wrote: > > I just upgraded my virtualization machine to jessie and restartet one > > guest. After logrotate complained that timestamps were in the future I > > looked and found out that the guests clock starts at the hosts boot time. > > I'm not sure what do you mean by "guests clock starts at the hosts boot > time". I booted several guests with the command lines you provided, and > guest time is fine, no matter if the host booted just a few mins ago or > some days ago. > > How do you determine that guests clock starts at the hosts boot time?
I booted the guest with init=/bin/bash to rule out init scripts setting the clock, ran date to get the time. It was the same (+ time in the VM) that uprecords displays on the host for the current boot. > Out of curiocity, what reason do you have to keep pc-1.0 in there? I just didn't change it since I created the VM. > What guest is that, to start with? Debian jessie with a selfbuilt kernel 3.2 injected from the host to save space in the VMs. (I didn't manage to automatically create initramfs for the VMs; initramfs-tools always configures them for the host, VMs then fail to assemble the RAID…) Thanks Timo
signature.asc
Description: This is a digitally signed message part.