Some months ago I mentioned a potential problem in lbus_event_handler.sh, 
I can see that from LTSP 4.2.4 the problem persists.

Here is the problem

Under the remove_all clause one will find the following line

for mount in `grep ltspfs /proc/mounts | grep "${HOME}" | \
awk '{print $2}'`


In most cases $HOME equals something like /home/username

In our case the problem is that $HOME lies on a fileserver, and so the 
entries in /proc/mounts may look like this

ltspfs /a/brugere/FILESERVER/raid/gondor/user/Drives/My_Floppy 
fuse rw,nosuid,nodev,user_id=8141,group_id=201 0 0

so 'grep ${HOME}' fails, and this means that the ltspfs is not unmounted 
after the users has logged out.


The fix is easy, replace

grep ${HOME}

with

grep ${USER}


I think this should be fixed in  ltsp-server-pkg-fedora-0.1-1.i386.rpm or 
at least added to the Wiki (I don't have any experience with wikis).


/daleif

``You cannot help men permanently by doing for them
what they could and should do for themselves. ''
  -- Abraham Lincoln

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_____________________________________________________________________
Ltsp-discuss mailing list.   To un-subscribe, or change prefs, goto:
      https://lists.sourceforge.net/lists/listinfo/ltsp-discuss
For additional LTSP help,   try #ltsp channel on irc.freenode.net

Reply via email to