Hi Rich,
thank you for your reply. I have performed the steps prescribed by you and below are the results. I am still getting that "ctx_usb_isactive" ends with a "return code 1". I do not see any problems with missing library dependencies.
Firstly, the udev rule "/etc/udev/rules.d/85-ica-usb.rules" in question:
# Don't allow HAL to handle devices that ICA client is remoting
SUBSYSTEM=="usb", \
ACTION=="add", \
PROGRAM="/opt/Citrix/ICAClient/ctx_usb_isactive", \
OPTIONS+="last_rule", \
RUN+="/usr/bin/logger -t ica-usb.rules suppressing HAL action for %k"
This is what "dmesg" reports once a USB stick is inserted:
usb 1-8: new high speed USB device number 5 using ehci_hcd
scsi5 : usb-storage 1-8:1.0
scsi 5:0:0:0: Direct-Access Integral Courier PMAP PQ: 0 ANSI: 0 CCS
sd 5:0:0:0: Attached scsi generic sg3 type 0
sd 5:0:0:0: [sdc] 7831552 512-byte logical blocks: (4.00 GB/3.73 GiB)
sd 5:0:0:0: [sdc] Write Protect is off
sd 5:0:0:0: [sdc] Mode Sense: 23 00 00 00
sd 5:0:0:0: [sdc] No Caching mode page present
sd 5:0:0:0: [sdc] Assuming drive cache: write through
sd 5:0:0:0: [sdc] No Caching mode page present
sd 5:0:0:0: [sdc] Assuming drive cache: write through
sdc: sdc1
sd 5:0:0:0: [sdc] No Caching mode page present
sd 5:0:0:0: [sdc] Assuming drive cache: write through
sd 5:0:0:0: [sdc] Attached SCSI removable disk
Here is the output from /var/log/messages:
Jul 3 12:42:26 box daemon.info udevd[78]: worker [6313] exit
Jul 3 12:42:26 box daemon.info udevd[78]: worker [6313] cleaned up
Jul 3 12:42:26 box daemon.info udevd[78]: worker [6314] exit
Jul 3 12:42:26 box daemon.info udevd[78]: worker [6314] cleaned up
Jul 3 12:42:53 box user.info kernel: usb 1-8: new high speed USB device number 5 using ehci_hcd
Jul 3 12:42:53 box daemon.info udevd[78]: seq 14184 queued, 'add' 'usb'
Jul 3 12:42:53 box daemon.info udevd[78]: seq 14184 forked new worker [6517]
Jul 3 12:42:53 box daemon.info udevd[6517]: seq 14184 running
Jul 3 12:42:53 box daemon.info udevd[6517]: device 0x87217f0 has devpath '/devices/pci0000:00/0000:00:1d.7/usb1/1-8'
Jul 3 12:42:53 box daemon.info udevd[6517]: no db file to read /run/udev/data/c189:4: No such file or directory
Jul 3 12:42:53 box daemon.info udevd[6517]: PROGRAM '/opt/Citrix/ICAClient/ctx_usb_isactive' /etc/udev/rules.d/85-ica-usb.rules:7
Jul 3 12:42:53 box daemon.info udevd[6518]: starting '/opt/Citrix/ICAClient/ctx_usb_isactive'
Jul 3 12:42:53 box daemon.info udevd[6517]: '/opt/Citrix/ICAClient/ctx_usb_isactive' [6518] exit with return code 1
And finally, the output of the "ldd" command:
sudo ldd /opt/Citrix/ICAClient/ctx_usb_isactive
linux-gate.so.1 => (0xb7784000)
libc.so.6 => /lib/libc.so.6 (0xb766d000)
/lib/ld-linux.so.2 (0xb7785000)
sudo ldd /opt/Citrix/ICAClient/ctxusb
linux-gate.so.1 => (0xb7785000)
libdl.so.2 => /lib/libdl.so.2 (0xb7775000)
libpthread.so.0 => /lib/libpthread.so.0 (0xb775f000)
libc.so.6 => /lib/libc.so.6 (0xb7654000)
/lib/ld-linux.so.2 (0xb7786000)
sudo ldd /opt/Citrix/ICAClient/ctxusbd
linux-gate.so.1 => (0xb7741000)
libdl.so.2 => /lib/libdl.so.2 (0xb7731000)
libc.so.6 => /lib/libc.so.6 (0xb7626000)
/lib/ld-linux.so.2 (0xb7742000)