Bug 802198
Summary: | Incorrect timestamps for VFAT | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Danny Ciarniello <danny> |
Component: | systemd | Assignee: | systemd-maint |
Status: | CLOSED NEXTRELEASE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 16 | CC: | johannbg, jonathan, kzak, lpoetter, metherid, mluscon, mschmidt, notting, plautrba, systemd-maint |
Target Milestone: | --- | Keywords: | Reopened |
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2012-10-07 22:48:54 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
Danny Ciarniello
2012-03-12 02:52:07 UTC
(In reply to comment #0) > The mount man page states > > "tz=UTC This option disables the conversion of timestamps between local time > (as used by Windows on FAT) and UTC (which Linux uses internally). This is > particularly useful when mounting devices (like digital cameras) that are set > to UTC in order to avoid the pitfalls of local time." > > This would imply that no conversions should be done if the tz option is not > specified. I. e. timestamps should be in local time. > > Note that this worked as expected in Fedora 14. Hmm... sounds like kernel timezone is not set properly. Reassigning to systemd. I see. fat.ko cares about sys_tz. sys_tz is set by settimeofday(). systemd calls it once on boot only if the hardware clock is running in local time. The purpose of the call is to do the clock warp (a correction from local time to UTC). We don't want to do the warp when the clock is in UTC. This report shows that we should however set sys_tz. So the solution for the !hwclock_is_localtime case could be to call settimeofday() twice: First with tz.tz_minuteswest=0 in order to do a dummy warp (a NOP). Second with the actual correct tz_minuteswest value to set sys_tz. Is your RTC clock running in UTC? (What does the 3rd line in /etc/adjtime say?) Yes, my RTC clock is set to UTC. Michal, see also bug #672194 ;-) Kay, please set bugs that are fixed upstream but not yet fixed in Fedora to POST! systemd-190-1.fc18 has been submitted as an update for Fedora 18. https://admin.fedoraproject.org/updates/systemd-190-1.fc18 Package systemd-191-2.fc18, rtkit-0.11-3.fc18: * should fix your issue, * was pushed to the Fedora 18 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing systemd-191-2.fc18 rtkit-0.11-3.fc18' as soon as you are able to, then reboot. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2012-14581/rtkit-0.11-3.fc18,systemd-191-2.fc18 then log in and leave karma (feedback). Is the fix going to be pushed to Fedora 17 as well? Package glibc-2.16-17.fc18, systemd-192-1.fc18, selinux-policy-3.11.1-23.fc18, rtkit-0.11-3.fc18: * should fix your issue, * was pushed to the Fedora 18 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing glibc-2.16-17.fc18 systemd-192-1.fc18 selinux-policy-3.11.1-23.fc18 rtkit-0.11-3.fc18' as soon as you are able to, then reboot. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2012-14581/selinux-policy-3.11.1-23.fc18,rtkit-0.11-3.fc18,systemd-192-1.fc18,glibc-2.16-17.fc18 then log in and leave karma (feedback). Package glibc-2.16-17.fc18, rtkit-0.11-3.fc18, systemd-193-1.fc18: * should fix your issue, * was pushed to the Fedora 18 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing glibc-2.16-17.fc18 rtkit-0.11-3.fc18 systemd-193-1.fc18' as soon as you are able to, then reboot. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2012-14581/rtkit-0.11-3.fc18,systemd-193-1.fc18,glibc-2.16-17.fc18 then log in and leave karma (feedback). systemd-44-20.fc17 has been submitted as an update for Fedora 17. https://admin.fedoraproject.org/updates/systemd-44-20.fc17 |