time zone files are not set up correctly

Bug #1294861 reported by Chris J Arges
34
This bug affects 5 people
Affects Status Importance Assigned to Milestone
eglibc (Ubuntu)
Won't Fix
Undecided
Unassigned
Trusty
Fix Released
Medium
Chris J Arges
glibc (Ubuntu)
Fix Released
Undecided
Unassigned
Trusty
Invalid
Undecided
Unassigned

Bug Description

[Impact]
tzselect's TZDIR variable is set to pwd causing it to fail:

[Test Case]
$ tzselect
/usr/bin/tzselect: line 171: /home/ubuntu/iso3166.tab: No such file or directory
/usr/bin/tzselect: time zone files are not set up correctly

[Regression Potential]
This patch is taken from upstream to fix this issue.

[Workaround]
Change /usr/bin/tzselect from:
${TZDIR=`pwd`}
to
${TZDIR=/usr/share/zoneinfo}

ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: libc-bin 2.19-0ubuntu2
ProcVersionSignature: Ubuntu 3.13.0-17.37-generic 3.13.6
Uname: Linux 3.13.0-17-generic x86_64
ApportVersion: 2.13.3-0ubuntu1
Architecture: amd64
Date: Wed Mar 19 16:14:34 2014
Dependencies:
 gcc-4.9-base 4.9-20140303-0ubuntu3
 libc6 2.19-0ubuntu2
 libcap2 1:2.24-0ubuntu2
 libgcc1 1:4.9-20140303-0ubuntu3
 multiarch-support 2.19-0ubuntu2
InstallationDate: Installed on 2014-03-17 (2 days ago)
InstallationMedia: Ubuntu-Server 14.04 LTS "Trusty Tahr" - Alpha amd64 (20140313)
ProcEnviron:
 TERM=xterm
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: eglibc
UpgradeStatus: No upgrade log present (probably fresh install)

CVE References

Chris J Arges (arges)
Changed in eglibc (Ubuntu):
importance: Undecided → Medium
assignee: nobody → Chris J Arges (arges)
status: New → In Progress
Chris J Arges (arges)
description: updated
Revision history for this message
Chris J Arges (arges) wrote :

This patch combines a few upstream patches to get this working properly.

tags: added: patch
Chris J Arges (arges)
Changed in eglibc (Ubuntu):
assignee: Chris J Arges (arges) → nobody
Changed in eglibc (Ubuntu Trusty):
assignee: nobody → Chris J Arges (arges)
importance: Undecided → Medium
Changed in eglibc (Ubuntu):
status: In Progress → Won't Fix
importance: Medium → Undecided
Changed in eglibc (Ubuntu Trusty):
status: New → In Progress
Revision history for this message
Chris J Arges (arges) wrote :

Marked as 'Won't Fix' in Utopic since we use glibc there, which doesn't exhibit this bug.

description: updated
Revision history for this message
Chris J Arges (arges) wrote :

Uploaded fix for Trusty.

Revision history for this message
Chris Halse Rogers (raof) wrote : Please test proposed package

Hello Chris, or anyone else affected,

Accepted eglibc into trusty-proposed. The package will build now and be available at http://launchpad.net/ubuntu/+source/eglibc/2.19-0ubuntu6.2 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, and change the tag from verification-needed to verification-done. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed. In either case, details of your testing will help us make a better decision.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance!

Changed in eglibc (Ubuntu Trusty):
status: In Progress → Fix Committed
tags: added: verification-needed
Adam Conrad (adconrad)
Changed in glibc (Ubuntu Trusty):
status: New → Invalid
Revision history for this message
Adam Conrad (adconrad) wrote :

Oh, this is already fixed in utopic with the git-updates pull from the stable branch.

Changed in glibc (Ubuntu):
status: New → Fix Released
Revision history for this message
Chris J Arges (arges) wrote :

Verified 'tzselect' works with 2.19-0ubuntu6.2.

tags: added: verification-done
removed: verification-needed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package eglibc - 2.19-0ubuntu6.3

---------------
eglibc (2.19-0ubuntu6.3) trusty; urgency=medium

  * SECURITY UPDATE: heap overflow in __gconv_translit_find() (LP: #1362409)
    - debian/patches/any/cvs-CVE-2014-5119.diff: Backport upstream commit to
      completely remove support for loadable gconv transliteration modules.
 -- Adam Conrad <email address hidden> Wed, 27 Aug 2014 22:19:15 -0600

Changed in eglibc (Ubuntu Trusty):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.