Your message dated Tue, 01 Jan 2008 14:32:02 +0000
with message-id <[EMAIL PROTECTED]>
and subject line Bug#446795: fixed in rootstrap 0.3.24-4
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(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)

--- Begin Message ---
Package: rootstrap
Version: 0.3.24-3
Severity: grave
Justification: renders package unusable

in /usr/lib/rootstrap/modules/uml there is this piece of code:

# setup the timezone, the same as the host
[ ! -e $HOST/etc/timezone ] || TARGET_TIMEZONE="$(cat $HOST/etc/timezone)"

if [ -e "$TARGET/usr/share/zoneinfo/$TARGET_TIMEZONE" ] ; then
        chroot $TARGET cp /usr/share/zoneinfo/$TARGET_TIMEZONE /etc/localtime
        echo "$TARGET_TIMEZONE" > $TARGET/etc/timezone
fi 

I flatly admit that I don't really understand the code.  If there is no 
/etc/timezone on the host we do a "cat" on it...  If there is not, we 
don't assign anything to TARGET_TIMEZONE but we use it anyway...

Nevertheless, the fact is that if you build a new debian system based on 
recent sid/lenny, there is no /etc/timezone file.  If you use that 
system as host for rootstrap, this code snippet fails, causing the 
entire rootstrap process to fail.

There is a work-around; for me, in Denmark, "echo CET > /etc/timezone" 
on the host makes rootstrap work just fine.  Again, I don't undertand 
why it works - I can't figure out where TARGET_TIMEZONE is assigned to.  
But it works.  Only it took me a lot of time to figure this out.  

Obviously, timezone information in sid/lenny is stored a place different 
from /etc/timezone.  I have no clue as to where - my timezone is 
correct, most likely based on the information about location that I gave 
the Debian installer - but I don't know where it has stored the 
information, nor how this information should be copied to the guest 
user-mode-linux file system.

But we need to figure this out and update rootstrap accordingly. Right 
now, rootstrap does not work on newly created sid/lenny host systems.

best regards

Peder Chr. Nørgaard     e-mail: [EMAIL PROTECTED]
Gefionsvej 19           spejder-e-mail: [EMAIL PROTECTED]
DK-8230 Åbyhøj          tel: +45 87 44 11 99
Denmark                 mob: +45 30 91 84 31


-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.22-2-686 (SMP w/2 CPU cores)
Locale: LANG=en_DK.UTF-8, LC_CTYPE=en_DK.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages rootstrap depends on:
ii  debootstrap             1.0.3            Bootstrap a basic Debian system
ii  dpkg                    1.14.7           package maintenance system for Deb
ii  python                  2.4.4-6          An interactive high-level object-o
ii  user-mode-linux         2.6.22-1um-1pcn4 User-mode Linux (kernel)

Versions of packages rootstrap recommends:
ii  uml-utilities                 20070815-1 User-mode Linux (utility programs)

-- no debconf information



--- End Message ---
--- Begin Message ---
Source: rootstrap
Source-Version: 0.3.24-4

We believe that the bug you reported is fixed in the latest version of
rootstrap, which is due to be installed in the Debian FTP archive:

rootstrap_0.3.24-4.diff.gz
  to pool/main/r/rootstrap/rootstrap_0.3.24-4.diff.gz
rootstrap_0.3.24-4.dsc
  to pool/main/r/rootstrap/rootstrap_0.3.24-4.dsc
rootstrap_0.3.24-4_i386.deb
  to pool/main/r/rootstrap/rootstrap_0.3.24-4_i386.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [EMAIL PROTECTED],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Mattia Dongili <[EMAIL PROTECTED]> (supplier of updated rootstrap package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [EMAIL PROTECTED])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Sun, 30 Dec 2007 16:34:41 +0900
Source: rootstrap
Binary: rootstrap
Architecture: source i386
Version: 0.3.24-4
Distribution: unstable
Urgency: low
Maintainer: User Mode Linux Maintainers <[EMAIL PROTECTED]>
Changed-By: Mattia Dongili <[EMAIL PROTECTED]>
Description: 
 rootstrap  - A tool for building complete Linux filesystem images
Closes: 446729 446795
Changes: 
 rootstrap (0.3.24-4) unstable; urgency=low
 .
   * handle the case where no /etc/timezone exists and just copy /etc/localtime
     instead (Closes: #446795)
   * use /sbin/MAKEDEV as the link from /dev/ is not provided anymore
     (Closes: #446729)
   * Remove long time inactive uploaders
   * bump Standards-version to 3.7.3 (lintian warning)
Files: 
 56ac10ce53ee711ce48ac0d8026ee83c 724 utils optional rootstrap_0.3.24-4.dsc
 0804d74e78786634cceb9e505cf807ad 7074 utils optional rootstrap_0.3.24-4.diff.gz
 ddbb048063b35b1144b6c8ca29005a70 21466 utils optional 
rootstrap_0.3.24-4_i386.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFHej6pgpRPaOotLEERAm1OAKC1AiBb60Ndtm07/KVBgsA9FOzhWwCcDtM+
QMPEV1rczYpGyGGDTyqYNdU=
=AcS5
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to