143 lines
5.6 KiB
Text
143 lines
5.6 KiB
Text
-----BEGIN PGP SIGNED MESSAGE-----
|
|
Hash: SHA512
|
|
|
|
=============================================================================
|
|
FreeBSD-EN-18:14.tzdata Errata Notice
|
|
The FreeBSD Project
|
|
|
|
Topic: Timezone database information update
|
|
|
|
Category: contrib
|
|
Module: zoneinfo
|
|
Announced: 2018-11-27
|
|
Credits: Philip Paeps
|
|
Affects: All supported versions of FreeBSD.
|
|
Corrected: 2018-10-31 02:01:28 UTC (stable/11, 11.2-STABLE)
|
|
2018-11-27 19:44:39 UTC (releng/11.2, 11.2-RELEASE-p5)
|
|
|
|
For general information regarding FreeBSD Errata Notices and Security
|
|
Advisories, including descriptions of the fields above, security
|
|
branches, and the following sections, please visit
|
|
<URL:https://security.FreeBSD.org/>.
|
|
|
|
I. Background
|
|
|
|
The tzsetup(8) program allows the user to specify the default local timezone.
|
|
Based on the selected timezone, tzsetup(8) copies one of the files from
|
|
/usr/share/zoneinfo to /etc/localtime. This file actually controls the
|
|
conversion.
|
|
|
|
II. Problem Description
|
|
|
|
Several changes in Daylight Savings Time happened after previous FreeBSD
|
|
releases were released that would affect many people who live in different
|
|
countries. Because of these changes, the data in the zoneinfo files need to
|
|
be updated, and if the local timezone on the running system is affected,
|
|
tzsetup(8) needs to be run so the /etc/localtime is updated.
|
|
|
|
III. Impact
|
|
|
|
An incorrect time will be displayed on a system configured to use one of the
|
|
affected timezones if the /usr/share/zoneinfo and /etc/localtime files are
|
|
not updated, and all applications on the system that rely on the system time,
|
|
such as cron(8) and syslog(8), will be affected.
|
|
|
|
IV. Workaround
|
|
|
|
The system administrator can install an updated timezone database from the
|
|
misc/zoneinfo port and run tzsetup(8) to get the timezone database corrected.
|
|
|
|
Applications that store and display times in Coordinated Universal Time (UTC)
|
|
are not affected.
|
|
|
|
V. Solution
|
|
|
|
Please note that some third party software, for instance PHP, Ruby, Java and
|
|
Perl, may be using different zoneinfo data source, in such cases this
|
|
software must be updated separately. For software packages that is installed
|
|
via binary packages, they can be upgraded by executing `pkg upgrade'.
|
|
|
|
Following the instructions in this Errata Notice will update all of the
|
|
zoneinfo files to be the same as what was released with FreeBSD release.
|
|
|
|
Perform one of the following:
|
|
|
|
1) Upgrade your system to a supported FreeBSD stable or release / security
|
|
branch (releng) dated after the correction date. Restart all the affected
|
|
applications and daemons, or reboot the system.
|
|
|
|
2) To update your system via a binary patch:
|
|
|
|
Systems running a RELEASE version of FreeBSD on the i386 or amd64
|
|
platforms can be updated via the freebsd-update(8) utility:
|
|
|
|
# freebsd-update fetch
|
|
# freebsd-update install
|
|
|
|
Restart all the affected applications and daemons, or reboot the system.
|
|
|
|
3) To update your system via a source code patch:
|
|
|
|
The following patches have been verified to apply to the applicable
|
|
FreeBSD release branches.
|
|
|
|
a) Download the relevant patch from the location below, and verify the
|
|
detached PGP signature using your PGP utility.
|
|
|
|
# fetch https://security.FreeBSD.org/patches/EN-18:14/tzdata-2018g.patch
|
|
# fetch https://security.FreeBSD.org/patches/EN-18:14/tzdata-2018g.patch.asc
|
|
# gpg --verify tzdata-2018g.patch.asc
|
|
|
|
b) Apply the patch. Execute the following commands as root:
|
|
|
|
# cd /usr/src
|
|
# patch < /path/to/patch
|
|
|
|
c) Recompile the operating system using buildworld and installworld as
|
|
described in <URL:https://www.FreeBSD.org/handbook/makeworld.html>.
|
|
|
|
Restart all the affected applications and daemons, or reboot the system.
|
|
|
|
VI. Correction details
|
|
|
|
The following list contains the correction revision numbers for each
|
|
affected branch.
|
|
|
|
Branch/path Revision
|
|
- -------------------------------------------------------------------------
|
|
stable/11/ r339938
|
|
releng/11.2/ r341091
|
|
- -------------------------------------------------------------------------
|
|
|
|
To see which files were modified by a particular revision, run the
|
|
following command, replacing NNNNNN with the revision number, on a
|
|
machine with Subversion installed:
|
|
|
|
# svn diff -cNNNNNN --summarize svn://svn.freebsd.org/base
|
|
|
|
Or visit the following URL, replacing NNNNNN with the revision number:
|
|
|
|
<URL:https://svnweb.freebsd.org/base?view=revision&revision=NNNNNN>
|
|
|
|
VII. References
|
|
|
|
The latest revision of this advisory is available at
|
|
<URL:https://security.FreeBSD.org/advisories/FreeBSD-EN-18:14.tzdata.asc>
|
|
-----BEGIN PGP SIGNATURE-----
|
|
|
|
iQKTBAEBCgB9FiEE/A6HiuWv54gCjWNV05eS9J6n5cIFAlv9n+ZfFIAAAAAALgAo
|
|
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEZD
|
|
MEU4NzhBRTVBRkU3ODgwMjhENjM1NUQzOTc5MkY0OUVBN0U1QzIACgkQ05eS9J6n
|
|
5cKLTA//f+IoMMK1aLX9Dj1JxdapNpqDjAhL1G+K13uUaLFI8r5+2/WGkZXWvwfh
|
|
8z9+KQA76gidGia4zac7DcXXogsqU2ld/JWOMKNgt5RxS43U4LvBAzyMnD1VxWUs
|
|
1Z+aMre+h4FW0sB+Hx7/Uo2Mcd70mNEmGMFCilEO6P+XaYY98AGyLIkX7t5XW4cF
|
|
6chmLy/gJAXKAsPv1sDHvlvvkLf8rdZuZ/Z5JID6nQsZU7RHKhr0IQqZ6SIURhEo
|
|
9TZSnUy+F9CCBPQNz8Sv6S9i/7ggCjyAeaiXQUO4gEvsGUJiovt6MOdeeCQbTnOK
|
|
0Gk7gCZ4SGF3nLXSKX4/AFLJn5Kro0v+88Lwoi/hJWhkEGQKgsE4BMMFXxI3Ukah
|
|
AQ1snXG1/H9dgY1Os1XEjXx4Oxq2Qbeu+Hqppc+YY00Q9b3k8OAEVBDZlgtHlBGc
|
|
oyOeffWw2nB/Vn8vOl3r+r2wUoTsjU8nVNXZLFMROQadRH2WPEpfSeHM/5PyBCW8
|
|
0LPru9Nrt/GbR8wqXSY8Zr7KWIAEC5nLxT0HO8sfbYv6gbEHjUNPezalaTWRn4TZ
|
|
0m2OHu2x2Tir5rcUgxsDvz0/LrB6RM8B0TPAqF77fIxvB+Hor6W3PCJbLuNnPiyK
|
|
ELx2PeumYDKoSxpcQXFPku24SqMYY5du9x80aoFv1tGxZOAJfMw=
|
|
=2jLJ
|
|
-----END PGP SIGNATURE-----
|