Debian Bug report logs - #703743
live-boot: BOOTIF variable improperly initialised

version graph

Package: src:live-boot; Maintainer for src:live-boot is Live Systems Maintainers <debian-live@lists.debian.org>;

Reported by: Andrew Jeffery <andrew.jeffery@ultra-avalon.com>

Date: Sat, 23 Mar 2013 00:21:06 UTC

Severity: normal

Tags: patch

Found in version live-boot/3.0.1-1

Fixed in version live-boot/4.0~a11-1

Done: Daniel Baumann <daniel.baumann@progress-technologies.net>

Reply or subscribe to this bug.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Debian Live Project <debian-live@lists.debian.org>:
Bug#703743; Package src:live-boot. (Sat, 23 Mar 2013 00:21:10 GMT) Full text and rfc822 format available.

Acknowledgement sent to Andrew Jeffery <andrew.jeffery@ultra-avalon.com>:
New Bug report received and forwarded. Copy sent to Debian Live Project <debian-live@lists.debian.org>. (Sat, 23 Mar 2013 00:21:11 GMT) Full text and rfc822 format available.

Message #5 received at submit@bugs.debian.org (full text, mbox):

From: Andrew Jeffery <andrew.jeffery@ultra-avalon.com>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: live-boot: BOOTIF variable improperly initialised
Date: Sat, 23 Mar 2013 10:34:43 +1030
[Message part 1 (text/plain, inline)]
Source: live-boot
Version: 3.0.1-1
Severity: normal
Tags: patch

Dear Maintainer,

I'm trying to netboot an x86 system which has multiple NICs, though only
one is recognised by the BIOS/PXE boot firmware and as such the full
netboot process should happen over this interface. However, during
early-userspace live-boot attempts to probe a set of NICs which may or
may not contain the one used for PXE due to seemingly variable delays in
the NIC becoming available.

To reliably boot from the PXE-chosen bootstrap interface PXELINUX supports
appending BOOTIF=<MAC> to the kernel commandline which in-turn has some
support in live-boot. Using live-boot-3.0.1-1 (wheezy) I've observed
that the corresponding BOOTIF environment variable in early-userspace
does not contain a value that looks like a MAC, let alone the MAC of the
bootstrap adaptor.

Investigating, it appears the assignment of BOOTIF in
/lib/live/boot/9990-cmdline-old is inconsistent with other variables.
Attached is a patch that makes the assignment consistent and
successfully extracts the MAC provided on the kernel commandline.

The system information provided below is not relevant to the bug,
however this is the first bug I've reported against a Debian package so
I'm going to leave it.

-- System Information:
Debian Release: 7.0
  APT prefers testing
  APT policy: (650, 'testing'), (600, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.7.2 (SMP w/8 CPU cores)
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
[0001-9990-cmdline-old-Properly-initialise-BOOTIF.patch (text/x-diff, attachment)]

Marked as fixed in versions live-boot/4.0~a11-1. Request was from Daniel Baumann <daniel.baumann@progress-technologies.net> to control@bugs.debian.org. (Mon, 06 May 2013 12:45:04 GMT) Full text and rfc822 format available.

Marked Bug as done Request was from Daniel Baumann <daniel.baumann@progress-technologies.net> to control@bugs.debian.org. (Mon, 06 May 2013 12:45:05 GMT) Full text and rfc822 format available.

Notification sent to Andrew Jeffery <andrew.jeffery@ultra-avalon.com>:
Bug acknowledged by developer. (Mon, 06 May 2013 12:45:06 GMT) Full text and rfc822 format available.

Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Sun Apr 20 11:55:49 2014; Machine Name: beach.debian.org

Debian Bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.