Hi, > I agree that "there's no good reason why a machine losing power should > require manual intervention to recover a crashed daemon" but I > STRONGLY object to your patch.
Apologies if I've caused offence - I only hoped that my experiences of pcscd startup trouble may be helpful to users with similar frustrations. I'd always worked around the problem manually during development, but when demonstrating and delivering smart card technology on Linux such intervention wasn't possible. My patch was designed to be a quick fix when I noticed somebody just power a machine off, but also helped during development when things tended to crash :o). > So if your operating system do not remove files in /tmp during reboot > you should patch your system and not the pcscd starting script. Red Hat doesn't do this by default, and while relying on files in /tmp surviving a reboot is bad, so would relying on them being removed. > 2002-08-13 Ludovic Rousseau > * src/pcscdaemon.c: > add support for --apdu, test if the pcscd is still running before > complaining that /tmp/pcsc is present This seems like a step in the right direction, but unforunately USE_RUN_PID doesn't seem to enabled by default. However if this is used, it seems a sensible way to distinguish between a crashed daemon and live instance - I'll look into enabling it in future. Cheers, Sean. -- __________________________________________________________ Sign-up for your own FREE Personalized E-mail at Mail.com http://www.mail.com/?sr=signup _______________________________________________ Muscle mailing list [EMAIL PROTECTED] http://lists.musclecard.com/mailman/listinfo/muscle
