Bug 19443 - OpenCT стартует после pcscd
Summary: OpenCT стартует после pcscd
Status: NEW
Alias: None
Product: Sisyphus
Classification: Development
Component: openct (show other bugs)
Version: unstable
Hardware: all Linux
: P2 normal
Assignee: Nobody's working on this, feel free to take it
QA Contact: qa-sisyphus
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-04-02 12:16 MSD by Ayaz Natfullin
Modified: 2010-12-28 11:35 MSK (History)
5 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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, то все работает.