On Sat, Dec 11 2021, Ludovic Rousseau wrote:
> Hello Yuri,
>
> I got no answer to my questions.

Sorry about that, didn't get anything.

>> I note I get the same error if I use service(8) instead of
>> invoke-rc.d(8) to
>> restart pcscd:
>> $ sudo service pcscd restart
>> Failed to restart pcscd.service: Unit pcscd.service is masked.
>> Have you modified invoke-rc.d configuration or something like that?

No

>> What do you get if you run "sudo invoke-rc.d pcscd restart"?

# invoke-rc.d pcscd restart
Failed to restart pcscd.service: Unit pcscd.socket is masked.
invoke-rc.d: initscript pcscd, action "restart" failed.
○ pcscd.service - PC/SC Smart Card Daemon
     Loaded: loaded (/lib/systemd/system/pcscd.service; indirect; vendor 
preset: enabled)
     Active: inactive (dead)
       Docs: man:pcscd(8)

but I just noticed reading now the error above I effectively masked the
socket without masking the service :/

My bad.

I had to install pcscd to use a smart-card reader once in a while,
however I noticed that having pcscd running and/or starting anything
using pkcs11 was taking _seconds_. I didn't want to remove the service,
however I probably disabled socket by tabbing one-too-many times.

Reply via email to