[email protected]
[Top] [All Lists]

Bug#343237: marked as forwarded (Incorrect timestamp generated after day

Subject: Bug#343237: marked as forwarded Incorrect timestamp generated after daylight savings time ends
From: Debian Bug Tracking System
Date: Thu, 15 Dec 2005 14:03:46 -0800
Your message dated Thu, 15 Dec 2005 22:38:11 +0100
with message-id <[email protected]>
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 <[email protected]>.

(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 [email protected] Thu Dec 15 13:38:26 2005
Return-path: <[email protected]>
Received: from nomeata.de
        ([] helo=quimby.ehbuehl.net ident=Debian-exim)
        by spohr.debian.org with esmtp (Exim 4.50)
        id 1En0ny-0004PV-Im
        for [email protected]; Thu, 15 Dec 2005 13:38:26 -0800
Received: from rzstud3.stud.uni-karlsruhe.de ([] 
        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 <[email protected]>)
        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 <[email protected]>
To: David Schweikert <[email protected]>
Content-Type: text/plain
Content-Transfer-Encoding: 7bit
Date: Thu, 15 Dec 2005 22:38:11 +0100
Message-Id: <[email protected]>
Mime-Version: 1.0
X-Mailer: Evolution 2.2.3 
Sender: Joachim Breitner <[email protected]>
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-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

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.

Joachim Breitner
on behalf of the Debian Perl Team.

-------- Weitergeleitete Nachricht --------
Von: Anthony DeRobertis <[email protected]>
Antwort an: Anthony DeRobertis <[email protected]>,
[email protected]
An: Debian Bug Tracking System <[email protected]>
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:


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
[email protected]

Joachim "nomeata" Breitner
Debian Developer
  [email protected] | ICQ# 74513189 | GPG-Keyid: 4743206C
  JID: [email protected] | http://people.debian.org/~nomeata

To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

<Prev in Thread] Current Thread [Next in Thread>
  • Bug#343237: marked as forwarded (Incorrect timestamp generated after daylight savings time ends), Debian Bug Tracking System <=