Bug 97226 - clock doesn't get set to local time when booting
Summary: clock doesn't get set to local time when booting
Keywords:
Status: CLOSED DUPLICATE of bug 91228
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: redhat-config-date
Version: 9
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Brent Fox
QA Contact: Brock Organ
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2003-06-11 17:14 UTC by Tobias Oed
Modified: 2007-04-18 16:54 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2006-02-21 18:56:40 UTC
Embargoed:


Attachments (Terms of Use)

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.


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