Bug 97226

Summary: clock doesn't get set to local time when booting
Product: [Retired] Red Hat Linux Reporter: Tobias Oed <tobias>
Component: redhat-config-dateAssignee: Brent Fox <bfox>
Status: CLOSED DUPLICATE QA Contact: Brock Organ <borgan>
Severity: medium Docs Contact:
Priority: medium    
Version: 9   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2006-02-21 18:56:40 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 Tobias Oed 2003-06-11 17:14:32 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (compatible; Konqueror/3.0.0-10; Linux)

Description of problem:
I have /usr on it's own partition and my hardware clock is set to the local time. 
When booting, rc.sysinit syncs the system clock to the hardware clock before /usr is mounted. hwclock uses the file /etc/localtime to determine what timezone I'm in. This is a symbolic link to somewhere under /usr. Because /usr is not mounted yet the link is broken and UTC is assumed. As a result my clock is off. Copying the file from /usr/... to /etc/localtime fixes the problem.
Tobias
 

Version-Release number of selected component (if applicable):
red hat 9

How reproducible:
Always

Steps to Reproduce:
1. See description
2.
3.
    

Actual Results:  The clock is off

Additional info:

Comment 1 Bill Nottingham 2003-06-11 18:49:07 UTC
It shouldn't be a symbolic link, it should be a file. How did it get created in
your case?

Comment 2 Tobias Oed 2003-06-12 00:22:02 UTC
After some more investigation I found out that it's  
redhat-config-time that creates the symlink.  
So that's the culprit. Should refile another bug report  
against that?  
Tobias.  
  

Comment 3 Bill Nottingham 2003-06-12 00:48:41 UTC
Nah, I can just assign it to redhat-config-date.

Comment 4 Brent Fox 2003-06-17 22:35:18 UTC
Looks like a dupe of bug #91228.  A fix is available in Rawhide.

*** This bug has been marked as a duplicate of 91228 ***

Comment 5 Red Hat Bugzilla 2006-02-21 18:56:40 UTC
Changed to 'CLOSED' state since 'RESOLVED' has been deprecated.