Actions
Bug #7488
closedclockConfiguration sets RTC to localtime
Status:
Rejected
Priority:
N/A
Assignee:
-
Category:
System techniques
Target version:
-
Pull Request:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
Name check:
Fix check:
Regression:
Description
When using Time configuration policy (clockConfiguration), there is no possibility to set the RTC Clock to UTC.
When you use "hwclock --systohc" to set time, you don't specify either --local or --utc for the setting, and if the system has utc time set, then you'd set the wrong time to the RTC Clock.
For Linux you'd have to set:
SLES:
Set HWCLOCK to "--utc" or "--localtime" @ /etc/sysconfig/clock
Call hwclock with appropriate parameter like in clock config.
For Windows this is handled by registry key:
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\TimeZoneInformation] "RealTimeIsUniversal"=dword:00000001
This would be advisable as this does not conflict with any daylight saving, and also would conflict with the setting of /etc/sysconfig/clock, if HWCLOCK is set to "-u" as --utc as default.
Actions