OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Re: [Muscle] premature shutdown problem of pcsc daemon in MAC

From: Joseph Antony (ajosephantonygmail.com)
Date: Wed Aug 31 2005 - 08:17:25 CDT


On 8/30/05, Ludovic Rousseau <ludovic.rousseaugmail.com> wrote:
> On 30/08/05, Joseph Antony <ajosephantonygmail.com> wrote:
> > Based on this, I executed a script which will communicate with the card
> > continously for about 5 minutes. Even in this scenario, the daemon gets
> > shutdown. But, when the daemon is executed normally (without the foreground
> > option), things go well without any problem. I am not able to find out who
> > and why this shutdown signal is being triggered. It will be great if someone
> > can guide me in this regard.
>
> pcscd should log its messages using syslog(3). You should be able to
> see them in /var/log/messages or a similar file.

I checked with the var/log/system.messages. Whenever I got the
following two lines of messages, pcscd did not exit and works properly
without auto-exitting.
-----
Aug 31 18:36:55 mac-admins-power-mac-g4-agp-graphics /usr/sbin/pcscd:
SCardTransmit: wrote past end receive buffer
Aug 31 18:36:56 mac-admins-power-mac-g4-agp-graphics /usr/sbin/pcscd:
SCardTransmit: wrote past end receive buffer
----

When these messages do not come, then, the exit after 2 minutes
happens. I cudnt reason out the meaning behind those two messages, as
they are APIs for apps above pcscd layer.
 
> pcscd should tell why it exists (if it is a clean exit).
no comments / messages come in either the console log or the system
when pcscd exits
pls guide me in this.

Bye
Joe

> Bye,
>
> --
> Dr. Ludovic Rousseau
> For private mail use ludovic.rousseaufree.fr and not "big brother" Google
>
> _______________________________________________
> Muscle mailing list
> Musclelists.musclecard.com
> http://lists.drizzle.com/mailman/listinfo/muscle
>

_______________________________________________
Muscle mailing list
Musclelists.musclecard.com
http://lists.drizzle.com/mailman/listinfo/muscle