[Bug 813837] Re: ltsp client not able to load boot file: ltsp/amd64.tmp/pxelinux.0
Jean-Baptiste Lallement
jean-baptiste at ubuntu.com
Thu Jul 21 16:07:23 UTC 2011
The problem seems to be this piece of code in ltsp-client-
builder.postinst:
=====
chroot /target ltsp-update-image >$COMPRESS_LOG 2>&1 &
OLDVAL=0
while [ -z ${LOOP} ]; do
rawval=$(tail -1 $COMPRESS_LOG |sed -e 's/^.* //')
if [ "$(echo $rawval|grep '[0-9]\%$')" ];then
val=$(echo $rawval|tr -d %)
if [ "$val" -gt 95 ]; then
db_progress SET 100
sleep 3
LOOP="False"
else
if [ "$val" -gt "${OLDVAL}" ];then
db_progress SET $val
OLDVAL=$val
fi
fi
fi
done
=====
ltsp-update-image is started in the background but the loop to update the debconf progress bar exits when the mksquashfs progress reach 96%
So there is a possibility to exit the loop and continue the execution _before_ ltsp-update-image ends.
In the case $ARCH.img.tmp still exists when the script does the
substitution in dhcpd.conf . But in the end the image is correctly
renamed and there is no evidence of the failure excepted the wrong entry
in dhcpd.conf
** Changed in: ltsp (Ubuntu)
Status: New => Triaged
** Changed in: ltsp (Ubuntu)
Importance: Undecided => Medium
** Changed in: ltsp (Ubuntu)
Assignee: (unassigned) => Canonical Foundations Team (canonical-foundations)
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to ltsp in Ubuntu.
https://bugs.launchpad.net/bugs/813837
Title:
ltsp client not able to load boot file: ltsp/amd64.tmp/pxelinux.0
Status in “ltsp” package in Ubuntu:
Triaged
Status in “ltsp” source package in Lucid:
Triaged
Bug description:
Running lucid-alternate-amd64.iso (10.04.03)
Both the LTSP server and thin client (pxe boot) are able to obtain an
IP address from the internal dhcp server.
The thin client starts to connect and fails with an error unable to
locate the filename: ltsp/amd64.tmp/pxelinux.0
WORKAROUND:
In /etc/ltsp/dhcpd.conf
Change the line
filename "/ltsp/amd64.tmp/pxelinux.0";
To
filename "/ltsp/amd64/pxelinux.0";
ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: ltsp-server-standalone 5.2.1-0ubuntu9
ProcVersionSignature: Ubuntu 2.6.32-33.70-generic 2.6.32.41+drm33.18
Uname: Linux 2.6.32-33-generic x86_64
Architecture: amd64
Date: Wed Jul 20 16:03:59 2011
InstallationMedia: Ubuntu 10.04.3 LTS "Lucid Lynx" - Release amd64 (20110719.2)
PackageArchitecture: all
ProcEnviron:
LANG=en_US.utf8
SHELL=/bin/bash
SourcePackage: ltsp
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ltsp/+bug/813837/+subscriptions
More information about the foundations-bugs
mailing list