Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 82281 - ARC=true is written in /etc/sysconfig/clock -> problems
ARC=true is written in /etc/sysconfig/clock -> problems
Product: Red Hat Linux Beta
Classification: Retired
Component: util-linux (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Brent Fox
Ben Levenson
: 83383 (view as bug list)
Depends On:
Blocks: 79578
  Show dependency treegraph
Reported: 2003-01-20 15:12 EST by giulioo
Modified: 2007-04-18 12:50 EDT (History)
2 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2003-02-06 10:54:24 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description giulioo 2003-01-20 15:12:03 EST
Description of problem:
I'm 99% sure this is due to redhat-config-date, but not 100%.

My original "clock" had ARC "no" or "false", not "true". Now it's
$ cat /etc/sysconfig/clock
This causes problems in hwclock invocation at startup and shutdown because --arc
is used which is not supported by hwclock.

+ '[' -f /etc/sysconfig/clock ']'
+ . /etc/sysconfig/clock
++ ZONE=Europe/Rome
++ UTC=true
++ ARC=true
+ '[' '' = GMT ']'
+ '[' '' = ARC ']'
+ CLOCKFLAGS= --hctosys
+ CLOCKFLAGS= --hctosys --utc
+ CLOCKDEF= (utc)
+ CLOCKFLAGS= --hctosys --utc --arc
+ CLOCKDEF= (utc) (arc)
+ /sbin/hwclock --hctosys --utc --arc
/sbin/hwclock: unrecognized option `--arc'
hwclock - query and set the hardware clock (RTC)

Version-Release number of selected component (if applicable):
checked changelog for beta4 and didn't see anything related to this bug, so I
assume it's still there.

How reproducible:
Run redhat-config-date, don't know exactly the necessary steps. 
I discovered this sometime after I used the app and linked problem to it looking
at "clock" file mod date and rpm install date.
Comment 1 Brent Fox 2003-01-21 01:14:34 EST
According to 'man hwclock', '--arc' is a valid option.  Also, according to Bill
Nottingham in bug #72149, ARC is a true/false field, so I believe that the
/etc/sysconfig/clock file that redhat-config-date has written is correct.  

Changing the component to util-linux, which is the package that hwclock is from.
Comment 2 Elliot Lee 2003-01-29 09:15:37 EST
I would guess the real problem is that redhat-config-date interpreted the original "ARC=no" 
line as meaning "ARC=true", and rewrote the clock file that way...?

Since /etc/rc.d/rc.sysinit really expects ARC usage to come by the CLOCKMODE=ARC 
setting rather than ARC=true,
redhat-config-date should probably make sure that it only pays attention to 

hwclock probably only has (and can have) a --arch option when built on the Alpha. This is 
one of those "not supposed to happen" situations that did.
Comment 3 Brent Fox 2003-02-03 13:49:05 EST
Should be fixed with redhat-config-date-1.5.9.
Comment 4 Brent Fox 2003-02-04 15:52:02 EST
*** Bug 83383 has been marked as a duplicate of this bug. ***
Comment 5 Jay Turner 2003-02-06 10:54:24 EST
Fix confirmed with redhat-config-date-1.5.9-4.

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