Bug 24281 - halt script breaks RTC set to UTC
halt script breaks RTC set to UTC
Status: CLOSED RAWHIDE
Product: Red Hat Raw Hide
Classification: Retired
Component: initscripts (Show other bugs)
1.0
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Bill Nottingham
David Lawrence
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2001-01-18 06:21 EST by Stefan Sorensen
Modified: 2014-03-16 22:18 EDT (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2001-01-18 06:21:41 EST
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 Stefan Sorensen 2001-01-18 06:21:38 EST
/etc/init.d/halt contains the line

  runcmd "Syncing hardware clock to system time" /sbin/hwclock --systohc

This writes the local time to the hardware RTC disregarding that it might 
be set to UTC, giving a clock scew on each shutdown.

A fix would be to do the same as in the rc.sysinit script (and ofcourse
replace --hctosys with --systohc).
Comment 1 Bill Nottingham 2001-01-29 15:16:31 EST
This is fixed in 5.55-1 or so.

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