Bug 654377 - pcscd fails on boot and fails all "start" attempts
Summary: pcscd fails on boot and fails all "start" attempts
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: pcsc-lite
Version: 14
Hardware: x86_64
OS: Linux
low
medium
Target Milestone: ---
Assignee: Kalev Lember
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On: 660600
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-11-17 18:07 UTC by Shaun Andrew
Modified: 2010-12-12 22:20 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2010-12-12 22:20:05 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
pcscd messages from /var/log/messages (2.21 KB, text/plain)
2010-11-18 21:03 UTC, Shaun Andrew
no flags Details

Description Shaun Andrew 2010-11-17 18:07:10 UTC
Description of problem: pcscd fails to start on boot and fails all attempts to start/restart using "service pcscd start"  lsusb properly identifies the Smart Card Reader.  pcscd worked under Fedora 12 x86_64.


Version-Release number of selected component (if applicable):
pcsc-lite-1.6.4-1.fc14.x86_64

How reproducible: ALWAYS


Steps to Reproduce:
1. plug in usb smart card reader
2. boot Fedora 14 
3.
  
Actual results:
pcscd FAILED

Expected results:
pcscd OK

Additional info:  I believe problem might be an issue with the x86_64 version.  I reported same problem against Fedora 13 x86_64.  Fedora 13 i386 worked.
Fedora 8/9/10/11/12 x86_64 worked.  Fedora 13/14 x86_64 do NOT work.  All on same exact hardware.

Comment 1 Bob Relyea 2010-11-17 22:13:30 UTC
There's got to be more to it than this. I'm running F-14 64-bit with no problem. I was previously running F 13 My current pcsc-lite is:

root@bobs-laptop rrelyea]# rpm -q pcsc-lite
pcsc-lite-1.6.4-1.fc14.x86_64


Can you give some more information (perhaps log messages on why it's failing). It doesn't appear to be specifically an 86_64 bit problem.

I'm guessing there is something about your configuration.

bob

Comment 2 Shaun Andrew 2010-11-18 21:03:38 UTC
Created attachment 461391 [details]
pcscd messages from /var/log/messages

I have attached several error messages from /var/log/messages in regards to my pcscd failure.  I concur that the Fedora 14 pcscd problem is a configuration problem.  The pcscd configuration problem is per the Fedora 14 installation.

One problem is the README file in /etc/reader.conf.d.  The README file was being treated as a *.conf file until I commented out each line.  I have attached a text file with remaining pcscd error messages.  Any help would be greatly appreciated.

Comment 3 Kalev Lember 2010-11-20 14:11:02 UTC
I wonder how you ended up with the README file in that directory. It used to be part of pcsc-lite package but was removed between F13 and F14, so the package update should have gotten rid of it.

I think your second problem is related to openct which has snuck in instead of the ccid driver. Standard CCID readers like your SCM SCR 331 are pretty broken with openct right now.

Try installing 'ccid' and removing 'openct' and see if it fixes the problem.

Comment 4 Shaun Andrew 2010-11-22 14:50:42 UTC
Kalev,

     I removed "openct" and installed "ccid".  IT WORKS!!!

     I also installed "esc", which was not installed by the F14 installation, but was installed by Fedora installations up to F12.(???)


THANK YOU.

Shaun Andrew

Comment 5 Shaun Andrew 2010-11-22 14:52:12 UTC
(In reply to comment #3)
> I wonder how you ended up with the README file in that directory. It used to be
> part of pcsc-lite package but was removed between F13 and F14, so the package
> update should have gotten rid of it.
> 
> I think your second problem is related to openct which has snuck in instead of
> the ccid driver. Standard CCID readers like your SCM SCR 331 are pretty broken
> with openct right now.
> 
> Try installing 'ccid' and removing 'openct' and see if it fixes the problem.


Kalev,

     I removed "openct" and installed "ccid".  IT WORKS!!!

     I also installed "esc", which was not installed by the F14 installation,
but was installed by Fedora installations up to F12.(???)


THANK YOU.

Shaun Andrew

Comment 6 Kalev Lember 2010-12-04 10:40:59 UTC
I think it's safe to say that we want people who install pcsc-lite to also get the ccid driver _by default_. On the other hand, there are people who don't want the default setup and need to use some other driver instead of the ccid driver, so this is another use case to support.

Right now pcsc-lite has Requires: pcsc-ifd-handler and all the drivers (ccid, pcsc-lite-openct et al) have virtual Provides: pcsc-ifd-handler. This scheme worked fine until F12: yum would depsolve the situation by picking the package with the shortest name, which was ccid.

This is no longer the case.

Nowadays yum has a much more complicated depsolving algorithm, and one of the first things it does it compare prefixes. Unfortunately, pcsc-lite + pcsc-lite-openct prefixes match and pcsc-lite + ccid prefixes don't match, so yum picks pcsc-lite-openct by default.

I've discussed that with Seth Vidal and looks like the easiest way to solve the problem is to rename ccid -> pcsc-lite-ccid.

Bob, any objections if I post pcsc-lite-ccid package for review? Could you help getting it through the review process?

Comment 7 Bob Relyea 2010-12-06 18:39:56 UTC
> Bob, any objections if I post pcsc-lite-ccid package for review? Could you help
> getting it through the review process?

No. I don't. Not having ccid installed by default will definitely cause all sorts of problems.

bob

Comment 8 Kalev Lember 2010-12-07 09:48:32 UTC
I just filed a review request for ccid -> pcsc-lite-ccid package rename in bug #660600.

Comment 9 Kalev Lember 2010-12-12 22:20:05 UTC
pcsc-lite-ccid package in built and imported in rawhide, so in Fedora 15 people should no longer accidentally end up with pcsc-lite-openct package.

Closing the ticket.


Note You need to log in before you can comment on or make changes to this bug.