Bug 822200

Summary: RFE: Make /etc/localtime a symlink
Product: [Fedora] Fedora Reporter: Avi Kivity <avi>
Component: glibcAssignee: Patsy Griffin <pfrankli>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: unspecified    
Version: rawhideCC: fweimer, jakub, knoel, law, nphilipp, pfrankli, schwab
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: 2012-05-23 14:07:18 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Avi Kivity 2012-05-16 15:52:31 UTC
Description of problem:

Now that /usr cannot be mounted separately, there is no reason for /etc/localtime to be a copy.  It can be just a symlink, simplifying system maintenance.

See Bug #91228.


Version-Release number of selected component (if applicable):
glibc-2.14.90-24.fc16.6.x86_64

How reproducible:
Always


Steps to Reproduce:
1. ls -l /etc/localtime
  
Actual results:
file


Expected results:
symlink

Additional info:

Comment 1 Jeff Law 2012-05-22 03:52:59 UTC
Avi,

Fixing glibc is pretty trivial, but ISTM that system-config-date will also need to be fixed.  Otherwise, glibc would create /etc/localtime as a symlink, but system-config-date would replace the symlink with a hardlink or copy if I'm reading its source correctly.

Do you have a bug open with system-config-date to get this fixed?

Comment 2 Avi Kivity 2012-05-22 15:38:16 UTC
Filed bug #824033.

Comment 3 Nils Philippsen 2012-05-30 13:28:36 UTC
Just for the record, one of the usrmove features is enabling /usr to be separate again (as it's mounted from the initramfs). See http://fedoraproject.org/wiki/Features/UsrMove#Detailed_Description