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

Internal polkit agent does not allow authorization as root. #12620

Open
antohami opened this issue Jan 9, 2025 · 1 comment
Open

Internal polkit agent does not allow authorization as root. #12620

antohami opened this issue Jan 9, 2025 · 1 comment
Labels

Comments

@antohami
Copy link

antohami commented Jan 9, 2025

Distribution

ALT Linux Sisyphus

Package version

= 6.4.1

Graphics hardware in use

No response

Frequency

Always

Bug description

Internal polkit agent does not allow authorization as root.

Steps to reproduce

  1. Remove polkit default rule, contains:
    polkit.addAdminRule(function(action, subject) {
    return ["unix-group:wheel"];
    });

  2. Try running gparted

  3. gparted does not start, there is no authorization window for Polkit

Expected behavior

The polkit authorization window for root appears.

Additional information

Regression after commit 9945a8a

@antohami antohami added the BUG label Jan 9, 2025
@AchillesBoi
Copy link

Can confirm. I'm not able to authorize fullscreen UI in GPU Screen Recorder (flatpak) on Mint 22.1 Beta. I get this error after inputting my password on the authorization screen:

"Failed to setup the new UI. You either cancelled the installation or you don't have pkexec installed and a polkit agent running."

Running it on a terminal, it detects the existance of pkexec but still does not authorize.

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

No branches or pull requests

2 participants