Open 0x6A7232 opened 8 months ago
This looks like a polkit + consolekit/logind issue, not realizing your active seat. Nothing we can do from UDisks side.
For the record, the polkit rules look like this: https://github.com/storaged-project/udisks/blob/master/data/org.freedesktop.UDisks2.policy.in#L430-L438
When returning from screen locked (using xflock4 - whether auto lock or manually triggered), a dialog box appears requesting authentication for udisk2.ata-smart-update . I'm using psensor to monitor the disks, using the udisks2 option.
NB: This dialog box only displays for ONE device, and it's random which ATA device it will be. The other either doesn't request it or gets the sudo permissions from the first prompt, I guess. I've captured both but to do so I had to re-lock the screen then unlock it again.
Also, if I'm quick about unlocking right after (before the screen goes into power saving mode) I'll get no prompt at all.
I'm currently running MX Linux 23.2, based on Debian Bullseye.
Details: