Hi Ludovic,

thank you for the quick answer!


I can reproduce the problem if I use "sudo systemctl restart pcscd".
You should NOT do that.

If you really need to restart pcscd you should do something like:
$ systemctl stop pcscd.service
$ systemctl stop pcscd.socket
$ systemctl start pcscd.socket

See
https://ludovicrousseau.blogspot.com/2011/11/pcscd-auto-start-using-systemd.html

Thanks for the information... perhaps the socket should depend on pcscd and so
be restarted along with it?


Why do you want to restart pcscd?

When switching between package versions.


Do I read you correctly that the default Debian package doesn't
restart pcscd upon installing a new version?


That would explain why I needed the last month to debug a problem...
my pcscd was updated on 2021-08-31, but seems to have been running
the old binary until I rebooted -
at which point my VPN didn't work anymore, and the recently (2 weeks)
installed packages didn't offer any clue about the offending package...



Please set the socket as a dependency, so that a simple "restart" works
as expected (by me, at least ;)


Thanks!

Reply via email to