ltsp-client-builder misses space in interface list
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ltsp (Ubuntu) |
Fix Released
|
Medium
|
Unassigned |
Bug Description
I wanted to install a LTSP-server with the alternate CD of Ubuntu 9.04 64-bit.
The installer fails with a red screen "failed to build ltsp-chroot".
When I look into to the error via the command line, I get this:
-------
May 15 13:04:27 in-target: Setting up linux-firmware (1.11) ...
May 15 13:04:27 in-target: Setting up linux-image-generic (2.6.28.11.15) ...
May 15 15:04:27 ltsp: # Creating dsa-hostkey for server
May 15 15:04:27 ltsp: # Creating rsa-hostkey for server
May 15 15:04:27 ltsp: # Creating dsa-hostkey for 192.168.1.7
May 15 15:04:27 ltsp: # Creating rsa-hostkey for 192.168.1.7
May 15 13:04:27 in-target: Updating /var/lib/tftpboot directories for chroot: /opt/ltsp/amd64
May 15 15:04:27 ltsp: # Creating dsa-hostkey for server
May 15 15:04:27 ltsp: # Creating rsa-hostkey for server
May 15 15:04:27 ltsp: # Creating dsa-hostkey for 192.168.1.7
May 15 15:04:27 ltsp: # Creating rsa-hostkey for 192.168.1.7
May 15 13:04:27 in-target: Warning: --skipimage set, not building squashfs image, run ltsp-update-image later
May 15 13:04:27 in-target: info: LTSP client installation completed successfully
May 15 13:04:27 kernel: [ 1046.846741] NET: Registered protocol family 5
May 15 13:04:27 main-menu[804]: (process:11843): /var/lib/
May 15 13:04:27 main-menu[804]: (process:11843): line 78:
May 15 13:04:27 main-menu[804]: (process:11843): ifconfig: not found
May 15 13:04:27 main-menu[804]: (process:11843):
May 15 13:04:27 main-menu[804]: (process:11843): SIOCSIFADDR: No such device
May 15 13:04:27 main-menu[804]: (process:11843): eth1eth2: ERROR while getting interface flags: No such device
May 15 13:04:27 main-menu[804]: WARNING **: Configuring 'ltsp-client-
May 15 13:04:27 main-menu[804]: WARNING **: Menu item 'ltsp-client-
-------
At the third last line, you can see "eth1eth2". It seems he takes two network interfaces together.
In this server, I have 3 nic's. In the first steps from the installer, I set eth0 as the default one and he gets a IP from the DHCP server afterwards.
Seems there is a problem with the interface detection?
From ltsp-client- builder:
# exclude the interface with the default route, we only want unconfigured ones
IFACE_ TMP="${ IFACE_TMP: +$IFACE_ TMP}$iface" $IFACE_ TMP
IFACE_TMP=""
for iface in $IFACE_LIST;do
if [ $iface != $DEFAULTROUTE_IFACE ]; then
fi
done
IFACE_LIST=
the line: "${IFACE_ TMP:+$IFACE_ TMP}$iface"
IFACE_TMP=
needs to have a space before $iface...