Package: scdaemon
Version: 2.0.19-1
Severity: important

Dear Maintainer,

If scdaemon cannot find the configured reader, it will flood syslog:

Sep 11 09:17:42 twin pcscd: winscard.c:241:SCardConnect() Reader Gemalto USB 
Shell Token V2 01 00 Not Found
Sep 11 09:17:42 twin pcscd: winscard.c:241:SCardConnect() Reader Gemalto USB 
Shell Token V2 01 00 Not Found
Sep 11 09:17:43 twin pcscd: winscard.c:241:SCardConnect() Reader Gemalto USB 
Shell Token V2 01 00 Not Found
Sep 11 09:17:44 twin pcscd: winscard.c:241:SCardConnect() Reader Gemalto USB 
Shell Token V2 01 00 Not Found
Sep 11 09:17:44 twin pcscd: winscard.c:241:SCardConnect() Reader Gemalto USB 
Shell Token V2 01 00 Not Found
Sep 11 09:17:45 twin pcscd: winscard.c:241:SCardConnect() Reader Gemalto USB 
Shell Token V2 01 00 Not Found
[...]

Not only does it consume CPU time without need (the operation that
triggered the spawning of scdaemon will have finished successfully
using an on-disk key after the first error message from scdaemon), but
it also clutters the syslog.  In certain configurations (time-based
syslog rotation without size restrictions), it could even lead to
filling up /var/log. In other configurations it could lead to more
important messages getting dropped too early. For this reason (impact
on other parts of the system) I'm setting the severity to
important. scdaemon itself will continue to operate normally. Once I
plug in the matching card reader, the spamming will stop and SSH will
be able to use the key stored on the card.

Background: I have two USB smartcard readers (of different form
factors, for cards of different form factor): one for online banking
via HBCI and the other one for use with GnuPG (including SSH). The
GnuPG one usually gets plugged into the system I happen to be
physically present at, but sometimes I don't plug it in at all because
the local keys are sufficient for the task at hand. To prevent the
smartcard reader used for HBCI from "confusing" GnuPG, I have
configured scdaemon (via ~/.gnupg/scdaemon.conf) to only use a
specific reader.


-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.2.0-3-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_GB, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages scdaemon depends on:
ii  libassuan0     2.0.3-1
ii  libc6          2.13-35
ii  libgcrypt11    1.5.0-3
ii  libgpg-error0  1.10-3
ii  libksba8       1.2.0-2
ii  libpth20       2.0.7-16
ii  libusb-0.1-4   2:0.1.12-20

scdaemon recommends no packages.

scdaemon suggests no packages.

-- no debconf information


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to