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

Bug#119540: marked as done (shellutils: date: erratic TZ handling)



Your message dated Mon, 21 Feb 2005 06:47:18 -0500
with message-id <E1D3C22-0002w5-00@newraff.debian.org>
and subject line Bug#269238: fixed in autofs 4.1.3+4.1.4beta2-3
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 Nov 2001 06:39:12 +0000
>From era@[194.29.198.66] Wed Nov 14 00:39:12 2001
Return-path: <era@[194.29.198.66]>
Received: from rhols66.adsl.netsonic.fi (there) [194.29.198.66] 
	by master.debian.org with esmtp (Exim 3.12 1 (Debian))
	id 163thY-00086B-00; Wed, 14 Nov 2001 00:39:12 -0600
Received: from era by there with local (Exim 3.12 #1 (Debian))
	id 163tt6-0007rj-00; Wed, 14 Nov 2001 08:51:08 +0200
From: era eriksson <era@iki.fi>
Subject: shellutils: date: erratic TZ handling
To: submit@bugs.debian.org
X-Mailer: bug 3.2.10
Message-Id: <E163tt6-0007rj-00@there>
Sender: era eriksson <era@[194.29.198.66]>
Date: Wed, 14 Nov 2001 08:51:08 +0200
Delivered-To: submit@bugs.debian.org

Package: shellutils
Version: 2.0-7
Severity: normal

The date command's handling of time zones is somewhat erratic. It
recognizes some time zone identifiers, but not others. Making matters
worse, there is no way to tell whether it is actually using TZ or not.

 $ date
 Wed Nov 14 08:37:49 EET 2001

 $ TZ=UTC date
 Wed Nov 14 06:37:55 UTC 2001

 $ TZ=EST date
 Wed Nov 14 01:37:59 EST 2001

 $ TZ=PST date
 Wed Nov 14 06:38:02 PST 2001
    # huh, it actually gave me UTC, but it says "PST" in the output

 $ TZ=FOO date
 Wed Nov 14 06:38:45 FOO 2001
    # uh huh, so anything it doesn't recognize is UTC, right?

 $ TZ=-0800 date
 Wed Nov 14 06:39:04  2001
    # even more weird

 $ TZ=UTC-0800 date
 Thu Nov 15 05:39:26 UTC 2001
    # still more weird!

IMNSHO, there should be a warning message if the time zone can't be
correctly parsed. And most definitely, the generated time stamp should
never contain a bogus time zone identifier.

Also, the documentation has no mention of the TZ environment variable,
although its contents clearly affect the output from the program. (I
checked both the man page and [bletch] info.) I suppose my attempts to
use a numeric time zone designator in the examples above are a good
case for the need to document allowable values for TZ ...

I believe the trick to use TZ to shift the output of date to another
time zone is a well-established convention, and so I would definitely
argue agaisnt sweeping the whole issue under the rug by disabling TZ
support altogether. But it certainly should be documented, at the very
least.

/* era */


-- System Information
Debian Release: 2.2
Kernel Version: Linux there 2.2.17 #1 Sun Jun 25 09:24:41 EST 2000 i586 unknown

Versions of the packages shellutils depends on:
ii  libc6          2.1.3-18       GNU C Library: Shared libraries and Timezone
ii  login          19990827-20    System login tools

---------------------------------------
Received: (at 269238-close) by bugs.debian.org; 21 Feb 2005 11:53:03 +0000
>From katie@ftp-master.debian.org Mon Feb 21 03:53:02 2005
Return-path: <katie@ftp-master.debian.org>
Received: from newraff.debian.org [208.185.25.31] (mail)
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1D3C7a-0003JD-00; Mon, 21 Feb 2005 03:53:02 -0800
Received: from katie by newraff.debian.org with local (Exim 3.35 1 (Debian))
	id 1D3C22-0002w5-00; Mon, 21 Feb 2005 06:47:18 -0500
From: sesse@debian.org (Steinar H. Gunderson)
To: 269238-close@bugs.debian.org
X-Katie: $Revision: 1.55 $
Subject: Bug#269238: fixed in autofs 4.1.3+4.1.4beta2-3
Message-Id: <E1D3C22-0002w5-00@newraff.debian.org>
Sender: Archive Administrator <katie@ftp-master.debian.org>
Date: Mon, 21 Feb 2005 06:47:18 -0500
Delivered-To: 269238-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-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
X-Spam-Level: 

Source: autofs
Source-Version: 4.1.3+4.1.4beta2-3

We believe that the bug you reported is fixed in the latest version of
autofs, which is due to be installed in the Debian FTP archive:

autofs-hesiod_4.1.3+4.1.4beta2-3_i386.deb
  to pool/main/a/autofs/autofs-hesiod_4.1.3+4.1.4beta2-3_i386.deb
autofs-ldap_4.1.3+4.1.4beta2-3_i386.deb
  to pool/main/a/autofs/autofs-ldap_4.1.3+4.1.4beta2-3_i386.deb
autofs_4.1.3+4.1.4beta2-3.diff.gz
  to pool/main/a/autofs/autofs_4.1.3+4.1.4beta2-3.diff.gz
autofs_4.1.3+4.1.4beta2-3.dsc
  to pool/main/a/autofs/autofs_4.1.3+4.1.4beta2-3.dsc
autofs_4.1.3+4.1.4beta2-3_i386.deb
  to pool/main/a/autofs/autofs_4.1.3+4.1.4beta2-3_i386.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 269238@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Steinar H. Gunderson <sesse@debian.org> (supplier of updated autofs package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Mon, 21 Feb 2005 12:36:31 +0100
Source: autofs
Binary: autofs-hesiod autofs-ldap autofs
Architecture: source i386
Version: 4.1.3+4.1.4beta2-3
Distribution: unstable
Urgency: low
Maintainer: Steinar H. Gunderson <sesse@debian.org>
Changed-By: Steinar H. Gunderson <sesse@debian.org>
Description: 
 autofs     - kernel-based automounter for Linux
 autofs-hesiod - Hesiod map support for autofs
 autofs-ldap - LDAP map support for autofs
Closes: 269238 296243
Changes: 
 autofs (4.1.3+4.1.4beta2-3) unstable; urgency=low
 .
   * Urgency=high, fixes RC-bugs.
   * 053_handle_tabs_in_nsswitch_conf: New patch, revert grep in nsswitch.conf
     to the version we had in 4.1.3, so tabs work again.
     (Closes: #269238, #296243)
   * Remove leading article from the autofs package description.
Files: 
 5310af186a6a1999aa63a31e7fe95d62 673 utils extra autofs_4.1.3+4.1.4beta2-3.dsc
 a2b24c47ef99c654ef0dbb6cfd053cf9 28820 utils extra autofs_4.1.3+4.1.4beta2-3.diff.gz
 e3e089f01a2fc342263bd60d494fdf6e 104156 utils extra autofs_4.1.3+4.1.4beta2-3_i386.deb
 8ef7a253dba941a44927eab7eb68250f 22858 utils extra autofs-hesiod_4.1.3+4.1.4beta2-3_i386.deb
 98842e4b69c6e2d4e0c2e693475ab7db 34922 utils extra autofs-ldap_4.1.3+4.1.4beta2-3_i386.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)

iD8DBQFCGchkXKRQ3lK3SH4RAuxNAJoDIQ8Tka0ztchZia5mH9oT5FcaBwCfeypC
wI8YRgsBr9BG3URQcckDFlw=
=3b4f
-----END PGP SIGNATURE-----



Reply to: