[Bug 475821] Re: pcscd is supposed to run at startup, but sometimes it does, sometimes not, can't tell why. It started reliably in my last distro, crunchbang, based on ubuntu 9.04.

natsbar natsbar at gmail.com
Sun Nov 8 12:43:00 UTC 2009


Sorry to be a pest, but it seems some problems continue, but slightly
different symptoms.  At startup syslog displays the same error:

Nov  8 07:04:46 works pcscd:
hotplug_libhal.c:490:HPRegisterForHotplugEvents() Could not initialise
connection to hald.
Nov  8 07:04:46 works pcscd:
hotplug_libhal.c:491:HPRegisterForHotplugEvents() Normally this means the
HAL daemon (hald) is not running or not ready.
Nov  8 07:04:46 works pcscd: pcscdaemon.c:524:main() SVCServiceRunLoop
returned

I checked /etc/init.d/pcscd to see if the patch reverted and it was fine.
Still, I patched the file manually (this newbie doesn't know how to do
otherwise) and the error might now be located between my fingers and the
keyboard.  Here's how /etc/init.d/pcscd looks after I applied the patch so
that you can check my work:

#! /bin/sh
### BEGIN INIT INFO
# Provides: pcscd
# Required-Start:    $local_fs $remote_fs $syslog hal
# Required-Stop:     $local_fs $remote_fs $syslog hal
# Default-Start:     2 3 4 5
# Default-Stop:      0 1 6
# Short-Description: Daemon to access a smart card using PC/SC
# Description:       The PC/SC daemon is used to dynamically
#                    allocate/deallocate reader drivers at runtime and
manage
#                    connections to the readers.

...and nothing below was changed.

Nathan.


On Sat, Nov 7, 2009 at 8:06 AM, Nathaniel Sbar <natsbar at gmail.com> wrote:

> Thanks.  The patch seems to be working.  I'll report if there are any
> problems later.
>
> On Sat, Nov 7, 2009 at 3:53 AM, Ludovic Rousseau <
> ludovic.rousseau at gmail.com> wrote:
>
>> pcscd needs to be started _after_ hal.
>>
>> Please patch the /etc/init.d/pcscd file using the attached patch and
>> retry.
>>
>> ** Attachment added: "patch.txt"
>>   http://launchpadlibrarian.net/35297707/patch.txt
>>
>> --
>> pcscd is supposed to run at startup, but sometimes it does, sometimes not,
>> can't tell why.  It started reliably in my last distro, crunchbang, based on
>> ubuntu 9.04.
>> https://bugs.launchpad.net/bugs/475821
>> You received this bug notification because you are a direct subscriber
>> of the bug.
>>
>> Status in “pcsc-lite” package in Ubuntu: New
>>
>> Bug description:
>> Binary package hint: pcscd
>>
>> - I am using UNR 9.10
>> - pcscd version 1.5.3-1ubuntu1
>> - I expect the daemon to start after startup
>> - It only starts up sometimes.  I can't see under what conditions the
>> daemon will start and when it won't.
>>
>> ProblemType: Bug
>> Architecture: i386
>> Date: Thu Nov  5 15:36:20 2009
>> DistroRelease: Ubuntu 9.10
>> InstallationMedia: Ubuntu-Netbook-Remix 9.10 "Karmic Koala" - Release i386
>> (20091028.4)
>> Package: pcscd 1.5.3-1ubuntu1
>> ProcEnviron:
>>  LANG=en_US.UTF-8
>>  SHELL=/bin/bash
>> ProcVersionSignature: Ubuntu 2.6.31-14.48-generic
>> SourcePackage: pcsc-lite
>> Tags:  ubuntu-unr
>> Uname: Linux 2.6.31-14-generic i686
>>
>
>

-- 
pcscd is supposed to run at startup, but sometimes it does, sometimes not, can't tell why.  It started reliably in my last distro, crunchbang, based on ubuntu 9.04.
https://bugs.launchpad.net/bugs/475821
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs at lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


More information about the universe-bugs mailing list