Bug 6185 - /usr/sbin/setclock handles UTC/ARC incorrectly
Summary: /usr/sbin/setclock handles UTC/ARC incorrectly
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: timeconfig
Version: 6.1
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Trond Eivind Glomsrxd
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 1999-10-21 13:31 UTC by chris
Modified: 2008-05-01 15:37 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 1999-10-21 17:42:34 UTC


Attachments (Terms of Use)

Description chris 1999-10-21 13:31:29 UTC
The version of /usr/sbin/setclock distributed with RedHat
6.1 (timeconfig-3.0-5) interprets the values in
/etc/sysconfig/clock slightly differently from the rest of
the system.  Whereas /etc/rc.d/rc.sysinit checks whether the
variables $UTC or $ARC are set to "yes" or "true",
/usr/sbin/setclock only checks for the value "true".

This problem is compounded by the fact that the RH install
process sets $UTC to "yes" in /etc/sysconfig/clock (if a UTC
hardware clock is requested).  So the default install will
read the value from the hardware clock at system startup as
UTC, but when /usr/sbin/setclock is used to reset the
hardware clock it may fail to use UTC.

Comment 1 Bill Nottingham 1999-10-21 17:42:59 UTC
Fixed in timeconfig-3.0.1-1.


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