Menu

#17 Content of *.list files is timezone dependent

open-accepted
nobody
None
5
2010-08-17
2010-05-14
joowie
No

From: Markus Redeker <cep@ibp.de>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Answer to: Markus Redeker <cep@ibp.de>, 581344@bugs.debian.org
Subject: Bug#581344: backup2l: Content of *.list files is timezone dependent
Date: Wed, 12 May 2010 10:43:25 +0100

Package: backup2l
Version: 1.4
Severity: normal

The content of the *.list files is timezone dependent. (I just moved
to another country and got afterwards a full backup.) The cause is the
-fprintf option of the find function in prepare_backup(). A simple
solution is to put an

export TZ=UTC

statement at the beginning of prepare_backup(). It should not be a
global declaration because this would make the output of backup2l -s
also appear in UTC.

(This may be an obscure bug, but keeping the internal data independent
of the time zone is always a good idea.)

-- System Information:
Debian Release: 5.0.4
APT prefers stable
APT policy: (990, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.26-2-686 (SMP w/1 CPU core)
Locale: LANG=de_DE@euro, LC_CTYPE=de_DE@euro (charmap=ISO-8859-15)
Shell: /bin/sh linked to /bin/bash

Versions of packages backup2l depends on:
ii findutils 4.4.0-2 utilities for finding files--find,

Versions of packages backup2l recommends:
ii tar 1.20-1 GNU version of the tar archiving u

Versions of packages backup2l suggests:
ii bzip2 1.0.5-1 high-quality block-sorting file co
pn cdlabelgen <none> (no description available)

-- no debconf information

Discussion

  • Gundolf Kiefer

    Gundolf Kiefer - 2010-08-17

    Thank you for the information. The upcoming release 1.6 will use UTC by default.

    Changing the time format for .list.gz may cause problems for users who already have a long history of incremental backup archives, since after the change all files will be considered as "new" by backup2l. Hence, I will add an option allowing old users to stick to the old time format (at least until their next full backup).

     
  • Gundolf Kiefer

    Gundolf Kiefer - 2010-08-17
    • status: open --> open-accepted
     

Log in to post a comment.