Bug 10520 - problem with hardware clocks set to localtime
problem with hardware clocks set to localtime
Status: CLOSED RAWHIDE
Product: Red Hat Linux
Classification: Retired
Component: initscripts (Show other bugs)
6.2
All Linux
medium Severity medium
: ---
: ---
Assigned To: Bill Nottingham
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2000-04-02 13:03 EDT by Trond Eivind Glomsrød
Modified: 2014-03-16 22:13 EDT (History)
2 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2000-04-03 11:14:57 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Trond Eivind Glomsrød 2000-04-02 13:03:36 EDT
When you change from using UTC to using localtime on your computer (using
timeconfig), the system time won't be reflecting this even after a reboot.
Fix:

--- rc.sysinit.old      Wed Feb 23 13:12:09 2000
+++ rc.sysinit  Sun Apr  2 13:00:07 2000
@@ -72,6 +72,10 @@
     CLOCKFLAGS="$CLOCKFLAGS -u";
     CLOCKDEF="$CLOCKDEF (utc)";
   ;;
+  no|false)
+    CLOCKFLAGS="$CLOCKFLAGS --localtime";
+    CLOCKDEF="$CLOCKDEF (localtime)";
+  ;;
 esac

 case "$ARC" in
Comment 1 Bill Nottingham 2000-04-03 11:14:59 EDT
Hm, hwclock is strange. Will be fixed when 5.06 is released.

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