Bug 1289696

Summary: tzdata: Perform /etc/localtime updates
Product: Red Hat Enterprise Linux 6 Reporter: Florian Weimer <fweimer>
Component: tzdataAssignee: Patsy Griffin <pfrankli>
Status: CLOSED ERRATA QA Contact: qe-baseos-daemons
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 6.7CC: bgollahe, codonell, lpol, mcermak, mnewsome
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: tzdata-2015g-4.el6 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 1292833 (view as bug list) Environment:
Last Closed: 2016-04-28 18:59:40 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:
Bug Depends On:    
Bug Blocks: 1200555, 1292833    

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.