Bug 856745
Summary: | No option to configure system time as UTC or LOCAL | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Daniel Belton <danielbelton> |
Component: | anaconda | Assignee: | Anaconda Maintenance Team <anaconda-maint-list> |
Status: | CLOSED WONTFIX | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 18 | CC: | anaconda-maint-list, g.kaviyarasu, jonathan, peter, stephent98, vanmeeuwen+fedora |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2012-09-12 17:50:36 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Daniel Belton
2012-09-12 17:44:52 UTC
I made a typo above. I was using Fedora 18 Alpha RC2, not TC2. This should still be possible using kickstart. The removal was intentional. If I remember correctly we default to UTC unless Windows was detected. No Windows installed on my machine here, but it defaulted to LOCAL. Even on my machines where Windows is installed, the system time is still set to UTC, so defaulting to LOCAL in those instances would be wrong as well. (In reply to comment #3) > No Windows installed on my machine here, but it defaulted to LOCAL. > > Even on my machines where Windows is installed, the system time is still set > to UTC, so defaulting to LOCAL in those instances would be wrong as well. After a clean F18-Alpha-RC3 install in a VM, the system clock time zone is likewise LOCAL. Network time setting was not enabled. ISTM, that the bug here is that the automatic setting of the system clock time zone does not work. I believe this bug could be reopened. [joeblow@localhost ~]$ cat /etc/adjtime 0.000000 1347676433 0.000000 1347676433 LOCAL [joeblow@localhost ~]$ date Fri Sep 14 19:52:27 PDT 2012 [joeblow@localhost ~]$ ps -ef | grep chrony joeblow 1518 1423 0 19:52 pts/0 00:00:00 grep --color=auto chrony [joeblow@localhost ~]$ uname -r 3.6.0-0.rc4.git2.1.fc18.x86_64 [joeblow@localhost ~]$ QEMU command line: $ qemu-kvm -m 1024 -hda f18-test-2.img -cdrom ~/xfr/fedora/F18/F18-Alpha/RC3/Fedora-18-Alpha-x86_64-DVD.iso -boot menu=on -vga qxl For the record, testing was done with: qemu-kvm-1.0.1-1.fc17.x86_64 (In reply to comment #4) ... > After a clean F18-Alpha-RC3 install in a VM, the system clock time zone is > likewise LOCAL. ... That was a gnome desktop install. A minimal install seems to be sufficient: # cat /etc/adjtime 0.0 0 0.0 0 LOCAL Daniel: Could you confirm that you are looking at /etc/adjtime? Yes, I can confirm that I was looking at /etc/adjtime and after the install it was indeed set to LOCAL. I have since changed it to UTC on my system here. I did a bare metal install form the x86_64 DVD image. (In reply to comment #7) > Yes, I can confirm that I was looking at /etc/adjtime and after the install > it was indeed set to LOCAL. I have since changed it to UTC on my system here. > > I did a bare metal install form the x86_64 DVD image. Thanks for the additional details. I changed LOCAL to UTC in /etc/adjtime in my VM installation, and, after rebooting the VM, the date is displayed as expected. Enabling "Network Time" in "System Tools:System Settings:Date & Time" also works around the problem. Doing that starts "chronyd". Do you have "Network Time" disabled? $ ps -ef | grep chrony Another thing I noticed is that "--utc" is not set in the anaconda kickstart file: # grep timezone /root/anaconda-ks.cfg # System timezone timezone America/Los_Angeles --nontp http://fedoraproject.org/wiki/Anaconda/Kickstart#timezone *** Bug 863199 has been marked as a duplicate of this bug. *** |