Package: opensc Version: 0.11.13-1.1 Severity: important Greetings,
Noticing that browsing with Iceweasel 3.5 / Firefox 4 became unbearably slow, I dug a little bit and found out that the culprit was none other than opensc taking forever to find my (plugged in) reader. $ time opensc-tool -l [opensc-tool] reader-pcsc.c:906:pcsc_detect_readers: SCardEstablishContext failed: 0x8010001d [opensc-tool] reader-pcsc.c:1015:pcsc_detect_readers: returning with: No readers found Readers known about: Nr. Driver Name 0 openct Aladdin eToken PRO 64k 1 openct OpenCT reader (detached) real 0m4.911s user 0m0.004s sys 0m0.000s Running it through strace, I noticed the following: stat64("/var/run/pcscd/pcscd.comm", 0xbfe4d8cc) = -1 ENOENT (No such file or directory) nanosleep({0, 100000000}, NULL) = 0 stat64("/var/run/pcscd/pcscd.comm", 0xbfe4d8cc) = -1 ENOENT (No such file or directory) nanosleep({0, 100000000}, NULL) = 0 stat64("/var/run/pcscd/pcscd.comm", 0xbfe4d8cc) = -1 ENOENT (No such file or directory) nanosleep({0, 100000000}, NULL) = 0 stat64("/var/run/pcscd/pcscd.comm", 0xbfe4d8cc) = -1 ENOENT (No such file or directory) nanosleep({0, 100000000}, NULL) = 0 stat64("/var/run/pcscd/pcscd.comm", 0xbfe4d8cc) = -1 ENOENT (No such file or directory) nanosleep({0, 100000000}, NULL) = 0 stat64("/var/run/pcscd/pcscd.comm", 0xbfe4d8cc) = -1 ENOENT (No such file or directory) nanosleep({0, 100000000}, NULL) = 0 My issue was solved by installing pcscd, but I believe pcscd should be at least listed as a "Recommends:" for the opensc package, or opensc should not take that much time trying to find this nonexistent file (my reader worked fine without pcscd) Thanks ! -- System Information: Debian Release: wheezy/sid APT prefers unstable APT policy: (500, 'unstable') Architecture: i386 (i686) Kernel: Linux 2.6.37-2-686 (SMP w/2 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages opensc depends on: ii libc6 2.11.2-11 Embedded GNU C Library: Shared lib ii libltdl7 2.2.6b-2 A system independent dlopen wrappe ii libopensc2 0.11.13-1.1 Smart card library with support fo ii libssl0.9.8 0.9.8o-5 SSL shared libraries opensc recommends no packages. opensc suggests no packages. -- no debconf information -- Benjamin FRANCOIS - Systems and Network Support Engineer SmartJog TV-Radio | Phone: +33 1 5868 6227 | Fax: +33 1 5868 6255 27 Blvd Hippolyte Marques, 94200 Ivry-sur-Seine, FRANCE http://www.smartjog.com - http://www.tv-radio.com | A TDF Group company -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org