Page 1 of 2
tzdata-2019a outdated
Posted: 2019/11/07 18:26:02
by acpessanha
Hello guys!
I've installed my first CentOS 8 and I'm facing a problem trying to update de tzdata package. The only available version is tzdata-2019a-1.el8.noarch although there is a new version 2019c for RedHat (
https://access.redhat.com/articles/1187353) and other systems, release date can be verified on IANA's website
https://www.iana.org/time-zones.
It's an important update for Brazil because daylight savings has been removed by the government for this year.
Anyone knows when tzdata update will be available? Is there any other solution for this case?
Thanks.
Re: tzdata-2019a outdated
Posted: 2019/11/07 19:57:32
by BShT
Re: tzdata-2019a outdated
Posted: 2019/11/08 10:33:07
by acpessanha
Isn't there any immediate workaround?
Re: tzdata-2019a outdated
Posted: 2019/11/08 10:36:08
by TrevorH
Please update the bug entry listed above on bugs.centos.org if this affects you.
Re: tzdata-2019a outdated
Posted: 2019/11/08 11:07:46
by remirepo
AFAICS tzdata-2019c-1 is part of 8.1...
Re: tzdata-2019a outdated
Posted: 2019/11/08 11:12:41
by TrevorH
Well it is part of 8.1 since it's the latest but the RHBA errata page is dated 2019-09-23 and the commit hit git.centos.org 2 months ago so this is a missed 8.0 update that should have been published a long time ago.
Re: tzdata-2019a outdated
Posted: 2019/11/08 18:04:50
by acpessanha
TrevorH wrote: ↑2019/11/08 10:36:08
Please update the bug entry listed above on bugs.centos.org if this affects you.
Ok. I will. Thanks.
Re: tzdata-2019a outdated
Posted: 2019/11/08 18:30:23
by acpessanha
Meanwhile, I've found a workaround:
mkdir tzdata2019c
cd tzdata2019c
wget
https://data.iana.org/time-zones/releas ... 19c.tar.gz
tar zxvf tzdata2019c.tar.gz
ZONEINFO=/usr/share/zoneinfo
mkdir -pv $ZONEINFO/{posix,right}
for tz in etcetera southamerica northamerica europe africa antarctica \
asia australasia backward pacificnew systemv; do
zic -L /dev/null -d $ZONEINFO -y "sh yearistype.sh" ${tz}
zic -L /dev/null -d $ZONEINFO/posix -y "sh yearistype.sh" ${tz}
zic -L leapseconds -d $ZONEINFO/right -y "sh yearistype.sh" ${tz}
done
cp -v zone.tab zone1970.tab iso3166.tab $ZONEINFO
zic -d $ZONEINFO -p America/Sao_Paulo
unset ZONEINFO
[root@localhost ~]# zdump -v America/Sao_Paulo | egrep "2019|2020"
America/Sao_Paulo Sun Feb 17 01:59:59 2019 UT = Sat Feb 16 23:59:59 2019 -02 isdst=1 gmtoff=-7200
America/Sao_Paulo Sun Feb 17 02:00:00 2019 UT = Sat Feb 16 23:00:00 2019 -03 isdst=0 gmtoff=-10800
Source:
https://unix.stackexchange.com/question ... x-platform
Cya folks.
Thanks in advance.
Re: tzdata-2019a outdated
Posted: 2019/11/11 12:32:09
by BShT
update the bug entry so they will take care of it
Re: tzdata-2019a outdated
Posted: 2019/11/11 16:47:32
by TrevorH
I'm told that since RHEL 8.1 has been released, the missing tzdata package won't now be released until after 8.1 is built and tested and in CR. Personally I think this is the wrong decision and I asked what will happen to all those CentOS systems both in Brazil and neighbouring countries and didn't get an answer.