Bug 379231

Summary: pcscd init script searches for /etc/sysconfig/pscsd's existence
Product: [Fedora] Fedora Reporter: Doncho Gunchev <dgunchev>
Component: pcsc-liteAssignee: Bob Relyea <rrelyea>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 8   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-02-24 23:12:19 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 Doncho Gunchev 2007-11-13 00:50:36 UTC
Description of problem:
The init script looks for /etc/sysconfig/pscsd (pscsd vs pcscd) but later 
tries to source pcscd.

Version-Release number of selected component (if applicable):
pcsc-lite-1.3.3-1.fc8

How reproducible:
always

Steps to Reproduce:
1. install pcscd
2. grep pscsd /etc/rc.d/init.d/pcscd

Actual results:
if [ -f /etc/sysconfig/pscsd ] ; then

Expected results:
<empty>

Comment 1 Doncho Gunchev 2007-12-06 20:17:51 UTC
Ping, this is simple to fix typo... I need 
PCSCD_OPTIONS='--force-reader-polling' there.

the change is from
if [ -f /etc/sysconfig/pscsd ] ; then
to
if [ -f /etc/sysconfig/pcscd ] ; then

There's no need to mv the file on update, only the check is wrong and to get 
the current version working one needs empty 'pscsd' and the actual options 
in 'pcscd' (maybe remove pscsd?).

Comment 2 Doncho Gunchev 2008-02-24 23:12:19 UTC
Fixed in pcsc-lite-1.4.4-3.fc9.i386 at least.