ltsp-build-client --ltsp-cluster produces a malfunctioning bootstrap.

Bug #1360595 reported by Maximiliano Boscovich
22
This bug affects 4 people
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/ltsp/screen.d/: Permission denied

I found that the problem is in the file /usr/share/ltsp/screen_session that is generated within said bootstrap (in my case /opt/ltsp/amd64/usr/share/ltsp/screen_session). In particular the problematic line is this (line 54)

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.

Revision history for this message
Maximiliano Boscovich (maximiliano-boscovich) wrote :
Changed in ltsp:
assignee: nobody → Maximiliano Boscovich (maximiliano-boscovich)
description: updated
Revision history for this message
Alkis Georgopoulos (alkisg) wrote :

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.

Changed in ltsp:
importance: Undecided → Low
status: New → Fix Committed
Revision history for this message
Alkis Georgopoulos (alkisg) wrote :

Fix released in LTSP 5.5.6.

Changed in ltsp:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.