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

Bug#724605: live-boot: BOOTIF option is effectively ignored & requires NETBOOT to be non-empty



Subject: live-boot: fsdfsd
Package: live-boot
Version: 3.0.1-1
Severity: normal

Dear Maintainer,

1. BOOTIF option not used.
in file: 9990-networking.sh, line 57 there should be this change:
DEVICE=${device##*/}
change to
ETHDEVICE=${device##*/}

As you can see by the subsequent logic, it will basically ignore this setting and on a multi-interface
system possibily use the wrong interface to do ipconfig.

2. For BOOTIF to be used, it must pass
if [ -z "${NETBOOT}" ] && [ -z "${FETCH}" ] && [ -z "${HTTPFS}" ] && [ -z "${FTPFS}" ] This will mean typical FAI setup's will as typically root will be set to root=/dev/nfs and in the script's this will always set
NETBOOT to nfs and hence BOOTIF won't be used.
BOOTIF should be considered even if NETBOOT is not empty.

By making these modification I can confirm typical FAI setup are working where multiple network interface exists.

-- Package-specific info:

-- System Information:
Debian Release: 7.1
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: amd64 (x86_64)

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

Versions of packages live-boot depends on:
ii  live-boot-initramfs-tools [live-boot-backend]  3.0.1-1

Versions of packages live-boot recommends:
ii  live-boot-doc  3.0.1-1
ii  live-tools     3.0.20-1
ii  rsync          3.0.9-4
ii  uuid-runtime   2.20.1-5.3

Versions of packages live-boot suggests:
pn  cryptsetup    <none>
pn  curlftpfs     <none>
pn  httpfs2       <none>
pn  unionfs-fuse  <none>
ii  wget          1.13.4-3

-- no debconf information


Reply to: