Debian Bug report logs - #648545
tzdata script incomplete?

version graph

Package: live-config; Maintainer for live-config is Live Systems Maintainers <debian-live@lists.debian.org>; Source for live-config is src:live-config.

Reported by: Daniel Reichelt <debian@nachtgeist.net>

Date: Sat, 12 Nov 2011 19:45:01 UTC

Severity: important

Tags: sid, squeeze

Found in version live-config/2.0.15-1

Done: Daniel Baumann <daniel.baumann@progress-technologies.net>

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, debian@nachtgeist.net, Debian Live Project <debian-live@lists.debian.org>:
Bug#648545; Package live-config. (Sat, 12 Nov 2011 19:45:04 GMT) Full text and rfc822 format available.

Acknowledgement sent to Daniel Reichelt <debian@nachtgeist.net>:
New Bug report received and forwarded. Copy sent to debian@nachtgeist.net, Debian Live Project <debian-live@lists.debian.org>. (Sat, 12 Nov 2011 19:45:04 GMT) Full text and rfc822 format available.

Message #5 received at submit@bugs.debian.org (full text, mbox):

From: Daniel Reichelt <debian@nachtgeist.net>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: live-config: tzdata script incomplete
Date: Sat, 12 Nov 2011 20:41:27 +0100
Package: live-config
Version: 2.0.15-1
Severity: important
Tags: squeeze sid

Hi Live-Team,

I spotted another incompatibility between a .deb and how the Live system is
handling its behaviour (similar to live vs. dwww).

Usually I boot my live-systems so that LIVE_TIMEZONE="Europe/Berlin" gets set
(via cmdline or /etc/live/config.d depending on the use-case, but not the point
here). Just a few days ago it so happened that the tzdata package got updated
and the whole dpkg configure shabang was invoked...which sadly left me with UTC
set as my current timezone. What happened?

On the one hand, tzdata politely stores the options selected during e.g.
'dpkg-reconfigure tzdata' in the debconf db (and I had the correct settings for
Europe/Berlin pre-seeded during creation of the live image). However on the
next invocation, those selections only get applied to cities, not continents.
When selecting a new continent, say Asia instead of Europe, then a city
selected in a previous run of reconfigure gets pre-selected again. What happens
when run with --frontend=non-interactive is a whole other story and completely
independent of debconf: the debconf selections have no impact whatsoever and
whatever tuple of continent/city is stored in /etc/timezone determines which tz
data get copied to /etc/localtime.

So here's the thing: live-config's 005-tzdata (squeeze) or 006-tzdata (live-*
3.x) handles the actual copying of tzdata and setting the pre-selections in
debconf DB but not the /etc/timezone file.


Solution 1: 00[56]-tzdata echo's LIVE_TIMEZONE to /etc/timezone

Solution 2: tzdata changes its behaviour to mind debconf DB instead of
/etc/timezone


Which one is appropriate? Your thoughts?


Cheers
Daniel



-- System Information:
Debian Release: 6.0.3
  APT prefers stable
  APT policy: (990, 'stable'), (500, 'stable-updates')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-5-dhr-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages live-config depends on:
ii  live-config-sysvinit [live-co 2.0.15-1   Debian Live - System Configuration

Versions of packages live-config recommends:
ii  sudo                 1.7.4p4-2.squeeze.2 Provide limited super user privile
ii  user-setup           1.38                Set up initial user and password

Versions of packages live-config suggests:
ii  wget                          1.12-2.1   retrieves files from the web

-- no debconf information




Changed Bug title to 'tzdata script incomplete?' from 'live-config: tzdata script incomplete' Request was from Daniel Baumann <daniel.baumann@progress-technologies.net> to control@bugs.debian.org. (Fri, 30 Mar 2012 08:12:10 GMT) Full text and rfc822 format available.

Reply sent to daniel.baumann@progress-technologies.net:
You have taken responsibility. (Tue, 03 Apr 2012 06:51:03 GMT) Full text and rfc822 format available.

Notification sent to Daniel Reichelt <debian@nachtgeist.net>:
Bug acknowledged by developer. (Tue, 03 Apr 2012 06:51:04 GMT) Full text and rfc822 format available.

Message #12 received at 648545-done@bugs.debian.org (full text, mbox):

From: Daniel Baumann <daniel.baumann@progress-technologies.net>
To: 648545-done@bugs.debian.org
Subject: Re: tzdata script incomplete?
Date: Tue, 03 Apr 2012 08:46:56 +0200
this has been fixed some time ago in tzdata, see #510908, closing.

-- 
Address:        Daniel Baumann, Donnerbuehlweg 3, CH-3012 Bern
Email:          daniel.baumann@progress-technologies.net
Internet:       http://people.progress-technologies.net/~daniel.baumann/




Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Tue, 01 May 2012 07:38:27 GMT) Full text and rfc822 format available.

Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Sun Apr 20 01:48:33 2014; Machine Name: beach.debian.org

Debian Bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.