Bug 379231 - pcscd init script searches for /etc/sysconfig/pscsd's existence
Summary: pcscd init script searches for /etc/sysconfig/pscsd's existence
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: pcsc-lite
Version: 8
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Bob Relyea
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2007-11-13 00:50 UTC by Doncho Gunchev
Modified: 2008-02-24 23:12 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2008-02-24 23:12:19 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

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.


Note You need to log in before you can comment on or make changes to this bug.