On Wed, Dec 13, 2006 at 08:50:16PM +0100, Cyrille Bollu wrote: > Sorry. I know you need accurate information to help me. But in order > to reproduce the error, I would have to uninstall openct. So, I was > trying to give you information from memory. > > Before uninstalling openct, I have found another test which give me the > same message. Maybe it might help? Here it is: > > If I run beidgui as a regular user (not root), I experiment the same > behaviour. > > Here's the output from the terminal: > [EMAIL PROTECTED]:~$ beidgui > winscard_clnt.c:3232:SCardCheckDaemonAvailability() PCSC Not Running
You need to have both the PC/SC daemon (in the pcscd package) and the beidpcscd daemon (in the beid-tools) running... > Error: can't open /var/run/openct/status: Permission non accordée > Error: can't open /var/run/openct/status: Permission non accordée > Error: can't open /var/run/openct/status: Permission non accordée > Error: can't open /var/run/openct/status: Permission non accordée [...] You may want to fix the permissions on that file, then :) However, since you have a smartcard reader with the ACR38 chipset, you only need PC/SC; openct is not required for you (no, really! I mean it!). > [EMAIL PROTECTED]:~$ > > Then, within the GUI, I first receive a message "cannot set locale to > 'fr_BE'". Do you have an fr_BE locale listed in /etc/locale.gen? If not, this is not a big deal -- simply means that your interface may not be translated as it should be. > Then when I click on the "chip" icon to read my eID, I receive "Erreur > système: No smartcard inserted" Right, that's because it tries to read a smartcard through OpenCT while your hardware uses PC/SC rather than OpenCT. > Additional information (1): > =========================== > > If I run beidgui as root: > > debian-testing:/home/cyb# beidgui > winscard_clnt.c:3232:SCardCheckDaemonAvailability() PCSC Not Running The beidpcscd daemon and/or the pcsc daemon isn't running... > Then, "cannot set local to en_GB". same as above... > Then, when I click on the "chip" icon, I receive "Error Wrong Root > Certificate" and the following messages are printed on my terminal: > winscard_clnt.c:3232:SCardCheckDaemonAvailability() PCSC Not Running > Session management error: Authentication Rejected, reason : None of the > authentication protocols specified are supported and host-based > authentication failed > > Additional information (2): > =========================== > > Ah! Also, the following lines are printed in /var/log/syslog: > > Dec 13 13:06:03 localhost ifdhandler[3842]: usb_bulk failed: Connection > timed out > Dec 13 13:06:03 localhost ifdhandler[3842]: ps_receive_from_ifd: failed: -1 > Dec 13 13:06:03 localhost ifdhandler[3842]: ps_apdu_recv: failed Not exactly sure what that is; if the above doesn't fix it, we may want to investigate this a bit further (not just yet). Not 100% sure whether it's related. > Additional information (3): > =========================== > > Ah! Yet another information: > > The "winscard_clnt.c:3232:SCardCheckDaemonAvailability() PCSC Not > Running" message appears because I forgot to restart "beid" once logged > in. Indeed, if I type "ps -eaf | grep pcsc" once logged in, there are no > such processes. > > Once beid is restarted, "ps -eaf | grep pcsc" shows me belpcscd running > and the "winscard_clnt.c..." message disappears. See? :) > >>>>And, I have to restart beidpcscd > >>>>(/etc/init.d/beid start) once logged in. It seems that it doesn't > >>>>start correctly during the boot process. > >>> > >>> > >>>Strange, I haven't seen /that/ before. > > > > > > When booting, do you see any message related to belpic and/or beid, or > > just when the beid init script is running? > > > > I cannot see anything special. Could you enable the bootlogd (change "No" to "Yes" in /etc/default/bootlogd), reboot, and put /var/log/boot.log online somewhere? > >>debian:/# cd etc/rc2.d/ > >>debian:/etc/rc2.d# ls > >>K01fetchmail S18portmap S20makedev S25mdadm > >>K09apache S19hplip S20nethack-common S50pcscd > >>K09samba S19lirc S20nvidia-glx-legacy S89atd > >>K20exim4 S20beid S20openbsd-inetd S89cron > >>K20lpd S20belpcscd S20openct S99rc.local > > > > > > Hmm, belpcscd is outdated and should not be there anymore. > > Thanks, I just discovered the "--purge" option of "apt-get remove" :-) > (I already knew "update-rc.d") Wonderful. If you reboot now, does it work? > Could you > > please run this command, and send me the output: > > > > dpkg -l libbeidlibopensc2 libbeid2 beidgui libbeidlibopensc2-dev beid-tools > > libbeid2-dev belpic eidviewer libbelpic0-dev libbelpic0 libeid0-dev libeid0 > > debian-testing:/home/cyb# dpkg -l libbeidlibopensc2 libbeid2 beidgui > libbeidlibopensc2-dev beid-tools libbeid2-dev belpic eidviewer > libbelpic0-dev libbelpic0 libeid0-dev libeid0 > Aucun paquet ne correspond à libbeidlibopensc2-dev. > Aucun paquet ne correspond à libbeid2-dev. Could you try installing those and see if that fixes it? > Aucun paquet ne correspond à libeid0-dev. > Souhait=inconnU/Installé/suppRimé/Purgé/H=à garder > | État=Non/Installé/fichier-Config/dépaqUeté/échec-conFig/H=semi-installé > |/ Err?=(aucune)/H=à garder/besoin Réinstallation/X=les deux (État,Err: > majuscule=mauvais) > ||/ Nom Version Description > +++-=======================-=======================-============================================================== > ii beid-tools 2.5.9-5 SmartCard utilities > from the OpenSC project, compiled against > ii beidgui 2.5.9-5 application to read > out information from the Belgian electroni > pn belpic <néant> (aucune description > n'est disponible) > rc eidviewer 2.3.13.full-7 application to read > out information from the Belgian electroni Should be purged from your system > ii libbeid2 2.5.9-5 library to read > identity information from the Belgian electron > ii libbeidlibopensc2 2.5.9-5 belgian eID PKCS11 > library > rc libbelpic0 2.3.13.full-7 belgian eID PKCS11 > library This one too. > un libbelpic0-dev <néant> (aucune description > n'est disponible) > pn libeid0 <néant> (aucune description > n'est disponible) > debian-testing:/home/cyb# > > > Thanks for your help. You're welcome. If the above fixes your issues, let me know. -- <Lo-lan-do> Home is where you have to wash the dishes. -- #debian-devel, Freenode, 2004-09-22