Bug 234277

Summary: excessive open()'s during startup
Product: [Fedora] Fedora Reporter: Dave Jones <davej>
Component: pcsc-liteAssignee: Jack Magne <jmagne>
Status: CLOSED INSUFFICIENT_DATA QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: pfrields, rrelyea, triage
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard: bzcl34nup
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-05-07 01:22:23 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Dave Jones 2007-03-28 03:08:11 UTC
pcsc seemed to take ages to startup on my laptop (which was annoying given the
lack of smartcard reader).  So I went looking for why.

This isn't the sole reason, but I immediately noticed from an strace of pcscd
startup that it open()'s 
/usr/lib/pcsc/drivers/ifd-ccid.bundle/Contents/Info.plist

553 times, which seems a little.. excessive.

I'll keep digging as to the real cause for the bootup pause, but this is low
hanging fruit that seemed worth reporting.

Comment 1 Bob Relyea 2007-04-03 21:32:43 UTC
Change to the correct component.
I suspect it's the bundle library that pcsc-lite uses. If it cached things a
little better it wouldn't need to continually open the Info.plist file.

bob

Comment 2 Bug Zapper 2008-04-03 23:50:42 UTC
Based on the date this bug was created, it appears to have been reported
against rawhide during the development of a Fedora release that is no
longer maintained. In order to refocus our efforts as a project we are
flagging all of the open bugs for releases which are no longer
maintained. If this bug remains in NEEDINFO thirty (30) days from now,
we will automatically close it.

If you can reproduce this bug in a maintained Fedora version (7, 8, or
rawhide), please change this bug to the respective version and change
the status to ASSIGNED. (If you're unable to change the bug's version
or status, add a comment to the bug and someone will change it for you.)

Thanks for your help, and we apologize again that we haven't handled
these issues to this point.

The process we're following is outlined here:
http://fedoraproject.org/wiki/BugZappers/F9CleanUp

We will be following the process here:
http://fedoraproject.org/wiki/BugZappers/HouseKeeping to ensure this
doesn't happen again.

Comment 3 Bug Zapper 2008-05-07 01:22:19 UTC
This bug has been in NEEDINFO for more than 30 days since feedback was
first requested. As a result we are closing it.

If you can reproduce this bug in the future against a maintained Fedora
version please feel free to reopen it against that version.

The process we're following is outlined here:
http://fedoraproject.org/wiki/BugZappers/F9CleanUp