Bug 29103

Summary: Rdate prints/sets incorrect date when the hardware clock is set to localtime.
Product: [Retired] Red Hat Linux Reporter: Need Real Name <jbunch>
Component: rdateAssignee: Phil Knirsch <pknirsch>
Status: CLOSED DEFERRED QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 7.0CC: rvokal
Target Milestone: ---   
Target Release: ---   
Hardware: i686   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2001-06-16 15:36:46 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 Need Real Name 2001-02-23 18:07:09 UTC
When using rdate to print the time or to set the system time, it only works
if the hardware (BIOS) clock is set to GMT.  When the hardware clock is set
to localtime (CST, or GMT-6), the time printed or set is 12 hours into the
future.  It is important that the hardware clock be set to localtime,
because I am running Windows 98 inside of VMware for Linux, and Windows 98
requires that the hardware clock be set to localtime, or else Windows 98
displays a time 12 hours into the future.

Comment 1 Phil Knirsch 2001-06-16 15:36:42 UTC
According to RFC 868 which specifies the rdate protocol and behaviour the time
has to be in GMT, at least from the server.

A possibility would be to add another option to rdate, e.g. -l, in order to tell
the client to set/print in localtime rather than in GMT.

Read ya, Phil

Comment 2 Phil Knirsch 2001-08-23 10:23:12 UTC
Changing to defered now as there are currently a lot of other pressing matters
that i need to take care of first.

I'll finally close this bug when i get time to do this RFE.

Read ya, Phil