Bug 441163
Summary: | Linux Fedora 8 changes to DST on wrong day | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Gregory Kizior <gkizior> |
Component: | kernel | Assignee: | Kernel Maintainer List <kernel-maint> |
Status: | CLOSED NOTABUG | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | low | Docs Contact: | |
Priority: | low | ||
Version: | 8 | CC: | jakub |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2008-04-08 06:15:49 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Gregory Kizior
2008-04-06 22:45:35 UTC
Jakub, any ideas if tzdata is somehow related to this ? I'm not clear how this could be a kernel bug, as it has no notion of dst changeover dates. The tzdata for America/Los_Angeles is correct since September 2005. So if it changes time at the wrong date, you must be using a wrong timezone. Try: date -d '2008-03-08 00:00 UTC' date -d '2008-03-11 00:00 UTC' date -d '2008-04-05 00:00 UTC' date -d '2008-04-08 00:00 UTC' /usr/sbin/zdump -v /etc/localtime | grep 2008 and then with explicit America/Los_Angeles timezone: TZ=America/Los_Angeles date -d '2008-03-08 00:00 UTC' TZ=America/Los_Angeles date -d '2008-03-11 00:00 UTC' TZ=America/Los_Angeles date -d '2008-04-05 00:00 UTC' TZ=America/Los_Angeles date -d '2008-04-08 00:00 UTC' /usr/sbin/zdump -v America/Los_Angeles | grep 2008 If you are dual-booting Linux and XP you pretty much have to do the DST adjustment manually. XP requires you to keep the CMOS clock in local time and writes the new time to the clock when it updates for DST. Since XP uses local time Linux must also use that for the hardware clock. Then on or after the day DST changes they will both update the clock and it will end up advancing by two hours. In private mail the reporter said he was actually mistakenly using the Pacific/Tijuana timezone rather than America/Los_Angeles. |