Comment 57 for bug 44194

Revision history for this message
Ludovic Rousseau (ludovic-rousseau-gmail) wrote :

Regarding the patch for pcsc-lite (moving libpcsclite.so.1 from /usr/lib to /usr) it is only a half fix. The smart card support will not be available since the daemon is still in /usr/sbin/pcscd and will only be started later (when /usr is available)

You should also:
- move pcscd in /sbin
- move all the smart card reader drivers from/usr/lib/pcsc/drivers to /lib/pcsc/drivers
- start /etc/init.d/pcsclite before wpa_supplicant.

Another solution is to NOT link wpa_suplicant with libpcsclite.so and do a dynamic loading of libpcsclite.so using dlopen(3) only when needed.
It may be impossible to use wpa_supplicant to mount /usr from a network server _and_ use the smart card for authentication in wpa_supplicant.