Aurelien Jarno schrieb:
> On Mon, Jan 05, 2009 at 10:15:18PM +0100, Tobias Schlemmer wrote:

> Sorry, but I don't follow what's the problem. Could you please send us
> the output of the two systems, and what you are trying to feed, so that
> we can understand the problem?

In the attached file you can see, what I tried. In this version the
chroot system already was configured using a preeseed file, which was
produced inside the chroot environment. This seems to work. Originally I
used the file outside the environment and could not convince tzdata
and/or debconf to accept the AREAS selection to be already seen and set
to Europe. As I can see the only distinction between the files is that
they are differently ordered.

Maybe It helps: I used live-helper to create the chroot environment as
it shall be a live system at the end.

I hope i's a little bit more clear now. It's too late here, now.

Good night.

Tobias
(none):~/Faktoruhr# debconf-get-selections |grep tzdata | tee tzdata
tzdata  tzdata/Zones/Australia  select
tzdata  tzdata/Zones/Asia       select
tzdata  tzdata/Zones/SystemV    select
tzdata  tzdata/Zones/Pacific    select
tzdata  tzdata/Zones/Atlantic   select
tzdata  tzdata/Zones/Etc        select  UTC
tzdata  tzdata/Zones/Arctic     select
tzdata  tzdata/Zones/Antarctica select
tzdata  tzdata/Zones/Europe     select  Berlin
tzdata  tzdata/Zones/Africa     select
tzdata  tzdata/Zones/America    select
tzdata  tzdata/Areas    select  Europe
tzdata  tzdata/Zones/Indian     select
(none):~/Faktoruhr# chroot chroot/
(none):/# dpkg-reconfigure tzdata

Current default timezone: 'Europe/Berlin'
Local time is now:      Mon Jan  5 22:59:41 CET 2009.
Universal Time is now:  Mon Jan  5 21:59:41 UTC 2009.

(none):/#  exit
(none):~/Faktoruhr# cp tzdata chroot/
(none):~/Faktoruhr# chroot chroot/
(none):/# debconf-get-selections |grep tzdata | tee live-tzdata
tzdata  tzdata/Zones/Australia  select
tzdata  tzdata/Zones/Asia       select
tzdata  tzdata/Zones/Etc        select  UTC
tzdata  tzdata/Zones/SystemV    select
tzdata  tzdata/Zones/Arctic     select
tzdata  tzdata/Zones/Pacific    select
tzdata  tzdata/Zones/Antarctica select
tzdata  tzdata/Zones/Europe     select  Berlin
tzdata  tzdata/Zones/Africa     select
tzdata  tzdata/Zones/America    select
tzdata  tzdata/Areas    select  Europe
tzdata  tzdata/Zones/Atlantic   select
tzdata  tzdata/Zones/Indian     select
(none):/# diff -u live-tzdata /tzdata 
--- live-tzdata 2009-01-05 23:02:30.000000000 +0100
+++ /tzdata     2009-01-05 23:00:23.000000000 +0100
@@ -1,13 +1,13 @@
 tzdata tzdata/Zones/Australia  select
 tzdata tzdata/Zones/Asia       select
-tzdata tzdata/Zones/Etc        select  UTC
 tzdata tzdata/Zones/SystemV    select
-tzdata tzdata/Zones/Arctic     select
 tzdata tzdata/Zones/Pacific    select
+tzdata tzdata/Zones/Atlantic   select
+tzdata tzdata/Zones/Etc        select  UTC
+tzdata tzdata/Zones/Arctic     select
 tzdata tzdata/Zones/Antarctica select
 tzdata tzdata/Zones/Europe     select  Berlin
 tzdata tzdata/Zones/Africa     select
 tzdata tzdata/Zones/America    select
 tzdata tzdata/Areas    select  Europe
-tzdata tzdata/Zones/Atlantic   select
 tzdata tzdata/Zones/Indian     select
(none):/# dpkg-reconfigure tzdata 

Current default timezone: 'Etc/UTC'
Local time is now:      Mon Jan  5 22:03:59 UTC 2009.
Universal Time is now:  Mon Jan  5 22:03:59 UTC 2009.

(none):/# debconf-set-selections </tzdata 
(none):/# debconf-get-selections |grep tzdata | tee live-tzdata2
tzdata  tzdata/Zones/Australia  select
tzdata  tzdata/Zones/Asia       select
tzdata  tzdata/Zones/Etc        select  UTC
tzdata  tzdata/Zones/SystemV    select
tzdata  tzdata/Zones/Arctic     select
tzdata  tzdata/Zones/Pacific    select
tzdata  tzdata/Zones/Antarctica select
tzdata  tzdata/Zones/Europe     select  Berlin
tzdata  tzdata/Zones/Africa     select
tzdata  tzdata/Zones/America    select
tzdata  tzdata/Areas    select  Europe
tzdata  tzdata/Zones/Atlantic   select
tzdata  tzdata/Zones/Indian     select
(none):/# dpkg-reconfigure -u tzdata

Current default timezone: 'Etc/UTC'
Local time is now:      Mon Jan  5 22:05:41 UTC 2009.
Universal Time is now:  Mon Jan  5 22:05:41 UTC 2009.
(none):/# debconf-get-selections |grep tzdata | tee live-tzdata3
tzdata  tzdata/Zones/Australia  select
tzdata  tzdata/Zones/Asia       select
tzdata  tzdata/Zones/Etc        select  UTC
tzdata  tzdata/Zones/SystemV    select
tzdata  tzdata/Zones/Arctic     select
tzdata  tzdata/Zones/Pacific    select
tzdata  tzdata/Zones/Antarctica select
tzdata  tzdata/Zones/Europe     select  Berlin
tzdata  tzdata/Zones/Africa     select
tzdata  tzdata/Zones/America    select
tzdata  tzdata/Areas    select  Etc
tzdata  tzdata/Zones/Atlantic   select
tzdata  tzdata/Zones/Indian     select
(none):/# debconf-set-selections <live-tzdata
(none):/# debconf-get-selections |grep tzdata | tee live-tzdata4
tzdata  tzdata/Zones/Australia  select
tzdata  tzdata/Zones/Asia       select
tzdata  tzdata/Zones/Etc        select  UTC
tzdata  tzdata/Zones/SystemV    select
tzdata  tzdata/Zones/Arctic     select
tzdata  tzdata/Zones/Pacific    select
tzdata  tzdata/Zones/Antarctica select
tzdata  tzdata/Zones/Europe     select  Berlin
tzdata  tzdata/Zones/Africa     select
tzdata  tzdata/Zones/America    select
tzdata  tzdata/Areas    select  Europe
tzdata  tzdata/Zones/Atlantic   select
tzdata  tzdata/Zones/Indian     select
(none):/# dpkg-reconfigure -u tzdata

Current default timezone: 'Etc/UTC'
Local time is now:      Mon Jan  5 22:07:07 UTC 2009.
Universal Time is now:  Mon Jan  5 22:07:07 UTC 2009.

Reply via email to