ltsp-build-client --ltsp-cluster produces a malfunctioning bootstrap.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
LTSP5 |
Fix Released
|
Low
|
Maximiliano Boscovich |
Bug Description
When the bootstrap that ltsp-cluster clients will use is generated, and thinclients booting with that image, they will not finish booting, and do not connect to appserver that have been assigned to them. In the boot process show the following
./screen_session: 48: [: Illegal number:
./screen_session: 78: ./screen_session: /usr/share/
I found that the problem is in the file /usr/share/
unset $ (env | egrep '. ^ (\ w +) = (*) $' | egrep -VW 'PWD | USER | PATH | HOME' | / usr / bin / cut-d = f1)
this line unset the SCREEN_NUM variable , and so when line 78 is executed
"$ script_path" "$ args"
Happends the error, since only variable was script_path the path and not the script to launch.
The solution is change this line for this:
unset $ (env | egrep '. ^ (\ w +) = (*) $' | egrep -VW 'PWD | USER | PATH | HOME | SCREEN_NUM |' | / usr / bin / cut-d = f1)
Thus the variable is not removed SCREEN_NUM
I attached the modified file, with this bugfix.
Regards.
Changed in ltsp: | |
assignee: | nobody → Maximiliano Boscovich (maximiliano-boscovich) |
description: | updated |
Thanks, fix committed in http:// bazaar. launchpad. net/~ltsp- upstream/ ltsp/ltsp- trunk/revision/ 2702.
Note though that noone maintains ltsp-cluster anymore so it might get removed in future LTSP releases.