FreeBSD Errata Notices
2014-Oct-22 21:07 UTC
[FreeBSD-Announce] FreeBSD Errata Notice FreeBSD-EN-14:10.tzdata
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 ============================================================================FreeBSD-EN-14:10.tzdata Errata Notice The FreeBSD Project Topic: Time zone data file update Category: contrib Module: zoneinfo Announced: 2014-10-22 Affects: All supported versions of FreeBSD prior to FreeBSD 10.1-BETA1 Corrected: 2014-08-29 13:41:21 UTC (stable/10, 10.1-PRERELEASE) 2014-10-21 23:52:25 UTC (releng/10.0, 10.0-RELEASE-p11) 2014-08-29 13:27:49 UTC (stable/9, 9.3-STABLE) 2014-10-21 23:50:46 UTC (releng/9.3, 9.3-RELEASE-p4) 2014-10-21 23:52:25 UTC (releng/9.2, 9.2-RELEASE-p14) 2014-10-21 23:52:25 UTC (releng/9.1, 9.1-RELEASE-p21) 2014-08-29 13:26:11 UTC (stable/8, 8.4-STABLE) 2014-10-21 23:52:25 UTC (releng/8.4, 8.4-RELEASE-p18) 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:http://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 these software has to be updated separately. For software packages that is installed via package collection, they can be upgraded by doing a `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. 2) To update your present 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. [FreeBSD 8.4] # fetch http://security.FreeBSD.org/patches/EN-14:10/tzdata-8.4.patch # fetch http://security.FreeBSD.org/patches/EN-14:10/tzdata-8.4.patch.asc # gpg --verify tzdata-8.4.patch.asc [FreeBSD 9.1] # fetch http://security.FreeBSD.org/patches/EN-14:10/tzdata-9.1.patch # fetch http://security.FreeBSD.org/patches/EN-14:10/tzdata-9.1.patch.asc # gpg --verify tzdata-9.1.patch.asc [FreeBSD 9.2] # fetch http://security.FreeBSD.org/patches/EN-14:10/tzdata-9.2.patch # fetch http://security.FreeBSD.org/patches/EN-14:10/tzdata-9.2.patch.asc # gpg --verify tzdata-9.2.patch.asc [FreeBSD 9.3] # fetch http://security.FreeBSD.org/patches/EN-14:10/tzdata-9.3.patch # fetch http://security.FreeBSD.org/patches/EN-14:10/tzdata-9.3.patch.asc # gpg --verify tzdata-9.3.patch.asc [FreeBSD 10.0] # fetch http://security.FreeBSD.org/patches/EN-14:10/tzdata-10.0.patch # fetch http://security.FreeBSD.org/patches/EN-14:10/tzdata-10.0.patch.asc # gpg --verify tzdata-10.0.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:http://www.FreeBSD.org/handbook/makeworld.html>. Restart all the affected applications and daemons, or reboot the system. 3) 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 VI. Correction details The following list contains the revision numbers of each file that was corrected in FreeBSD. Branch/path Revision - ------------------------------------------------------------------------- stable/8/ r270814 releng/8.4/ r273439 stable/9/ r270815 releng/9.1/ r273439 releng/9.2/ r273439 releng/9.3/ r273438 stable/10/ r270817 releng/10.0/ r273439 - ------------------------------------------------------------------------- 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:http://svnweb.freebsd.org/base?view=revision&revision=NNNNNN> VII. References The latest revision of this Errata Notice is available at http://security.FreeBSD.org/advisories/FreeBSD-EN-14:10.tzdata.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0 iQIcBAEBCgAGBQJUSA5BAAoJEO1n7NZdz2rnUusP/ijQW4Dsn4R9rMta1e7ZokhN YR02tSR+CHUYM/ks0AB8s6NYt6VfK7EAeMiIZqM+EK1Sg8RWfG1NsOJ/JR4K9aSk gbkqDUbJ/ACBz8MkKQegpI4wXJIYd5DipajJncN+960HJ2qu7gY7NSQGTjbfvA// MIbNLgxpmVDr3BHFYGYW4Y1dBqIWzrjaBX8aURmqOP6KOZ+x2Y0UeNmjCGifQTqv 2yv2Fw8GnPNQpQu5rlPgL9uLn2YVAsCrhz8CXSvf10gEij1fM+COAqbXhxBMEEjs ZOfUWqtCPL4p/fToiQVsq7g6SzmukxUDbH+kAo4jbZhixGmscPo83sklt3u7++vZ nNV0ascp0hFN+prDPGZ1nVlAhQtUYOY1RX1fQ1d7yWJhVfy+zJUAbglL6C06+oUr QX4YLaS2oD4VqCTqM+cGJEgvF8z4CUGy2wPkRsPxWFslmqAewTpOrcOB+xlFDCjo Rymp1zbusduRm2PAFOaQigtRG7JjW448Q5NkZR+TY5ZlmQLdO55o+x1Sm1FxOGUW o/tFWH5wzmKidGQq2cSG2fXe4lAbo7kPkc+9cCCrF0OQldjbU27fQXQUROmHHZhE mJdBBAH4SOX3nGVsZM79zIwTw3rXcekv0hdPoCkHxJySJZO9bDLpTdEip3hLM4Xq i++VVywJAeUJ752xLXc0 =hb2R -----END PGP SIGNATURE-----