Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

udisks2 ATA power check triggers authentication prompt on inactive users #11

Open
notpeelz opened this issue Jul 30, 2015 · 4 comments
Open
Labels
incomplete Waiting on more information

Comments

@notpeelz
Copy link
Contributor

As per the org.freedesktop.udisks2.ata-check-power UDisks2 Polkit policy, ATA power-check calls from inactive users require privilege elevation.

The udisks_drive_ata_call_pm_get_state_finish call in plugins/udisks2/is-udisks2-plugin.c triggers the said privilege elevation, thus causing several authentication prompts to appear after unlocking the session.

udisks_authentication_prompt

Edit: it also seems to occur with udisks_drive_ata_call_smart_update_finish and a couple other methods, hence the several authentication prompts showing up after unlocking.

@alexmurray
Copy link
Owner

Is this still occurring?

@alexmurray alexmurray added the incomplete Waiting on more information label Jan 20, 2020
@notpeelz
Copy link
Contributor Author

Still occurs. Tested with release 1.1 (2a00714) on my old dusty laptop running Ubuntu Xenial (16.04 LTS).

@alexmurray
Copy link
Owner

Can you confirm which desktop environment you are running and whether you are using the snap or if you built this yourself (or whatever means you used to install indicator-sensors)?

@notpeelz
Copy link
Contributor Author

Running on Ubuntu 16.04 LTS with Unity DE.

This is how I tested it:

git clone https://github.com/alexmurray/indicator-sensors.git && cd indicator-sensors
git reset --hard 2a00714be9b85f503a6d04bd9edc2a128c02762c
./autogen && sudo make install
/usr/local/bin/indicator-sensors

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
incomplete Waiting on more information
Projects
None yet
Development

No branches or pull requests

2 participants