149 lines
6.1 KiB
Text
149 lines
6.1 KiB
Text
-----BEGIN PGP SIGNED MESSAGE-----
|
|
Hash: SHA512
|
|
|
|
=============================================================================
|
|
FreeBSD-EN-18:03.tzdata Errata Notice
|
|
The FreeBSD Project
|
|
|
|
Topic: Timezone database information update
|
|
|
|
Category: contrib
|
|
Module: zoneinfo
|
|
Announced: 2018-04-04
|
|
Credits: Philip Paeps
|
|
Affects: All supported versions of FreeBSD
|
|
Corrected: 2018-03-28 07:42:50 UTC (stable/11, 11.1-STABLE)
|
|
2018-04-04 05:40:48 UTC (releng/11.1, 11.1-RELEASE-p9)
|
|
2018-03-28 07:45:57 UTC (stable/10, 10.4-STABLE)
|
|
2018-04-04 05:40:48 UTC (releng/10.4, 10.4-RELEASE-p8)
|
|
2018-04-04 05:40:48 UTC (releng/10.3, 10.3-RELEASE-p29)
|
|
|
|
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:03/tzdata-2018d.patch
|
|
# fetch https://security.FreeBSD.org/patches/EN-18:03/tzdata-2018d.patch.asc
|
|
# gpg --verify tzdata-2018d.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/10/ r331663
|
|
releng/10.3/ r331986
|
|
releng/10.4/ r331986
|
|
stable/11/ r331662
|
|
releng/11.1/ r331986
|
|
- -------------------------------------------------------------------------
|
|
|
|
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:03.tzdata.asc>
|
|
-----BEGIN PGP SIGNATURE-----
|
|
|
|
iQKTBAEBCgB9FiEE/A6HiuWv54gCjWNV05eS9J6n5cIFAlrEZutfFIAAAAAALgAo
|
|
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEZD
|
|
MEU4NzhBRTVBRkU3ODgwMjhENjM1NUQzOTc5MkY0OUVBN0U1QzIACgkQ05eS9J6n
|
|
5cKJ7A/+NXjXPibYne7thcIjSJPFJDlA13Ga4UhKytjO7KW2wN5CjQp62ULwCfaO
|
|
dcl5ysljMGXxNmCBqCcfQrO9AL7vnOxQSr60KwB8AAzIBPfLzXrqopXW2fB/8pKP
|
|
cOTJHpZlNQ4P8cJ1OHpjsovcA5a/7KQ87BgRj8AUJoeTlCPoLlDlnyCR6VMOswSa
|
|
a8PX9cAb+lcQWGg56E+n7ZE0JEMDHUVwvHplU1m5nn1Dn8b04na+tn3MRMKi2iqF
|
|
Y9MhLavfY1UzwXkuUKf/ODTuGSYF8Sy4lJgLrqs4awJXErIJvJNbh6V4h8uRpEIY
|
|
iUN+wPBWsvfZ4X0KSb+4aPI5jpKnE2LATHiz2vDYuDZ5U5y9ec8GMuGnFOueNwcb
|
|
vMQkPPPOj7VTTKUZPHgAGdYlsO9mLTMkAjiTPwB0kZ6P7MN0211dHN+fvr8Skwyl
|
|
x9IFVW6h9XtTvSqU29/Nd3KSFORuiKowokxWTQ+jnEdsYCsm0wQNKH6avxedbEAA
|
|
oKowh4zfTGO2jOzcuCtfmZNUFUAVYE0SASnYD4rxEDcuJNx/jSVhf1wY97G22s7n
|
|
aLKDnHHGKHsLzQAuFEITaC0pMTs41XL1baO9RtjtZDSz/dKla+ZsgQk5yVKyR2v7
|
|
tW6ertUBZiUfD50d0GKPgGEMTWH9k5a5hJvMhAMLfHzhxBT0B+w=
|
|
=k+2X
|
|
-----END PGP SIGNATURE-----
|