Your message dated Sun, 09 Sep 2007 11:17:03 +0000
with message-id <[EMAIL PROTECTED]>
and subject line Bug#440235: fixed in live-initramfs 1.99.2-1
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: live-initramfs
Severity: normal
Tags: patch

There are some bugs in the do_netmount() function in
/usr/share/initramfs-tools/scripts/live:

The invocation of "ipconfig" appears incorrect; the second argument
"/tmp/net-${DEVICE}.conf" just generates an error at runtime (because
there is no interface matching that name).

Also, the hostname of the system is set to whatever the DHCP server
gave us -- even if it didn't give us a hostname, in which case it's
set to "", which causes errors like "invalid hostname" later in the
boot and Bash will report the hostname as "(none)".  Instead,
it should fall back to whatever was specified by the live config.

Here's a patch:

--- live.orig   2007-08-30 16:18:57.000000000 -0400
+++ live        2007-08-30 16:25:57.000000000 -0400
@@ -433,14 +433,16 @@
     udevtrigger
     udevsettle
 
-    ipconfig ${DEVICE} /tmp/net-${DEVICE}.conf | tee /netboot.config
+    ipconfig ${DEVICE} | tee /netboot.config
 
     if [ "${NFSROOT}" = "auto" ]; then
         NFSROOT=${ROOTSERVER}:${ROOTPATH}
     fi
 
     # source relevant ipconfig output
+    OLDHOSTNAME=$HOSTNAME
     . /tmp/net-${DEVICE}.conf
+    [ -z $HOSTNAME ] && HOSTNAME=$OLDHOSTNAME
     export HOSTNAME
 
     if [ -n "${FETCH}" ] && do_httpmount; then


-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.20.4 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash


--- End Message ---
--- Begin Message ---
Source: live-initramfs
Source-Version: 1.99.2-1

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

live-initramfs_1.99.2-1.diff.gz
  to pool/main/l/live-initramfs/live-initramfs_1.99.2-1.diff.gz
live-initramfs_1.99.2-1.dsc
  to pool/main/l/live-initramfs/live-initramfs_1.99.2-1.dsc
live-initramfs_1.99.2-1_all.deb
  to pool/main/l/live-initramfs/live-initramfs_1.99.2-1_all.deb
live-initramfs_1.99.2.orig.tar.gz
  to pool/main/l/live-initramfs/live-initramfs_1.99.2.orig.tar.gz



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.
Daniel Baumann <[EMAIL PROTECTED]> (supplier of updated live-initramfs 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: Mon, 10 Sep 2007 00:00:00 +0200
Source: live-initramfs
Binary: live-initramfs
Architecture: source all
Version: 1.99.2-1
Distribution: unstable
Urgency: medium
Maintainer: Debian Live <[EMAIL PROTECTED]>
Changed-By: Daniel Baumann <[EMAIL PROTECTED]>
Description: 
 live-initramfs - Debian Live initramfs hook
Closes: 440235
Changes: 
 live-initramfs (1.99.2-1) unstable; urgency=medium
 .
   * New upstream release:
     - Contains patch from Jim Paris <[EMAIL PROTECTED]> to fix wrong ipconfig 
usage
       (Closes: #440235).
Files: 
 6fca6c403f0b1653ef42c4ecabab33ec 830 misc optional live-initramfs_1.99.2-1.dsc
 03a1aee2fd4efcf71a9df87892828929 59922 misc optional 
live-initramfs_1.99.2.orig.tar.gz
 ecdf9bf56eeb8a207c7a9f6fa7bc452f 3711 misc optional 
live-initramfs_1.99.2-1.diff.gz
 945460df493acdac33afe5984a98f7ae 61174 misc optional 
live-initramfs_1.99.2-1_all.deb

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

iD8DBQFG49OC+C5cwEsrK54RApKrAKCrUT6aGCQX1+N8cuv/r40tt+Jv9gCfQANs
Z0qRIYDHr0x4FC8W6IqpCzA=
=vlU7
-----END PGP SIGNATURE-----



--- End Message ---
_______________________________________________
debian-live-devel mailing list
[email protected]
http://lists.alioth.debian.org/mailman/listinfo/debian-live-devel

Reply via email to