[Bug 773323] New: On installation of 12.2 on vmware it makes wrong recomendation about clock.
https://bugzilla.novell.com/show_bug.cgi?id=773323 https://bugzilla.novell.com/show_bug.cgi?id=773323#c0 Summary: On installation of 12.2 on vmware it makes wrong recomendation about clock. Classification: openSUSE Product: openSUSE 12.2 Version: Factory Platform: VMWare OS/Version: openSUSE 12.2 Status: NEW Severity: Normal Priority: P5 - None Component: Installation AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: carlos.e.r@opensuse.org QAContact: jsrain@suse.com Found By: --- Blocker: --- Created an attachment (id=500189) --> (http://bugzilla.novell.com/attachment.cgi?id=500189) Screenshot mentioned in text. On installation of 12.2 on vmware player it makes wrong recomendation about clock. When openSUSE is intalled on a VM virtual machine, the host "bios clock" is running local time, and thus the guest has tobe told that the hardware clock runs local time, too. However, the installation system, as shown in the attached photo, says that this is wrong and that a machine with only one system should run UTC time in CMOS. This is wrong for virtual machines, the virtual hardware runs LOCAL time, no choice there. Please disable that warning on virtual hardware. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=773323
https://bugzilla.novell.com/show_bug.cgi?id=773323#c
Andreas Jaeger
https://bugzilla.novell.com/show_bug.cgi?id=773323
https://bugzilla.novell.com/show_bug.cgi?id=773323#c
Thomas Göttlicher
https://bugzilla.novell.com/show_bug.cgi?id=773323
https://bugzilla.novell.com/show_bug.cgi?id=773323#c1
Jiří Suchomel
https://bugzilla.novell.com/show_bug.cgi?id=773323
https://bugzilla.novell.com/show_bug.cgi?id=773323#c2
Dr. Werner Fink
https://bugzilla.novell.com/show_bug.cgi?id=773323
https://bugzilla.novell.com/show_bug.cgi?id=773323#c
Jiří Suchomel
https://bugzilla.novell.com/show_bug.cgi?id=773323
https://bugzilla.novell.com/show_bug.cgi?id=773323#c3
--- Comment #3 from Carlos Robinson
https://bugzilla.novell.com/show_bug.cgi?id=773323
https://bugzilla.novell.com/show_bug.cgi?id=773323#c4
--- Comment #4 from Dr. Werner Fink
https://bugzilla.novell.com/show_bug.cgi?id=773323
https://bugzilla.novell.com/show_bug.cgi?id=773323#c5
--- Comment #5 from Carlos Robinson
Then this is a bug of vmware!
Or a feature. It is designed that way, and we have no control of it. And vmware products are widely used with Linux hosts, both oS and SLES, so it make sense to take them into account. I agree that it would be better that vmw used the system UTC clock, though. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=773323
https://bugzilla.novell.com/show_bug.cgi?id=773323#c6
--- Comment #6 from Dr. Werner Fink
https://bugzilla.novell.com/show_bug.cgi?id=773323
https://bugzilla.novell.com/show_bug.cgi?id=773323#c8
Carlos Robinson
https://bugzilla.novell.com/show_bug.cgi?id=773323
https://bugzilla.novell.com/show_bug.cgi?id=773323#c
FeiXiang Zhang
https://bugzilla.novell.com/show_bug.cgi?id=773323
https://bugzilla.novell.com/show_bug.cgi?id=773323#c9
Dr. Werner Fink
https://bugzilla.novell.com/show_bug.cgi?id=773323
https://bugzilla.novell.com/show_bug.cgi?id=773323#c
FeiXiang Zhang
https://bugzilla.novell.com/show_bug.cgi?id=773323
https://bugzilla.novell.com/show_bug.cgi?id=773323#c10
Carlos Robinson
https://bugzilla.novell.com/show_bug.cgi?id=773323
https://bugzilla.novell.com/show_bug.cgi?id=773323#c
Carlos Robinson
https://bugzilla.novell.com/show_bug.cgi?id=773323
https://bugzilla.novell.com/show_bug.cgi?id=773323#c12
Jiří Suchomel
https://bugzilla.novell.com/show_bug.cgi?id=773323
https://bugzilla.novell.com/show_bug.cgi?id=773323#c13
Dr. Werner Fink
https://bugzilla.novell.com/show_bug.cgi?id=773323
https://bugzilla.novell.com/show_bug.cgi?id=773323#c14
Carlos Robinson
https://bugzilla.novell.com/show_bug.cgi?id=773323
https://bugzilla.novell.com/show_bug.cgi?id=773323#c15
Dr. Werner Fink
Virtual Hardware clock configuration When configuring the Linux guest operating system, if you are given a choice between keeping the “hardware” clock (that is, the virtual CMOS time of day clock) in UTC or local time, choose UTC. This avoids any confusion when your local time changes between standard and daylight saving time (in England, "summer time").
For additional information, see <Timekeeping in VMware Virtual Machines.>
and AFAICS from the link http://www.vmware.com/files/pdf/Timekeeping-In-VirtualMachines.pdf below <Timekeeping in VMware Virtual Machines.>
Specifically, the CMOS TOD clock shows UTC as kept by the host operating system software, plus an offset. The offset from UTC is stored in the virtual machine’s nvram file along with the rest of the contents of the virtual machine’s CMOS nonvolatile memory. The offset is needed because many guest operating systems require the CMOS TOD clock to show the time in the current local time zone, not in UTC. When a new virtual machine is created (or the nvram file of an existing virtual machine is deleted) and it is powered on, the offset is initialized, by default, to the difference of the host operating system’s local time zone from UTC. If software running in the virtual machine writes a new time to the CMOS TOD clock, the offset is updated.
therefore I've the question: Do you have configiured you VMWare setup to assume UTC in the CMOS clock of your host system? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=773323
https://bugzilla.novell.com/show_bug.cgi?id=773323#c16
--- Comment #16 from Dr. Werner Fink
From page `INFORMATION GUIDE / 10':
<cite> You can force the CMOS TOD clock’s offset to be initialized to a specific value at power on. To do so, set the option rtc.diffFromUTC in the virtual machine’s vmx configuration file to a value in seconds. For example, setting rtc.diffFromUTC = 0 sets the clock to UTC at power on, while setting rtc.diffFromUTC = -25200 sets it to Pacific Daylight Time, seven hours earlier than UTC. The guest operating system can still change the offset value after power on by writing a new time to the CMOS TOD clock. You can also force the CMOS TOD clock to start at a specified time whenever the virtual machine is powered on, independent of the real time. To do this, set the configuration file option rtc.startTime. The value you specify is in seconds since Jan 1, 1970 00:00 UTC, but it is converted to the local time zone of the host operating system before setting the CMOS TOD clock (under the assumption that the guest operating system requires the CMOS TOD clock to read in local time). If your guest operating system is running the CMOS TOD clock in UTC or some other time zone, you should correct for this when setting rtc.startTime. </cite> -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=773323
https://bugzilla.novell.com/show_bug.cgi?id=773323#c17
--- Comment #17 from Carlos Robinson
Hmmm ... please explain how ths is solved e.g. on Debian or RedHat? I'm pretty sure that both uses UTC as default in their setups. IMHO VMWare is third party and we have no maintainer for this.
I have no idea how other distributions handle this. Obviously they are Linux, so the clock will be handled similarly (ie, system clock in UTC), I'm sure SUSE is interested that vmware works well with SUSE distros, either as host or as clients. I know they have agreements.
which is VMWare documentation with:
Virtual Hardware clock configuration When configuring the Linux guest operating system, if you are given a choice between keeping the “hardware” clock (that is, the virtual CMOS time of day clock) in UTC or local time, choose UTC. This avoids any confusion when your local time changes between standard and daylight saving time (in England, "summer time").
Well, vmplayer works wrong with that setting.
therefore I've the question: Do you have configiured you VMWare setup to assume UTC in the CMOS clock of your host system?
It has the default settings, I don't touch them.
rtc.diffFromUTC = 0 sets the clock to UTC at power on, while setting
No such variable in the entire /etc/vmware tree, or the OpenSUSE 12.3.vmx file. I'll try creating it. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=773323
https://bugzilla.novell.com/show_bug.cgi?id=773323#c18
--- Comment #18 from Dr. Werner Fink
No such variable in the entire /etc/vmware tree, or the OpenSUSE 12.3.vmx file.
I'll try creating it.
It would be a big win it this works well ... and it would one point more to add to http://en.opensuse.org/SDB:Configuring_the_clock Thank you! -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=773323
https://bugzilla.novell.com/show_bug.cgi?id=773323#c19
Carlos Robinson
https://bugzilla.novell.com/show_bug.cgi?id=773323
https://bugzilla.novell.com/show_bug.cgi?id=773323#c20
Dr. Werner Fink
https://bugzilla.novell.com/show_bug.cgi?id=773323
https://bugzilla.novell.com/show_bug.cgi?id=773323#c21
Carlos Robinson
https://bugzilla.novell.com/show_bug.cgi?id=773323
https://bugzilla.novell.com/show_bug.cgi?id=773323#c22
Dr. Werner Fink
https://bugzilla.novell.com/show_bug.cgi?id=773323
https://bugzilla.novell.com/show_bug.cgi?id=773323#c23
Carlos Robinson
https://bugzilla.novell.com/show_bug.cgi?id=773323
https://bugzilla.novell.com/show_bug.cgi?id=773323#c24
Jiří Suchomel
https://bugzilla.novell.com/show_bug.cgi?id=773323
https://bugzilla.novell.com/show_bug.cgi?id=773323#c25
--- Comment #25 from Carlos Robinson
https://bugzilla.novell.com/show_bug.cgi?id=773323
https://bugzilla.novell.com/show_bug.cgi?id=773323#c26
Dr. Werner Fink
https://bugzilla.novell.com/show_bug.cgi?id=773323
https://bugzilla.novell.com/show_bug.cgi?id=773323#c27
Jiří Suchomel
The only thing I'm requesting is that YaST do not tell the user to change to UTC. Only that. Abstain from popping up that (wrong) warning.
Well, we could probably do that - for vmware. AFAIS, for other vertialization methods (like VirtualBox) the situation is different. Ladislav, could you add the appopriate check to the place where the popup in question is raised? In current code, there's check for !Timezone.windows_partition && hwclock_s == :hwclock_localtime in include/timezone/dialogs.rb, line 904 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=773323
https://bugzilla.novell.com/show_bug.cgi?id=773323#c28
Ladislav Slezak
https://bugzilla.novell.com/show_bug.cgi?id=773323
https://bugzilla.novell.com/show_bug.cgi?id=773323#c29
Steffen Winterfeldt
http://bugzilla.novell.com/show_bug.cgi?id=773323
Swamp Workflow Management
http://bugzilla.novell.com/show_bug.cgi?id=773323
Swamp Workflow Management
http://bugzilla.novell.com/show_bug.cgi?id=773323
--- Comment #31 from Swamp Workflow Management
participants (1)
-
bugzilla_noreply@novell.com