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

Bug#333927: marked as done (libc6: Timezone calculation for files in /usr/share/zoneinfo/Etc are inversed!)



Your message dated Fri, 14 Oct 2005 14:24:05 -0400
with message-id <20051014182405.GA30567@nevyn.them.org>
and subject line Bug#333927: libc6: Timezone calculation for files in /usr/share/zoneinfo/Etc are inversed!
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 14 Oct 2005 14:38:26 +0000
>From gleydson@debian.org Fri Oct 14 07:38:26 2005
Return-path: <gleydson@debian.org>
Received: from denver.procergs.com.br (denver.cipsga.org.br) [200.198.129.163] 
	by spohr.debian.org with esmtp (Exim 3.36 1 (Debian))
	id 1EQQhW-0002DI-00; Fri, 14 Oct 2005 07:38:26 -0700
Received: from localhost (localhost [127.0.0.1])
	by denver.cipsga.org.br (Postfix) with ESMTP id 40C829325B
	for <submit@bugs.debian.org>; Fri, 14 Oct 2005 11:38:22 -0300 (BRT)
Received: from denver.cipsga.org.br ([127.0.0.1])
	by localhost (denver [127.0.0.1]) (amavisd-new, port 10024) with LMTP
	id 02778-03 for <submit@bugs.debian.org>;
	Fri, 14 Oct 2005 11:38:12 -0300 (BRT)
Received: from sullyvan (unknown [201.29.63.190])
	by denver.cipsga.org.br (Postfix) with ESMTP id 1C6599325C
	for <submit@bugs.debian.org>; Fri, 14 Oct 2005 11:38:11 -0300 (BRT)
Received: from gleydson by sullyvan with local (Exim 3.36 #1 (Debian))
	id 1EQQhF-0001rS-00
	for <submit@bugs.debian.org>; Fri, 14 Oct 2005 11:38:09 -0300
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: Gleydson Mazioli da Silva <gleydson@debian.org>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: libc6: Timezone calculation for files in /usr/share/zoneinfo/Etc are
 inversed!
X-Mailer: reportbug 3.8
Date: Fri, 14 Oct 2005 11:38:09 -0300
Message-Id: <[🔎] E1EQQhF-0001rS-00@sullyvan>
Sender: Gleydson Mazioli da Silva <gleydson@debian.org>
Delivered-To: submit@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Level: 
X-Spam-Status: No, hits=-6.0 required=4.0 tests=BAYES_00,HAS_PACKAGE,
	RCVD_IN_DSBL autolearn=no version=2.60-bugs.debian.org_2005_01_02

Package: libc6
Version: 2.3.2.ds1-22
Severity: critical
Justification: breaks unrelated software


The date show by "date" command (or zdump) for localtime configured 
for files in /usr/share/zoneinfo/Etc are inversed (GMT-Number act as
GMT+Number, and GMT+Number work like GMT-Number)  this cause bad 
date to be written to log files and causes the system to run maintanance
tasks out of sync with other systems (database shutdown, by instance), 
causing availability problems for systems running in production environment,
backup problems, etc. 
how to reproduce this bug:

(GMT Time is now 14:27)
zdump /usr/share/zoneinfo/Etc/GMT-3
/usr/share/zoneinfo/Etc/GMT-3 Fri Oct 14 17:27:22 2005 GMT-3

This bug was reproduced on every system that has Sarge installed.

-- System Information:
Debian Release: 3.1
Architecture: i386 (i586)
Kernel: Linux 2.4.31-ow1
Locale: LANG=pt_BR, LC_CTYPE=ISO-8859-1 (charmap=ISO-8859-1) (ignored: LC_ALL set to pt_BR)

Versions of packages libc6 depends on:
ii  libdb1-compat                 2.1.3-7    The Berkeley database routines [gl

-- no debconf information

---------------------------------------
Received: (at 333927-close) by bugs.debian.org; 14 Oct 2005 18:24:07 +0000
>From drow@nevyn.them.org Fri Oct 14 11:24:07 2005
Return-path: <drow@nevyn.them.org>
Received: from nevyn.them.org [66.93.172.17] 
	by spohr.debian.org with esmtp (Exim 3.36 1 (Debian))
	id 1EQUDv-0000eY-00; Fri, 14 Oct 2005 11:24:07 -0700
Received: from drow by nevyn.them.org with local (Exim 4.54)
	id 1EQUDt-0008Ga-Rd; Fri, 14 Oct 2005 14:24:05 -0400
Date: Fri, 14 Oct 2005 14:24:05 -0400
From: Daniel Jacobowitz <drow@false.org>
To: Gleydson Mazioli da Silva <gleydson@debian.org>,
	333927-close@bugs.debian.org
Subject: Re: Bug#333927: libc6: Timezone calculation for files in /usr/share/zoneinfo/Etc are inversed!
Message-ID: <20051014182405.GA30567@nevyn.them.org>
References: <[🔎] E1EQQhF-0001rS-00@sullyvan>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <[🔎] E1EQQhF-0001rS-00@sullyvan>
User-Agent: Mutt/1.5.8i
Delivered-To: 333927-close@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Level: 
X-Spam-Status: No, hits=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER 
	autolearn=no version=2.60-bugs.debian.org_2005_01_02

On Fri, Oct 14, 2005 at 11:38:09AM -0300, Gleydson Mazioli da Silva wrote:
> Package: libc6
> Version: 2.3.2.ds1-22
> Severity: critical
> Justification: breaks unrelated software
> 
> 
> The date show by "date" command (or zdump) for localtime configured 
> for files in /usr/share/zoneinfo/Etc are inversed (GMT-Number act as
> GMT+Number, and GMT+Number work like GMT-Number)  this cause bad 
> date to be written to log files and causes the system to run maintanance
> tasks out of sync with other systems (database shutdown, by instance), 
> causing availability problems for systems running in production environment,
> backup problems, etc. 
> how to reproduce this bug:
> 
> (GMT Time is now 14:27)
> zdump /usr/share/zoneinfo/Etc/GMT-3
> /usr/share/zoneinfo/Etc/GMT-3 Fri Oct 14 17:27:22 2005 GMT-3
> 
> This bug was reproduced on every system that has Sarge installed.

First of all, this is not a critical bug; it does not cause serious
data loss, it does not introduce a security hole, and it affects only
"related" software.

Secondly, it's not a bug at all.  From the timezone data:

# We use POSIX-style signs in the Zone names and the output abbreviations,
# even though this is the opposite of what many people expect.
# POSIX has positive signs west of Greenwich, but many people expect
# positive signs east of Greenwich.  For example, TZ='Etc/GMT+4' uses
# the abbreviation "GMT+4" and corresponds to 4 hours behind UTC
# (i.e. west of Greenwich) even though many people would expect it to
# mean 4 hours ahead of UTC (i.e. east of Greenwich).

-- 
Daniel Jacobowitz
CodeSourcery, LLC



Reply to: