* Ludovic Rousseau: " Re: Bug#924914: pcscd: socket activation masks
  socket" (Mon, 18 Mar 2019 18:42:21 +0100):

Hello Ludovic,

> Le 18/03/2019 à 11:40, Mathias Behrle a écrit :
> > Package: pcscd
> > Version: 1.8.24-1
> > Severity: important
> > Tags: patch
> > 
> > Dear Maintainer,  
> 
> Hello,
> 
> > pcscd.socket masks the socket of pcscd, which is then not available for
> > programs needing it (e.g. can easily reproduced by running pcsc_scan).  
> 
> What are the steps to reproduce the problem?

I am running pcscd inside an LXC container (container is buster, host is
jessie). There is no problem when starting pcscd from command line: it creates
the socket. The problem appears when started by systemd. As already said it is
easy to reproduce: pcsc_scan doesn't work.
 
> > The additional line
> > 
> > SocketMode=0666
> > 
> > in pcscd.socket re-instates the usual socket as usually created by
> > pcscd.  
> 
> the socket is now created by systemd, not pcscd.
> Unless you have a special configuration.

The socket is only created when SocketMode=0666 is set, otherwise there is no
socket in /var/run/pcscd. May be it is a special behavior of systemd in LXC
containers.
 


-- 

    Mathias Behrle
    PGP/GnuPG key availabable from any keyserver, ID: 0xD6D09BE48405BBF6
    AC29 7E5C 46B9 D0B6 1C71  7681 D6D0 9BE4 8405 BBF6

Reply via email to