Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 981793 - RFE: "Hardware clock uses UTC" checkbox under the "Date & Time" spoke
Summary: RFE: "Hardware clock uses UTC" checkbox under the "Date & Time" spoke
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: anaconda
Version: rawhide
Hardware: All
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: Anaconda Maintenance Team
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-07-05 20:32 UTC by Andre Robatino
Modified: 2013-07-26 20:03 UTC (History)
8 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-07-26 18:22:06 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Andre Robatino 2013-07-05 20:32:27 UTC
Description of problem:
Currently anaconda sets the system clock to local time if Windows is detected, otherwise UTC. These are reasonable defaults, but there exists a registry hack to make Windows use UTC, in which case one wants Fedora to use UTC as well. It can be changed after the install, but there are a lot of things to configure afterwards, and if not done promptly, can lead to problems like bug 981617. This can be avoided by adding a "System clock uses UTC" checkbox under the "Date & Time" spoke so it's possible to set during installation (as was possible in oldUI).

Comment 1 Steve Tyler 2013-07-05 21:18:45 UTC
This was proposed in:
Bug 881403 - Anaconda doesn't correctly infer if system clock shows UTC or local time

But see:
Bug 881403, Comment 29
Bug 881403, Comment 30

NB: The clock in question is the hardware clock, not the system clock:
Bug 881403, Comment 33

Comment 2 Andre Robatino 2013-07-06 05:57:04 UTC
Thanks, I wasn't sure about the right terminology and copied what system-config-date said. I filed bug 981831 against s-c-d.

Comment 3 David Shea 2013-07-26 18:22:06 UTC
As was noted in bug 881403, the removal of the UTC checkbox was intentional, since it was found to be confusing for many users. The setting can be changed after the installation. It can be also set during installation through the use of a kickstart file, by adding or omitting the --utc parameter to the timezone command.

Comment 4 Andre Robatino 2013-07-26 19:30:25 UTC
It should be noted that partial kickstart files currently don't work (see bug 972265 and bug 972266) so it's currently not practical for the average kickstart-ignorant user (like me) to do this, unless they first do a scratch install to get a complete kickstart file for their hardware, then tweak it and reinstall. If they worked, one could just use a 1-line file. For the time being I'll have to use s-c-d followed by rebuilding the initramfs.

Comment 5 Steve Tyler 2013-07-26 20:03:24 UTC
The fact that the initramfs needs to be rebuilt is a bug, IMO. The relevant config file is /etc/adjtime and that is available in the actual file system, so there doesn't seem to be any reason to have a copy in the initramfs.
See Bug 981617, Comment 18.

It might be worth opening a bug against dracut for the problem of needing to rebuild the initramfs after the RTC time zone is changed.


Note You need to log in before you can comment on or make changes to this bug.