On Tuesday, 11/29/2016 at 08:18 GMT, Aria Bamdad <[email protected]> wrote: > I am reaching out to the community regarding a problem that I have observed > since SLES 9 and I wanted to reach out to see if others observe what we do. > We run z/VM on local time (Eastern US) with the appropriate timezone. We > setup SLES 11 (SP4) via Yast -> System -> Date and time, set the correct > Region and Time Zone, and uncheck the setting that reads 'Hardware clock set > to UTC'. This sets HWCLOCK="--localtime" in /etc/sysconfig/clock. However, > with these settings, when Linux boots, the time is 5 hours ahead. Up to > now, we have been correcting the system time after boot via NTP. > > I recently contacted SuSE support and for the past week, we have been trying > to figure out why this is to no avail. We also tried using a kernel boot > parameter clocksource=tod in conjunction with setting the option for > "Hardware clock set to UTC" as checked. This seems to correct the time but > clearly is not the correct settings. > > Would anyone care to provide some input with respect to this? Do you > observe this behavior with z/VM running on local time and if so, what do > you see with respect to Linux time at boot?
It sounds like the Linux TZ variable is not set, giving you an offset of 0 from UTC. The virtual TOD is on UTC because your machine is nominally set to "UTC" (which is technically incorrect for z Systems). Also, please be aware of http://www.vm.ibm.com/devpages/altmarka/vmleap.html. Alan Altmark Senior Managing z/VM and Linux Consultant Lab Services System z Delivery Practice IBM Systems & Technology Group ibm.com/systems/services/labservices office: 607.429.3323 mobile; 607.321.7556 [email protected] IBM Endicott ---------------------------------------------------------------------- For LINUX-390 subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390 ---------------------------------------------------------------------- For more information on Linux on System z, visit http://wiki.linuxvm.org/
