Bug 1289696 - tzdata: Perform /etc/localtime updates
Summary: tzdata: Perform /etc/localtime updates
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: tzdata
Version: 6.7
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Patsy Griffin
QA Contact: qe-baseos-daemons
URL:
Whiteboard:
Depends On:
Blocks: 1200555 Engineering1292833
TreeView+ depends on / blocked
 
Reported: 2015-12-08 18:13 UTC by Florian Weimer
Modified: 2019-08-15 05:53 UTC (History)
5 users (show)

Fixed In Version: tzdata-2015g-4.el6
Doc Type: Bug Fix
Doc Text:
Clone Of:
: Engineering1292833 (view as bug list)
Environment:
Last Closed: 2016-04-28 18:59:40 UTC
Target Upstream Version:


Attachments (Terms of Use)

Description Florian Weimer 2015-12-08 18:13:03 UTC
To fix bug 1200555, we need to change the /etc/localtime update mechanism not to touch /etc/localtime if it s a symbolic link.  This is difficult to implement within the existing statically-linked /usr/sbin/tzdata-update program.

With RHEL 6 RPM, it is possible to implement /etc/localtime updates with Lua interpreter built into RPM, including the symbolic link check.  This means that the dependency issue which previously stopped us to include the /etc/localtime management in the tzdata package do not apply anymore, and we can perform the update in a %post scriptlet written in Lua.

We need tzdata packages with this change for testing the fix for bug 1200555, but there is no need to actually release these packages at the same time the fix for bug 1200555 goes out.  The reason is that /etc/localtime needs to be updated only at tzdata update time.


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