Copyright 2024 - CSIM - Asian Institute of Technology

[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Subject: [FreeBSD-Announce] FreeBSD Errata Notice FreeBSD-EN-16:20.tzdata
From: FreeBSD Errata Notices <This email address is being protected from spambots. You need JavaScript enabled to view it.>
Date: Tue, 6 Dec 2016 19:17:50 +0000 (UTC)

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

=============================================================================
FreeBSD-EN-16:20.tzdata                                         Errata Notice
                                                          The FreeBSD Project

Topic:          Timezone database information update

Category:       contrib
Module:         zoneinfo
Announced:      2016-12-06
Credits:        Maxim Sobolev
Affects:        All supported versions of FreeBSD
Corrected:      2016-11-04 17:55:50 UTC (stable/11, 11.0-STABLE)
                2016-12-06 00:06:16 UTC (releng/11.0, 11.0-RELEASE-p4)
                2016-11-04 17:55:50 UTC (stable/10, 10.3-STABLE)
                2016-12-05 23:30:13 UTC (releng/10.3, 10.3-RELEASE-p13)
                2016-12-05 23:26:06 UTC (releng/10.2, 10.2-RELEASE-p26)
                2016-12-05 23:23:13 UTC (releng/10.1, 10.1-RELEASE-p43)
                2016-11-04 17:55:50 UTC (stable/9, 9.3-STABLE)
                2016-12-05 23:02:02 UTC (releng/9.3, 9.3-RELEASE-p51)

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 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.  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.

[FreeBSD 11.0]
# fetch https://security.FreeBSD.org/patches/EN-16:20/tzdata-11.0.patch
# fetch https://security.FreeBSD.org/patches/EN-16:20/tzdata-11.0.patch.asc
# gpg --verify tzdata-11.0.patch.asc

[FreeBSD 10.3]
# fetch https://security.FreeBSD.org/patches/EN-16:20/tzdata-10.3.patch
# fetch https://security.FreeBSD.org/patches/EN-16:20/tzdata-10.3.patch.asc
# gpg --verify tzdata-10.3.patch.asc

[FreeBSD 10.2]
# fetch https://security.FreeBSD.org/patches/EN-16:20/tzdata-10.2.patch
# fetch https://security.FreeBSD.org/patches/EN-16:20/tzdata-10.2.patch.asc
# gpg --verify tzdata-10.2.patch.asc

[FreeBSD 10.1]
# fetch https://security.FreeBSD.org/patches/EN-16:20/tzdata-10.1.patch
# fetch https://security.FreeBSD.org/patches/EN-16:20/tzdata-10.1.patch.asc
# gpg --verify tzdata-10.1.patch.asc

[FreeBSD 9.3]
# fetch https://security.FreeBSD.org/patches/EN-16:20/tzdata-9.3.patch
# fetch https://security.FreeBSD.org/patches/EN-16:20/tzdata-9.3.patch.asc
# gpg --verify tzdata-9.3.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/9/                                                         r308302
releng/9.3/                                                       r309568
stable/10/                                                        r308302
releng/10.1/                                                      r309574
releng/10.2/                                                      r309576
releng/10.3/                                                      r309577
stable/11/                                                        r308302
releng/11.0/                                                      r309583
- -------------------------------------------------------------------------

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>

The latest revision of this advisory is available at
<URL:https://security.FreeBSD.org/advisories/FreeBSD-EN-16:20.tzdata.asc>
-----BEGIN PGP SIGNATURE-----

iQIcBAEBCgAGBQJYRw1qAAoJEO1n7NZdz2rnGCwQALsF2A+HnuJMUsbVUXfLCa92
zzId31hBC039WwyAjsSeYO1GjKu/KRfsjV4yzJ9uArLBsx+wRRltMeuoMgl4P/z4
huqh9huQJaRACPdgPoGfrPZItbKeo63sAOzMpBa0Z9TBaxN8NzTCAkcFt+iFM/Oi
eQaGH3JlfASFwIRN+CIlVhhUwfufsXf5KI5Vk2k3CmF88n5uQCUwybwckZYp2Cl5
vHGJh5wkyh/pkZ3W4NljQdRXQYkosj27IIaAym4RCQnQgOlJYRxxEJWMw631EFRw
PIUgDfOcLKwG1e2V9XF0TnyKXvj7Uwt8lSUNyGUmfiBAdrWiSzfbL81+puKYzwOY
wisSNnEXpXBBhAMSVvWvt91o/Oe4HxJ7ZAT4w9FlUjbaJ3ahPh3phb9VPBXPuHhT
IJ+mWoEG3atQafJCPAwNmuIXh4V+Vo0UyimCrNBqWNOMqepyto93sdlYYcYhV/Bg
zhOWxbSObKPhoLrsaIKVRVVEvTeotDEZKNgKu6U+twaBv5JMnyUdlqQKfxYfmzAR
4N8YwFFSwrYiSVfGVBOM62AicSICNBxvzzb0xrvEw8c2KYbNv+MnE7/sQ/Wd/aR2
t6PJIwYk7hAPSFmKLNf3ebYaTuybCyYWjYmzpplcRxBF9MuHxdd8bGuVvo/ZK1Jv
Lb0DmoBUk7O77KJxeqTI
=Pj/k
-----END PGP SIGNATURE-----
_______________________________________________
This email address is being protected from spambots. You need JavaScript enabled to view it. mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-announce
To unsubscribe, send any mail to "This email address is being protected from spambots. You need JavaScript enabled to view it."

Powered by: MHonArc

Login Form

Search

School of Engineering and technologies     Asian Institute of Technology