Bug 515037

Summary: pcscd keeps disk spun up for no reason
Product: [Fedora] Fedora Reporter: Jannes Faber <jannes.faber>
Component: pcsc-liteAssignee: Bob Relyea <rrelyea>
Status: CLOSED NEXTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: low    
Version: 11CC: kalevlember, rrelyea
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-03-03 15:23:43 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On:    
Bug Blocks: 454582    

Description Jannes Faber 2009-08-01 00:47:48 UTC
Description of problem:
pcscd keeps spinning up the hard disk on laptop.

Version-Release number of selected component (if applicable):
Installed Packages
Name       : pcsc-lite
Arch       : i586
Version    : 1.5.2
Release    : 2.fc11

How reproducible:

Steps to Reproduce:
1.  service pcscd start
2.  sysctl -w vm.block_dump=1
3.  while true; do sleep 10; date; dmesg -c | grep -v "kjournald\|pdflush"; done

(no need to insert a smart card or anything.)

Actual results:

every 10 seconds:
pcscd(1709): dirtied inode 5732 (pcscd.pub) on dm-0
pcscd(1709): dirtied inode 5732 (pcscd.pub) on dm-0

Seems like it writes to /var/run/pcscd.pub every 5 seconds. But as far as I can tell nothing is changing.

Expected results:
Be idle and stay idle until a smart card is inserted.

Additional info:
Bug that got me to test and find this: bug #454582

Solution so far: chkconfig pcscd off

Comment 1 Kalev Lember 2009-12-21 07:31:03 UTC
I also got the same behaviour with pcsc-lite-1.5.2-3.fc12, but pcsc-lite-1.5.5-1.fc13 in rawhide appears to fix this.

Comment 2 Kalev Lember 2010-03-03 15:23:43 UTC
Closing the ticket as the bug is fixed in the upcoming F-13 release.