Bug 186743

Summary: /etc/localtime is a copy from /usr/share/zoneinfo - should be a symlink
Product: [Fedora] Fedora Reporter: lannet
Component: tzdataAssignee: Petr Machata <pmachata>
Status: CLOSED DUPLICATE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 5CC: bookreviewer, kluge, mnewsome
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-03-29 10:07:21 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 lannet 2006-03-26 00:54:19 UTC
Description of problem:
Daylight changing has occured at the wrong date (Australia eastern states)


Version-Release number of selected component (if applicable):
All versions of FC inc FC5


How reproducible:
Very


Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:
During installation, /etc/localtime is taken as a copy from the selected zone
file in /usr/share/zoneinfo
Consequently, when the tzdata package gets updated, as has happened in
Australian eastern states to reflect the change from daylight saving being 1
week later to accommodate the Commonwealth Games, the /etc/localtime file does
not get updated.
Surely /etc/localtime should be a symlink into the selected /usr/share/zoneinfo
file instead of being a copy from it.
I have just checked this with an FC5 install and it is still a copy - reflecting
the correct change point because the tzdata file is new - but it will never
reflect any future changes to tzdata files.

Comment 1 Danny Yee 2006-03-26 22:22:54 UTC
On a few of our FC4 machines /etc/localtime had been updated -- possibly on a
reboot, or possibly on some other trigger.

Can someone confirm how the FC system is supposed to work - are there meant to
be symlinks, or should tzdata RPMs update /etc/localtime in their post-install
scripts?

Comment 2 lannet 2006-03-27 04:21:35 UTC
It has been commented elsewhere that a symlink between /etc/localtime and the
zoneinfo file in /usr/share/zoneinfo may not be the best way to go as there may
be situations where the latter filesystem may not be on line when the local time
gets set during boot.

Perhaps some sort of intermediary using /etc/sysconfig might be a better way to go.

Comment 3 Petr Machata 2006-03-29 10:07:21 UTC

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