edubuntu-bugs team mailing list archive
-
edubuntu-bugs team
-
Mailing list archive
-
Message #04292
[Bug 1014496] [NEW] ltsp doesn't recognise tftp lts.conf
Public bug reported:
Hi all,
If you see in the /opt/ltsp/i386/usr/share/ltsp/init-
ltsp.d/05-getltsconffile:
# default to "/ltsp/i386/lts.conf".
if [ -n "$SERVER" ]; then
fileonly=${filename##*/}
pathonly=${filename%$fileonly}
lts_conf_temp=$(mktemp)
tftp "$SERVER" -c get ${pathonly:-/ltsp/i386/}lts.conf $lts_conf_temp >/dev/null
# only overwrite lts.conf if it has non-zero size.
if [ -s "$lts_conf_temp" ]; then
mv "$lts_conf_temp" /etc/lts.conf
else
rm "$lts_conf_temp"
fi
fi
# Get the lts.conf vars into the environment
. /usr/share/ltsp/ltsp_config
~
the leading / at "pathonly:-/ltsp/i386/}lts.conf $lts_conf_temp
>/dev/null" confuses the netkit-tftp in ubuntu 12.04 amd64
I solved the tftp-problem by editing the /opt/ltsp/i386/usr/share/ltsp
/init-ltsp.d/05-getltsconffile:
-- tftp "$SERVER" -c get ${pathonly:-/ltsp/i386/}lts.conf $lts_conf_temp >/dev/null
++ tftp "$SERVER" -c get ${pathonly:-ltsp/i386/}lts.conf $lts_conf_temp >/dev/null
Now the tftp-server I able to push the lts.conf to the clients.
Please fix.
Have fun!
** Affects: ltsp (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Edubuntu
Bugsquad, which is subscribed to ltsp in Ubuntu.
https://bugs.launchpad.net/bugs/1014496
Title:
ltsp doesn't recognise tftp lts.conf
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ltsp/+bug/1014496/+subscriptions
Follow ups
References