Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 99505 - sys-apps/pcsc-lite - /etc/init.d/pcscd does not start pcscd if pcscd abended before
Summary: sys-apps/pcsc-lite - /etc/init.d/pcscd does not start pcscd if pcscd abended ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords: Inclusion
Depends on:
Blocks:
 
Reported: 2005-07-19 03:05 UTC by Alon Bar-Lev (RETIRED)
Modified: 2005-07-19 18:11 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
pcscd-init.diff (pcscd-init.diff,417 bytes, patch)
2005-07-19 03:06 UTC, Alon Bar-Lev (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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