Project

General

Profile

Actions

Bug #7488

closed

clockConfiguration sets RTC to localtime

Added by Janos Mattyasovszky almost 9 years ago. Updated almost 9 years ago.

Status:
Rejected
Priority:
N/A
Assignee:
-
Category:
System techniques
Target version:
-
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.


Related issues 2 (1 open1 closed)

Related to Rudder - Bug #7489: Missing Timezones from clockConfigurationReleasedJonathan CLARKE2016-02-22Actions
Is duplicate of Rudder - User story #7598: Add features to Time settings (RTC to UTC/Localtime; all timezones)DiscussionActions
Actions #1

Updated by Jonathan CLARKE almost 9 years ago

  • Related to Bug #7489: Missing Timezones from clockConfiguration added
Actions #2

Updated by Janos Mattyasovszky almost 9 years ago

Handled in #7598

Actions #3

Updated by Jonathan CLARKE almost 9 years ago

  • Status changed from New to Rejected

Closing in favour of #7598.

Actions #4

Updated by Jonathan CLARKE almost 9 years ago

  • Is duplicate of User story #7598: Add features to Time settings (RTC to UTC/Localtime; all timezones) added
Actions

Also available in: Atom PDF