Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 99505

Summary: sys-apps/pcsc-lite - /etc/init.d/pcscd does not start pcscd if pcscd abended before
Product: Gentoo Linux Reporter: Alon Bar-Lev (RETIRED) <alonbl>
Component: New packagesAssignee: Gentoo's Team for Core System packages <base-system>
Status: RESOLVED FIXED    
Severity: normal Keywords: Inclusion
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: pcscd-init.diff

Description Alon Bar-Lev (RETIRED) gentoo-dev 2005-07-19 03:05:22 UTC
pcscd stores two files at /var/run, if they exist it will not start.
The /etc/init.d/pcsc.d does not clean these files so if pcscd abends without
removing these files it will never go up.

Reproducible: Always
Steps to Reproduce:
1. /etc/init.d/pcscd start
2. kill -9 [pcsc]
3. /etc/init.d/pcscd zap
4. /etc/init.d/pcscd start

Actual Results:  
pcscd is not started.

Expected Results:  
pcscd started.

While you at it, please consider updating also the pcsc-lite version, bug #95951.
Comment 1 Alon Bar-Lev (RETIRED) gentoo-dev 2005-07-19 03:06:31 UTC
Created attachment 63765 [details, diff]
pcscd-init.diff

Suggested fix for pcscd-init at files directory.
Comment 2 SpanKY gentoo-dev 2005-07-19 18:11:05 UTC
thanks, fixed in cvs