Your message dated Mon, 20 Jun 2011 20:34:03 +0200
with message-id <[email protected]>
and subject line Re: Bug#630887: libchipcard6: please use
SCardEstablishContext() before SCardListReaders()
has caused the Debian Bug report #630887,
regarding libchipcard6: please use SCardEstablishContext() before
SCardListReaders()
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.)
--
630887: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=630887
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: libchipcard6
Version: 5.0.2-1
Severity: important
Tags: upstream
Hi,
since pcsc-lite-1.6.0 pcscd deamon would not be started by default.
Instead, libpcsclite will try to start it on SCardEstablishContext().
LC_Client_Start() tries to find chipcard readers invoking
LC_Client_UpdateReaderStates(). Neither LC_Client_Start() nor
LC_Client_UpdateReaderStates() create a communication context before
looking for readers with SCardListReaders(). As a result, no reader
would be found using default configuration.
I recommend creating a context before SCardListReaders() as suggested
by http://pcsclite.alioth.debian.org/pcsc-lite/node10.html.
Thanks
-- System Information:
Versions of packages libchipcard6 depends on:
ii libc6 2.13-4 Embedded GNU C Library: Shared lib
ii libchipcard-data 5.0.2-1 configuration files for libchipcar
ii libgwenhywfar60 4.1.0-1 OS abstraction layer
ii libpcsclite1 1.7.2-2 Middleware to access a smart card
ii zlib1g 1:1.2.3.4.dfsg-3 compression library - runtime
--- End Message ---
--- Begin Message ---
Hi,
you're right. I was reading to fast through the code.
The reason for the problem was a missing udev rule. During
an update I've lost it. As a result the device file of the
chipcard reader "changed" from group cyberjack to group
root. So a pcscd daemon starting at boot-time could still
access it. But access was denied to non-root users who
can start pcscd "on demand" whith their privileges. As
a result they can't find a chipcard reader.
Frank
--- End Message ---