Your message dated Sun, 9 Jul 2017 07:38:17 -0400
with message-id 
<caaajcmzlfrdhasmddlmfmjoybqhbrhj_uavwzebcbe4krox...@mail.gmail.com>
and subject line Re: opensc: takes forever to find reader when pcscd is not 
present or running
has caused the Debian Bug report #618554,
regarding opensc: takes forever to find reader when pcscd is not present or 
running
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
618554: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=618554
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
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



--- End Message ---
--- Begin Message ---
Version: 0.16.0-2

This bug was fixed by recommending pcscd.

opensc (0.16.0-2) unstable; urgency=medium

  * debian/control: Recommend pcscd.
  * debian/control: Switch to libssl1.0-dev since it doesn't build with 1.1.
  * debian/compat, debian/control, debian/rules: Switch to debhelper 10.

 -- Eric Dorland   Sat, 10 Dec 2016 19:31:29 -0500

--- End Message ---

Reply via email to