Bug 3458

Summary: hwclock --adjust (ie. boot) hangs
Product: [Retired] Red Hat Linux Reporter: jes.sorensen
Component: util-linuxAssignee: Jay Turner <jturner>
Status: CLOSED NOTABUG QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 6.0CC: srevivo
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 1999-06-14 16:58:26 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description jes.sorensen 1999-06-14 16:35:35 UTC
If one by accident gets the system clock set to some time
far out in the future, boots the system (thus having
/sbin/hwclock --adjust run by /etc/rc.d/rc.sysinit), then
reboots and sets the clock back using the BIOS. After this
the system will hang at boot time when hwclock --adjust
tries to wait several years to catch up on the time.

Comment 1 Jeff Johnson 1999-06-14 16:58:59 UTC
And you expect the software to do what? :-)

------- Additional Comments From   06/14/99 13:07 -------
I expect it to detect that it is about to wait for ages and let the
user know, ideally it should print a warning message if it believes it
is about to wait for more than say 1 minute.

I can solve this kind of problem myself, but to be frank, I doubt that
the average user will be able to figure out what is wrong and fix it.
I am sure your support people will love trying to figure out the
problem if they get a customer calling on this one.