laptop goes back to summer time after suspend/resume
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
acpi-support (Ubuntu) |
Fix Released
|
Low
|
Unassigned |
Bug Description
The laptop is in the CET/MET time zone. On the night from October 27 to October 28, it switched over to winter time the way it was supposed to. However when I suspended and resumed the laptop on October 28, it reverted to winter time. The clock is on automated synchronization, and after a while it synchronizes with the network and displays the right time.
Trying to make it manually synchronize with NTP servers does _not_ set the correct time (a difference between ntpd and ntp-date, I guess...).
Some version information:
Intel Pentium M,
Ubuntu 7.10,
linux-
~$ cat /etc/timezone
Europe/Oslo
~$ sudo zdump -v /etc/localtime | grep 2007
/etc/localtime Sun Mar 25 00:59:59 2007 UTC = Sun Mar 25 01:59:59 2007 CET isdst=0 gmtoff=3600
/etc/localtime Sun Mar 25 01:00:00 2007 UTC = Sun Mar 25 03:00:00 2007 CEST isdst=1 gmtoff=7200
/etc/localtime Sun Oct 28 00:59:59 2007 UTC = Sun Oct 28 02:59:59 2007 CEST isdst=1 gmtoff=7200
/etc/localtime Sun Oct 28 01:00:00 2007 UTC = Sun Oct 28 02:00:00 2007 CET isdst=0 gmtoff=3600
Committed changes to stop synchronising the system and hardware clocks over a suspend/resume cycle, which will be released with acpi-support 0.120 in jaunty.
The rationale is that the kernel records the delta between the two clocks on suspend, and resets the system clock on resume based on this delta. The mix of the two can lead to strange issues such as you've seen.
We now just let the kernel do its thing.