lightdm-guest-session prevents launching pcscd on-demand
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
lightdm (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
On Ubuntu 12.04 the pcscd daemon is launched on demand by libpcsclite. I believe it relies on the setgid bit on /usr/sbin/pcscd for the process to gain proper rights to create /var/run/
Running pcscd -f as guest user results in:
00000000 pcscdaemon.
00000559 winscard_
00000565 pcscdaemon.
00000581 pcscdaemon.
00000592 pcscdaemon.
00000604 pcscdaemon.
00000614 pcscdaemon.
As regular user it works as expected and card reader is recognized by opensc-tool -l
This bug is closely related to #1329923 and actually most of the nature of the problem is described there.
As a workaround I have reverted /etc/init.d/pcscd to pre 1.6.0 behaviour by commenting out exit 0 as the file itself suggests by running: sed -i -e 's/^exit 0$/#exit 0/' /etc/init.d/pcscd
This just means that the on-demand feature is disabled by launching pcscd during boot and everything works as expected
Status changed to 'Confirmed' because the bug affects multiple users.