On Oct 11, 2002, 11:45 (+1000) [EMAIL PROTECTED] wrote:

> One problem with RH7.3 is that one needs to remove the
> command 'hwclock --systohc' from /etc/rc.d/init.d/halt
> otherwise it gets really confused.

... I'd be *extremely* careful with the hwclock version as shipped
with the Redhat util-linux package ...

The latest hwclock version for my Redhat 6.2 (upgraded with
util-linux, but, as it seems to me, with a very old hwclock version
inside ... :) that AFAICS came with util-linux-2.10f-7.6.2 didn't even
understand the difference between plus and minus, at least as far as I
understood the clock mess here on my machine some days ago ...

It took me quite some time and head-scratching to find out why my
clock was such a mess all of a sudden, until I found out that my old
hwclock version (IIRC manually installed, and which ran good as hell
here .... ) was replaced by another version when I upgraded the
until-linux.rpm

Here (on a RedHat 6.2) this new, not-with-util-linux shipped hwclock
works well (at least until now):
root]# hwclock --version
hwclock 2.17

You can find it at
ibiblio.org/pub/Linux/system/hardware/

I took the tar-ball from (probably) there and (excerpt from the
README):

---------------------
Just install the executable file 'hwclock' and the man page file
'hwclock.8' in suitable directories (such as /sbin/hwclock and
/usr/man/man8/hwclock.8) and you're ready to go.
[ ... ]

If you want to build Hwclock, just cd to the src directory and invoke
make with no parameters.

---------------------

So I didn't uninstall util-linux, but simply copied the new hwclock
exe and the (compressed) man page over the old ones ...

There are some indications to find out how old your hwclock is:

If you do a "man hwclock" on 7.3, and if the date at the end of the
page shows you something like "02 March 1998", and if I furthermore
had problems with hwclock, then I'd get the hell rid of this hwclock
now! ...  :)  ....

The not-with-Redhat-shipped "man hwclock" and the date I see here is
"29 October 2000" .... my (new) hwclock man page also tells me this
this, nearly at the top of the page:

------------------
[ ... ]
other options:

--utc  --localtime  --badyear  --rtc=filespec  --directisa
[ ... ]
--------------------

If you don't see this "--rtc=filespec" option in your man page, then
this probably, too, is an indication that you probably have, to say it
politely, a not so new hwclock version on your machine ... :)
(or perhaps simply a special, RedHat butchered version .. don't know)

WARNING:
It's perhaps possible RedHat made his own hwclock that you definitely
for some reason or another should not swap for the new one above .. :)
I don't know ...

My apologies RedHat Inc., but I hope this helps you, too  ... :)

Regards
Wolfgang
-- 
Key on: http://home.t-online.de/home/520050060325-0001/
Key fingerprint = 5FFA E2D1 6DB5 C023 0C5F  3FA7 4E08 5F9F 1560 0BA8

Home Page: www.geocities.com/wolfgangpfeiffer/

                            -- END TRANSMISSION --



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to