Bug 580322 - pcscd requires hal but the init script order contradicts that
Summary: pcscd requires hal but the init script order contradicts that
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: pcsc-lite
Version: 13
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Kalev Lember
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-04-08 00:36 UTC by Lennart Poettering
Modified: 2010-04-21 02:20 UTC (History)
2 users (show)

Fixed In Version: pcsc-lite-1.5.5-4.fc13
Clone Of:
Environment:
Last Closed: 2010-04-21 02:20:39 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Lennart Poettering 2010-04-08 00:36:36 UTC
The pcscd init script says it wants to be started at priority 25, the hal init script says 26. However pcscd refuses to start up if hal is not around. Hence the order is wrong: hal needs to be started before pcscd.

# sudo rpm -qf /etc/init.d/haldaemon /etc/init.d/pcscd 
hal-0.5.14-3.fc13.x86_64
pcsc-lite-1.5.5-3.fc13.x86_64

Comment 1 Lennart Poettering 2010-04-08 00:37:09 UTC
Of course, this completely breaks the entire package.

Comment 2 Kalev Lember 2010-04-13 11:55:43 UTC
As far as I know, chkconfig is smart enough to recalculate priorities so that the service gets started later than the ones mentioned in Required-Start and Should-Start tags in LSB header.

An earlier bug #565241 was about referencing invalid init script names in LSB header. Now that this is fixed and pcscd init script correctly references haldaemon, a simple "chkconfig pcscd resetpriorities" should fix the order. I was lucky enough to get my hands on a clean Fedora 13 Beta installation today and pcscd was indeed started on priority 27 (even thought there is priority 25 in chkconfig: line).

However, to be on a safe side I've applied a patch to also explicitly fix chkconfig priorities.

Please test pcsc-lite-1.5.5-4.fc13 and give karma if the init script order is now fixed for you. (Note that you still need to run "chkconfig pcscd resetpriorities" after updating for the changes to take effect. This is also a recommended step in Fedora yum upgrade faq.)

Thanks for reporting this!

Comment 3 Fedora Update System 2010-04-13 11:57:14 UTC
pcsc-lite-1.5.5-4.fc13 has been submitted as an update for Fedora 13.
http://admin.fedoraproject.org/updates/pcsc-lite-1.5.5-4.fc13

Comment 4 Fedora Update System 2010-04-14 01:35:57 UTC
pcsc-lite-1.5.5-4.fc13 has been pushed to the Fedora 13 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update pcsc-lite'.  You can provide feedback for this update here: http://admin.fedoraproject.org/updates/pcsc-lite-1.5.5-4.fc13

Comment 5 Fedora Update System 2010-04-21 02:20:34 UTC
pcsc-lite-1.5.5-4.fc13 has been pushed to the Fedora 13 stable repository.  If problems still persist, please make note of it in this bug report.


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