Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 300487 - /usr/sbin/pcscd failed for etoken
Summary: /usr/sbin/pcscd failed for etoken
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Crypto team [DISABLED]
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-01-10 21:27 UTC by Barbu Eros Iulian
Modified: 2012-12-14 23:33 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Barbu Eros Iulian 2010-01-10 21:27:37 UTC
readerfactory.c:771:RFBindFunctions() IFDHandler functions missing

Reproducible: Always

Actual Results:  
/usr/sbin/pcscd -d -f
00000000 pcscdaemon.c:267:main() pcscd set to foreground with debug send to stderr
00001034 readerfactory.c:1024:RFInitializeReader() Attempting startup of AKS ifdh 00 00 using /usr/lib64/libeTPkcs11.so
00000846 readerfactory.c:771:RFBindFunctions() IFDHandler functions missing
00000015 pcscdaemon.c:537:at_exit() cleaning /var/run/pcscd
00000117 pcscdaemon.c:556:clean_temp_files() Cannot remove /var/run/pcscd/pcscd.comm: No such file or directory
---pcsc_scan 
PC/SC device scanner
V 1.4.15 (c) 2001-2009, Ludovic Rousseau <ludovic.rousseau@free.fr>
Compiled with PC/SC lite version: 1.5.5
SCardEstablishContext: Service not available.
---Running cardos-tool --info -i
[cardos-tool] reader-pcsc.c:906:pcsc_detect_readers: SCardEstablishContext failed: 0x8010001d
[cardos-tool] reader-pcsc.c:1015:pcsc_detect_readers: returning with: No readers found
Using reader with a card: Aladdin eToken PRO 64k
Comment 1 Barbu Eros Iulian 2010-01-10 21:29:24 UTC
ldd /usr/lib64/libeTPkcs11.so
	linux-vdso.so.1 =>  (0x00007fff8ee2e000)
	libpthread.so.0 => /lib/libpthread.so.0 (0x00007ffd738c1000)
	libdl.so.2 => /lib/libdl.so.2 (0x00007ffd736bd000)
	libpcsclite.so.1 => /lib/libpcsclite.so.1 (0x00007ffd734af000)
	libc.so.6 => /lib/libc.so.6 (0x00007ffd73156000)
	libusb-0.1.so.4 => /lib/libusb-0.1.so.4 (0x00007ffd72f4d000)
	libhal.so.1 => /usr/lib/libhal.so.1 (0x00007ffd72d3b000)
	/lib64/ld-linux-x86-64.so.2 (0x00000031dec00000)
	libdbus-1.so.3 => /usr/lib/libdbus-1.so.3 (0x00007ffd72af9000)
	librt.so.1 => /lib/librt.so.1 (0x00007ffd728f0000)
Comment 2 Patrick Lauer gentoo-dev 2010-01-11 14:29:11 UTC
please attach emerge --info and the version of pcscd that fails
Comment 3 Barbu Eros Iulian 2010-01-11 19:40:42 UTC
sys-apps/pcsc-lite-1.5.5
---
Portage 2.1.7.16 (default/linux/amd64/10.0, gcc-4.4.2, glibc-2.11-r1, 2.6.32-gentoo x86_64)
=================================================================
System uname: Linux-2.6.32-gentoo-x86_64-Intel-R-_Celeron-R-_CPU_900_@_2.20GHz-with-gentoo-2.0.1
Timestamp of tree: Sun, 10 Jan 2010 10:00:01 +0000
ccache version 2.4 [disabled]
app-shells/bash:     4.0_p35
dev-java/java-config: 2.1.10
dev-lang/python:     2.4.6, 2.5.4-r4, 2.6.4, 2.7_pre20100103, 3.1.1-r1, 3.2_pre20100103
dev-util/ccache:     2.4-r8
dev-util/cmake:      2.8.0
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.6.0
sys-apps/sandbox:    2.2
sys-devel/autoconf:  2.13, 2.65
sys-devel/automake:  1.5-r1, 1.9.6-r2, 1.10.3, 1.11.1
sys-devel/binutils:  2.20
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS="amd64 ~amd64 ~x86"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -msse -msse2 -msse3 -fomit-frame-pointer -march=core2"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/lib64/tomoyo/conf /usr/share/X11/xkb /usr/share/config /var/bind /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -pipe -msse -msse2 -msse3 -fomit-frame-pointer -march=core2"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LDFLAGS="-Wl,-O1"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage/layman/zugaina /usr/local/portage/layman/games /usr/local/portage/layman/vmware /usr/local/portage/layman/sunrise /usr/local/portage/layman/multimedia /usr/local/portage/layman/sabayon /usr/local/portage/layman/synce /usr/local/portage/layman/python /usr/local/portage/layman/sectools /usr/local/portage/layman/kerberos /usr/local/portage/layman/gnome"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X acl acpi ads alsa amd64 bash-completion berkdb bluetooth bzip2 cdr cli consolekit cracklib crypt cups cxx dns dri dvd dvdr fortran gdbm gnome gnutls gpm gtk iconv java laptop ldap mmx modules mudflap multilib ncurses nls nptl nptlonly opengl openmp pam pcre pda perl policykit pppd python qt3support rar readline reflection samba4 sasl session sip smartcard spl sse sse2 sse3 ssl swat sysfs syslog tcpd truetype unicode v4l v4l2 wav winbind xinerama xorg xrandr xv xvmc zlib" ALSA_CARDS="hdsp hdspm hda-codec-nvhdmi hda-codec-realtek" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="evdev keyboard mouse synaptics virtualbox vmmouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia vmware intel i810 nv v4l vesa virtualbox" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 4 Lubos Katrinec 2010-09-05 11:10:03 UTC
I've got the same issue on x86_64.
Tried also newer version sys-apps/pcsc-lite-1.6.1 but still getting the same error message:
 readerfactory.c:740:RFBindFunctions() IFDHandler functions missing

Is there any progress on this?
Comment 5 Alon Bar-Lev (RETIRED) gentoo-dev 2012-12-14 23:33:38 UTC
Please contact upstream regarding such issues.

etoken provider is closed source, it is linked with specific version of pcsc-lite.

I don't think anyone should encourage these vendor to provide closed source software, nor us support issues for them.

Thanks.