Bug#343237: marked as forwarded (Incorrect timestamp generated after daylight savings time ends)

Debian Bug Tracking System owner at bugs.debian.org
Thu Dec 15 22:03:46 UTC 2005


Your message dated Thu, 15 Dec 2005 22:38:11 +0100
with message-id <1134682691.6945.23.camel at otto.ehbuehl.net>
has caused the Debian Bug report #343237,
regarding Incorrect timestamp generated after daylight savings time ends
to be marked as having been forwarded to the upstream software
author(s) David Schweikert <dws at ee.ethz.ch>.

(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 343237-forwarded) by bugs.debian.org; 15 Dec 2005 21:38:27 +0000
>From msg at joachim-breitner.de Thu Dec 15 13:38:26 2005
Return-path: <msg at joachim-breitner.de>
Received: from nomeata.de
	([83.133.81.20] helo=quimby.ehbuehl.net ident=Debian-exim)
	by spohr.debian.org with esmtp (Exim 4.50)
	id 1En0ny-0004PV-Im
	for 343237-forwarded at bugs.debian.org; Thu, 15 Dec 2005 13:38:26 -0800
Received: from rzstud3.stud.uni-karlsruhe.de ([193.196.41.39] helo=otto.ehbuehl.net)
	by quimby.ehbuehl.net with esmtpsa (TLS-1.0:RSA_AES_256_CBC_SHA:32)
	(Exim 4.50)
	id 1En0qc-0007XD-4C; Thu, 15 Dec 2005 22:41:11 +0100
Received: from jojo by otto.ehbuehl.net with local (Exim 4.60)
	(envelope-from <msg at joachim-breitner.de>)
	id 1En0nj-00020a-E1; Thu, 15 Dec 2005 22:38:11 +0100
Subject: Parse::Syslog: Bug#343237: Incorrect timestamp generated after
	daylight savings time ends]
From: Joachim Breitner <nomeata at debian.org>
To: David Schweikert <dws at ee.ethz.ch>
Content-Type: text/plain
Content-Transfer-Encoding: 7bit
Date: Thu, 15 Dec 2005 22:38:11 +0100
Message-Id: <1134682691.6945.23.camel at otto.ehbuehl.net>
Mime-Version: 1.0
X-Mailer: Evolution 2.2.3 
Sender: Joachim Breitner <msg at joachim-breitner.de>
X-Spam-Score: -2.6 (--)
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=-11.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER,
	HAS_PACKAGE autolearn=ham version=2.60-bugs.debian.org_2005_01_02

Hi David,

this bugreport came in via the Debian bug tracking system, see
http://bugs.debian.org/cgi-bin/pkgreport.cgi?pkg=libparse-syslog-perl

There are actually two bugs,
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=343237 and
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=343243 and both refer
to "difficult" syslog lines. The first one has a short discussion (see
the above link). I thought this is best fixed by you as the upstream
author, so CPAN- and other users can benefit too.

Thanks,
Joachim Breitner
on behalf of the Debian Perl Team.

-------- Weitergeleitete Nachricht --------
Von: Anthony DeRobertis <anthony at derobert.net>
Antwort an: Anthony DeRobertis <anthony at derobert.net>,
343237 at bugs.debian.org
An: Debian Bug Tracking System <submit at bugs.debian.org>
Betreff: Bug#343237: Incorrect timestamp generated after daylight
savings time ends
Datum: Tue, 13 Dec 2005 16:02:12 -0500

Package: libparse-syslog-perl
Version: 1.03-1
Severity: normal

Our syslog near the end of October this year looks like this:

Oct 30 01:59:53 ivr3 bayonne: dx(8): play
Oct 30 01:59:58 ivr3 bayonne: dx(8): step ffff sleep(%timeout)
Oct 30 01:59:58 ivr3 bayonne: dx(8): sleep
Oct 30 01:00:00 ivr3 CROND[6946]: (root) CMD (/usr/lib/sa/sa1 1 1) 
Oct 30 01:00:00 ivr3 CROND[6947]: (root) CMD (/usr/local/bin/runtsync) 
Oct 30 01:00:04 ivr3 bayonne: dx(8): step ffff set(%warning,%noinput)

Parse::Syslog doesn't correctly handle the second 1AM. Instead, it warps
the time backwards! That is, if you paste the above into the following:

perl -MParse::Syslog -e 'my $p = new Parse::Syslog("/dev/stdin", arrayref => 1); while ($arr = $p->next) { print "$arr->[0]\n" }'

You get:

1130651993
1130651998
1130651998
1130648400
1130648400
1130648404

When it finally hits this line:

Oct 30 02:00:00 ivr3 CROND[7083]: (root) CMD (/usr/lib/sa/sa1 1 1) 

it manages to spit out a correct time stamp again, 1130655600.

-- System Information:
Debian Release: 3.1
  APT prefers stable
  APT policy: (500, 'stable'), (99, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.14-2-686-smp
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)

Versions of packages libparse-syslog-perl depends on:
ii  perl                          5.8.4-8    Larry Wall's Practical Extraction 

libparse-syslog-perl recommends no packages.

-- no debconf information


_______________________________________________
pkg-perl-maintainers mailing list
pkg-perl-maintainers at lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/pkg-perl-maintainers

-- 
Joachim "nomeata" Breitner
Debian Developer
  nomeata at debian.org | ICQ# 74513189 | GPG-Keyid: 4743206C
  JID: joachimbreitner at amessage.de | http://people.debian.org/~nomeata




More information about the pkg-perl-maintainers mailing list