Bug 822200 - RFE: Make /etc/localtime a symlink
Summary: RFE: Make /etc/localtime a symlink
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: glibc
Version: rawhide
Hardware: All
OS: Linux
unspecified
low
Target Milestone: ---
Assignee: Patsy Griffin
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-05-16 15:52 UTC by Avi Kivity
Modified: 2016-11-24 15:46 UTC (History)
7 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2012-05-23 14:07:18 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

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


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