[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#584583: marked as done (initramfs-tools: configure_networking function: repeatedly makes DHCP requests)



Your message dated Wed, 25 Aug 2010 20:47:49 +0000
with message-id <E1OoMsv-0007Nz-VH@franck.debian.org>
and subject line Bug#584583: fixed in initramfs-tools 0.98.1
has caused the Debian Bug report #584583,
regarding initramfs-tools: configure_networking function: repeatedly makes DHCP requests
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 owner@bugs.debian.org
immediately.)


-- 
584583: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=584583
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: initramfs-tools
Version: 0.95.1
Severity: normal

i've been testing the newest initramfs-tools network booting support, though it
seems to make 10 DHCP requests in rapid sucession. fortunately, the last DHCP
request does work. switching back to hard-coded DEVICE=eth0 in
/etc/initramfs-tools/initramfs.conf doesn't trigger this issue, oddly enough.

it think something in the following code is the issue:

    for ROUNDTTT in 2 3 4 6 9 16 25 36 64 100; do

        # The NIC is to be configured if this file does not exist.
        # Ip-Config tries to create this file and when it succeds
        # creating the file, ipconfig is not run again.
        if [ -e /tmp/net-"${DEVICE}".conf ]; then
            break;
        fi

        case ${IP} in
        none|off)
            # Do nothing
            ;;
        ""|on|any)
            # Bring up device
            ipconfig -t ${ROUNDTTT} "${DEVICE}"
            ;;
        dhcp|bootp|rarp|both)
            ipconfig -t ${ROUNDTTT} -c ${IP} -d "${DEVICE}"
            ;;
        *)
            ipconfig -t ${ROUNDTTT} -d $IP

it loops through all of the ROUNDTTT's in 1 second, which doesn't seem like the
intended behavior.

so either "ipconfig -t" is broken, or initramfs-tools is expecting the wrong
behavior from ipconfig.

an alternate possibility is that i've been testing with qemu and qemu-kvm,
which may have strange timing issues. i will attempt to test with real hardware
and follow up with that...

live well,
  vagrant



--- End Message ---
--- Begin Message ---
Source: initramfs-tools
Source-Version: 0.98.1

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

initramfs-tools_0.98.1.dsc
  to main/i/initramfs-tools/initramfs-tools_0.98.1.dsc
initramfs-tools_0.98.1.tar.gz
  to main/i/initramfs-tools/initramfs-tools_0.98.1.tar.gz
initramfs-tools_0.98.1_all.deb
  to main/i/initramfs-tools/initramfs-tools_0.98.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 584583@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
maximilian attems <maks@debian.org> (supplier of updated initramfs-tools 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 ftpmaster@debian.org)


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

Format: 1.8
Date: Wed, 25 Aug 2010 22:13:18 +0200
Source: initramfs-tools
Binary: initramfs-tools
Architecture: source all
Version: 0.98.1
Distribution: unstable
Urgency: high
Maintainer: Debian kernel team <debian-kernel@lists.debian.org>
Changed-By: maximilian attems <maks@debian.org>
Description: 
 initramfs-tools - tools for generating an initramfs
Closes: 584583
Changes: 
 initramfs-tools (0.98.1) unstable; urgency=high
 .
   [ Vagrant Cascadian ]
   * [85fbb23] configure_networking(): Look for presence of
     /tmp/net-*.conf files to not recall ipconfig. (Closes: #584583)
Checksums-Sha1: 
 969d4b5068e8f96dfc7fe05e0f28b01f0bfb87ce 973 initramfs-tools_0.98.1.dsc
 80b9e7ffb0128c5b8c6cf96f0e7ecb8c1bff2e60 80239 initramfs-tools_0.98.1.tar.gz
 8b28132034a84dc466eff807a9b594e7018fa021 88208 initramfs-tools_0.98.1_all.deb
Checksums-Sha256: 
 a732849bcb21770ad8beae0626899d9029457c178d39bd9c0e8efe5c2a876e0c 973 initramfs-tools_0.98.1.dsc
 0d420d9f57f575a29079e96756f1080fa60a29626a9761b8ba45d78b965fc34a 80239 initramfs-tools_0.98.1.tar.gz
 4003f8e4be2df68e4d65e612df2704de1e21e9d918d3c7ba5eec3c09baf571de 88208 initramfs-tools_0.98.1_all.deb
Files: 
 9c68444ef4d5b5287cb4147d8ec154f8 973 utils optional initramfs-tools_0.98.1.dsc
 0388ebc4eb03aab9293850c2bf8b2baa 80239 utils optional initramfs-tools_0.98.1.tar.gz
 9d0338f488c023f9937986f0b7933924 88208 utils optional initramfs-tools_0.98.1_all.deb

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

iEYEARECAAYFAkx1eqEACgkQeW7Lc5tEHqh9uwCgn458QgbRynnRuKm6zKWHHCvG
m6sAoKKR+3DcKfdw42Ib9ytBxf+cNifA
=S4J2
-----END PGP SIGNATURE-----



--- End Message ---

Reply to: