Your message dated Wed, 28 Jul 2010 18:32:36 +0000
with message-id <e1oebqi-0004gr...@franck.debian.org>
and subject line Bug#589659: fixed in live-boot 2.0~a16-1
has caused the Debian Bug report #589659,
regarding support dns names in netboot
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 this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
589659: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=589659
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: live-boot
Version: 2.0~a12+20100707.181407
Severity: normal


Currently live-boot can netbbot only form servers specified by IP
address, not by DNS name.

For filesystems mountd by binaries linked with glinc including the NSS
modules and a resolv.conf should suffice to make this work.

For filesystems mountd by binaries from busybox or klibc-utils the
situation may be different. I think the simplistic mount command is used
for mounting nfs and cifs and glibc binaries are used for iscsi, httpfs
and ftpfs. wget exists both as a simplistic binary and as full binary
and currently the simplistic binary is used for fetch I think.

Attaching an initramfs hook which pulls NSS modules and a live script
patch which creates /etc/resolv.conf in the initramfs.


-- System Information:
Debian Release: squeeze/sid
  APT prefers stable
  APT policy: (990, 'stable'), (500, 'unstable'), (500, 'testing'), (1, 
'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.26-2-686 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
--- usr/share/initramfs-tools/scripts/live      2010-07-19 19:04:13.000000000 
+0200
+++ usr/share/initramfs-tools/scripts/live      2010-07-19 19:05:37.000000000 
+0200
@@ -639,6 +639,17 @@
                HWADDR="$(cat /sys/class/net/${DEVICE}/address)"
        fi
 
+       if [ ! -e "/etc/resolv.conf" ] ; then
+               echo "Creating /etc/resolv.conf"
+               if [ -n "${DNSDOMAIN}" ] ; then
+                       echo "domain ${DNSDOMAIN}" > /etc/resolv.conf
+                       echo "search ${DNSDOMAIN}" > /etc/resolv.conf
+               fi
+               for i in ${IPV4DNS0} ${IPV4DNS1} ${IPV4DNS1} ; do
+                       echo "nameserver $i" >> /etc/resolv.conf
+               done
+       fi
+
        # Check if we have a network device at all
        if ! ls /sys/class/net/"$DEVICE" > /dev/null 2>&1 && \
           ! ls /sys/class/net/eth0 > /dev/null 2>&1 && \
#!/bin/sh -e

PREREQS=""

prereqs() { echo "$PREREQS"; }

case "$1" in
    prereqs)
    prereqs
    exit 0
    ;;
esac

.. /usr/share/initramfs-tools/hook-functions

copy_exec /lib/libnss_files.so.*      /lib
copy_exec /lib/libnss_dns.so.*      /lib
copy_exec /lib/libnss_compat.so.*      /lib

mkdir -p $DESTDIR/etc
cp -p /etc/nsswitch.conf $DESTDIR/etc


--- End Message ---
--- Begin Message ---
Source: live-boot
Source-Version: 2.0~a16-1

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

live-boot-initramfs-tools_2.0~a16-1_all.deb
  to main/l/live-boot/live-boot-initramfs-tools_2.0~a16-1_all.deb
live-boot_2.0~a16-1.diff.gz
  to main/l/live-boot/live-boot_2.0~a16-1.diff.gz
live-boot_2.0~a16-1.dsc
  to main/l/live-boot/live-boot_2.0~a16-1.dsc
live-boot_2.0~a16-1_all.deb
  to main/l/live-boot/live-boot_2.0~a16-1_all.deb
live-boot_2.0~a16.orig.tar.gz
  to main/l/live-boot/live-boot_2.0~a16.orig.tar.gz
live-initramfs_2.0~a16-1_all.deb
  to main/l/live-boot/live-initramfs_2.0~a16-1_all.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 589...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Daniel Baumann <dan...@debian.org> (supplier of updated live-boot 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 ftpmas...@debian.org)


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

Format: 1.8
Date: Wed, 28 Jul 2010 20:17:11 +0200
Source: live-boot
Binary: live-boot live-boot-initramfs-tools live-initramfs
Architecture: source all
Version: 2.0~a16-1
Distribution: unstable
Urgency: high
Maintainer: Debian Live Project <debian-live@lists.debian.org>
Changed-By: Daniel Baumann <dan...@debian.org>
Description: 
 live-boot  - Debian Live - System Boot Scripts
 live-boot-initramfs-tools - Debian Live - System Boot Scripts (initramfs-tools 
backend)
 live-initramfs - Debian Live - System Boot Scripts (transitional package)
Closes: 589659
Changes: 
 live-boot (2.0~a16-1) unstable; urgency=high
 .
   [ Daniel Baumann ]
   * Adding support for resolving DNS names from initramfs, thanks to
     Michal Suchanek <hramr...@centrum.cz> for initial patch which this
     is based on (Closes: #589659).
   * Don't fail in Makefile when there's no checkbashism.
   * Updating package to standards version 3.9.1.
 .
   [ Michal Suchanek ]
   * Fix omitpids to work with readonly images.
Checksums-Sha1: 
 d72cffe0c4d242637244fa63ebf6067df868c7d7 1246 live-boot_2.0~a16-1.dsc
 8f9d52bd2f46ec64e0aaf7a1f1b85670fb0dab53 104986 live-boot_2.0~a16.orig.tar.gz
 db28f297e78afcb1bf063548f40c98a64994ad7d 16612 live-boot_2.0~a16-1.diff.gz
 8a234ce4f0bacfab82b5f3c7e63ad247735e0718 73492 live-boot_2.0~a16-1_all.deb
 8838e528ae1c6072331d79abe32bec018f4f2bbf 27584 
live-boot-initramfs-tools_2.0~a16-1_all.deb
 81c8fe81845a784902f56587cdf7ca7a0e94873e 3664 live-initramfs_2.0~a16-1_all.deb
Checksums-Sha256: 
 0a9bda016953303adcaefd8f9b43a9b94238ac689aef3e44f199d0414778bf6b 1246 
live-boot_2.0~a16-1.dsc
 6313dcf9931fd73546256f2af030da7eab40b02b7be4756981e424c9e66b5d37 104986 
live-boot_2.0~a16.orig.tar.gz
 b8e48f79651f1be50949f385ec3a7ed4c5199a8c53632491bb460c7e96bba4f2 16612 
live-boot_2.0~a16-1.diff.gz
 8f268308daa6c1c243e47700b4f80e9cbbdbff005cbbc443923212110938e019 73492 
live-boot_2.0~a16-1_all.deb
 8881edc17a46026f3ce2d8e5c42280489de83750c34bed33786be64e6e6a3268 27584 
live-boot-initramfs-tools_2.0~a16-1_all.deb
 c04c46655d0ea68f60f514794169ffcd7f3e84c55caab0d126ac6ef6a4bb4370 3664 
live-initramfs_2.0~a16-1_all.deb
Files: 
 b89d23406a34c3752af7ecf1ec030f4e 1246 misc optional live-boot_2.0~a16-1.dsc
 6a8899b64316c32d469edd035d0adb2e 104986 misc optional 
live-boot_2.0~a16.orig.tar.gz
 5b26d9ba0df4014b5bcccddfc7457ea1 16612 misc optional 
live-boot_2.0~a16-1.diff.gz
 f406b084094557185b37c62aeea6f23a 73492 misc optional 
live-boot_2.0~a16-1_all.deb
 974b974244c3d23eb8b9cef3afb50a93 27584 misc optional 
live-boot-initramfs-tools_2.0~a16-1_all.deb
 5644350dfe5a0fea9f80a27f7e2a6bf4 3664 misc optional 
live-initramfs_2.0~a16-1_all.deb

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

iEYEARECAAYFAkxQdWIACgkQ+C5cwEsrK54jUgCfXLUVTx/VR216yYIbosTzpJwY
75YAn0lQLRayebDcC7LwpUwbSyTtHVgK
=cqHa
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to