Re: [CentOS] what updates /etc/localtime?

2015-04-14 Thread James Pearson

James Pearson wrote:

On 13 Apr 2015, at 20:13, "Les Mikesell"  wrote:

I see in CentOS 7 that /etc/localtime is a symlink (which seems
sensible...) but in earlier versions it is a copy of some file from
under /usr/share/zoneinfo.
rpm -q --scripts tzdata
does not show any postinstall script, so in the non-symlink versions,
how does the copied /etc/localtime file get updated with new zone
data?



I believe it is by glibc-common on CentOS 6 - it may be the same on CentOS 7


That is, on CentOS 6, glibc-common has a triggerin script that runs 
/usr/sbin/tzdata-update when tzdata is installed/updated


James Pearson
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] what updates /etc/localtime?

2015-04-13 Thread James Pearson
> On 13 Apr 2015, at 20:13, "Les Mikesell"  wrote:
> 
> I see in CentOS 7 that /etc/localtime is a symlink (which seems
> sensible...) but in earlier versions it is a copy of some file from
> under /usr/share/zoneinfo.
> rpm -q --scripts tzdata
> does not show any postinstall script, so in the non-symlink versions,
> how does the copied /etc/localtime file get updated with new zone
> data?

I believe it is by glibc-common on CentOS 6 - it may be the same on CentOS 7

James Pearson
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] what updates /etc/localtime?

2015-04-13 Thread James Pearson


Sent from my iPhone

> On 13 Apr 2015, at 20:13, "Les Mikesell"  wrote:
> 
> I see in CentOS 7 that /etc/localtime is a symlink (which seems
> sensible...) but in earlier versions it is a copy of some file from
> under /usr/share/zoneinfo.
> rpm -q --scripts tzdata
> does not show any postinstall script, so in the non-symlink versions,
> how does the copied /etc/localtime file get updated with new zone
> data?
> 
> -- 
>   Les Mikesell
>  lesmikes...@gmail.com
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos