Comment 19 for bug 335767

Revision history for this message
Stéphane Graber (stgraber) wrote :

23:42 < stgraber> root@ltsp1192:/lib/udev/rules.d# /lib/udev/ltspfs_entry add /dev/sdc
23:42 < stgraber> export: 259: /dev/disk/by-id/usb-Generic_USB_SD_Reader_058F312D81B-0:0: bad variable name

This is caused by this line in /lib/udev/ltspfs_entry
    export $($udevinfo -qenv -n ${DEVICENAME})

That returns a line with several arguments separated by spaces making the export to fail.
Replacing by:
    export $($udevinfo -qenv -n ${DEVICENAME} | grep -v DEVLINKS)

Fixes the issue and the stick correctly gets detected and configured on the thin client.
The signal is then sent to the application server which mounts the stick correctly in /media/<user>/usbdisk-sdc

Though it doesn't display on the user's desktop probably because of something missing in gnome.

Oliver, do you have any idea what we're missing there ? ltspfs seems to work just fine and I can access the content of the usbkey but gnome doesn't seem to detect it ...