-
Notifications
You must be signed in to change notification settings - Fork 36
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
pidfd tracking breaks gnome authentication agent #457
Comments
Please attach your meson output with that configuration |
Apologies for the delay, here's the meson output (without the aforementioned patch):
I neglected to mention the meson options that Chimera's packaging system implicitly passes, apologies for that as well. |
You are using elogind, not systemd-logind, so this is a problem that you should report to that project, as pidfd-based tracking doesn't seem to work there. Can you try with logind instead? |
Probable duplicate of #451 (will be investigated there), also inactive -> CLOSING |
Describe the bug
The pidfd tracking feature added in polkit 124 causes e.g.
pkexec echo hi
to show a terminal password prompt instead of the gnome password modal dialog that it would show on previous versions.Commenting out this line to disable pidfd tracking fixes the issue and makes
pkexec echo hi
again show the gnome authentication dialog as it should:polkit/meson.build
Line 226 in 82f0924
To Reproduce
Steps to reproduce the behavior:
pkexec echo hi
Expected behavior
pkexec
should show the gnome authentication dialog, even with pidfd tracking on.Screenshots
polkit 124:
previous polkit versions or polkit 124 with pidfd tracking disabled:
Desktop (please complete the following information):
Additional context
Notably. enough, this issue seems to only be happening with gnome's polkit auth agent. I could not reproduce the issue while running KDE Plasma with its polkit agent, and even while running gnome, starting
polkit-mate-authentication-agent-1
orpolkit-kde-authentication-agent-1
manually and then runningpkexec echo hi
would show the respective authentication dialog as expected.Also, here are the options we're passing to meson:
The text was updated successfully, but these errors were encountered: