Bug 19443

Summary: OpenCT стартует после pcscd
Product: Sisyphus Reporter: Ayaz Natfullin <aquarius>
Component: openctAssignee: Nobody's working on this, feel free to take it <nobody>
Status: NEW --- QA Contact: qa-sisyphus
Severity: normal    
Priority: P2 CC: aquarius, radik, shakirov, sibgatullinb, snejok
Version: unstable   
Hardware: all   
OS: Linux   

Description Ayaz Natfullin 2009-04-02 12:16:28 MSD
По умолчанию сервис openct стартует после pcscd:

head /etc/init.d/openct
#! /bin/sh
#
# This shell script takes care of starting and stopping
# openct server
#
# chkconfig: 345 39 50
# description: Smartcard Terminal Tnterface

head /etc/init.d/pcscd
#!/bin/bash
#
# pcscd        Starts the pcscd Daemon
#
#
# chkconfig: 2345 12 88
# description: PC/SC Smart Card Daemon

Из-за этого считыватель, использующий драйвера openct и подключенный до загрузки системы (или до включения компьютера), не определяется демоном pcscd.
/var/log/messages:
Apr  2 11:08:31 localhost pcscd: pcscd startup succeeded
Apr  2 11:08:31 localhost pcscd: hotplug_libusb.c:407:HPAddHotPluggable() Adding USB device: 001:003
Apr  2 11:08:31 localhost pcscd: readerfactory.c:1095:RFInitializeReader() Attempting startup of Pertosmart Car
d Reader 00 00.
Apr  2 11:08:31 localhost pcscd: readerfactory.c:933:RFBindFunctions() Loading IFD Handler 2.0
Apr  2 11:08:31 localhost pcscd: readerfactory.c:1130:RFInitializeReader() Open Port 200000 Failed (usb:072f/90
00:libusb:001:003)
Apr  2 11:08:31 localhost pcscd: readerfactory.c:1012:RFUnloadReader() Unloading reader driver.
Apr  2 11:08:31 localhost pcscd: readerfactory.c:251:RFAddReader() Pertosmart Card Reader init failed.

Если стартовать openct до pcscd, то все работает.