The pcscd service fails to load after an unclean shutdown due to a leftover /var/run/pcscd/pcscd.comm Deleting that file fixes the problem Reproducible: Always Steps to Reproduce: 1. start pcscd 2. reboot (uncleanly) 3. try to start pcscd again Actual Results: pcscd does not start: # /usr/sbin/pcscd -f utils.c:53:GetDaemonPid() Can't open /var/run/pcscd/pcscd.pid: No such file or directory pcscdaemon.c:367:main() file /var/run/pcscd/pcscd.comm already exists. pcscdaemon.c:369:main() Maybe another pcscd is running? pcscdaemon.c:371:main() I can't read process pid from /var/run/pcscd/pcscd.pid pcscdaemon.c:372:main() Remove /var/run/pcscd/pcscd.comm pcscdaemon.c:374:main() if pcscd is not running to clear this message. Expected Results: pcscd should start Possible solution: The startup script could delete this file in case it can verify (based on pid file?) no other instance of pcscd is actually running
I think that in pcsc-lite-1.8 this is resolved, I do not see this behaviour in code. Please reopen if not. Thanks!