If pcscd should handle PCMCIA-based SmartcardReader it is necessary that
pcmcia is ready and has found all devices before pcscd is started. After
Start of pcscd it needs some time to initialize itself (finding all
smartcardreaders, etc.).

Other resources like GDM (Smartcard-based login) and NetworkManager
(Smartcard-based VPN) should wait for pcscd to be ready (if it is
installed)!

As a starting point I've written an upstart init script (attached).
This script emits a signal after pcscd has been started and settled down
(sleep 5). I know this is ugly, but as stated before simply starting
pcscd -- and after that the NetworkManager/GDM -- can lead to a kind of
"race condition".

I've also changed the upstart init script for NetworkManager and GDM to
wait for the emited signal.


** Attachment added: "pcscd.conf"
   http://launchpadlibrarian.net/38790886/pcscd.conf

-- 
Upstart job for pcscd
https://bugs.launchpad.net/bugs/506908
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to