Bug#1077676: pcscd: unprivileged users not authorized to access OpenPGP smart cards

Gian Piero Carrubba debian-bts at rm-rf.it
Sun Aug 4 15:24:28 BST 2024


* [Sun, Aug 04, 2024 at 07:44:47AM GMT] Mark Hindley:
>Attached is the patch I have queued. Could you apply it to 
>/etc/init.d/elogind and verify that it fixes the behaviour for you?

I cannot reboot the laptop now. Also, I already had the patch in place, 
so I've recreated the issue artificially:

- removed the X-Start-Before line
- modified the Required-Start so to have elogind start after 
   $x-display-manager
- confirmed with `sudo rc-status` that openrc would start elogind after 
   xdm
- run `sudo update-rc.d elogind defaults` and confirmed the links in 
   /etc/rc?.d/ have been changed accordingly

I've then restored the Required-Start line and readded the 
X-Start-Before line and confirmed, both with `rc-status` and 
`update-rc.d`, that elogind would start before xdm.

This should be enough to validate the change. The only reason for it not 
to still work would be if elogind daemonized but didn't register the 
session (e.g.: it still is in an hypothetical initialization phase) when 
an user logs in, but that's not something openrc/sysvrc could prevent.

Thanks,
Gian Piero.



More information about the Debian-init-diversity mailing list