pkexec doesn't work in tty
Issue Description
When using the tty, you can't use pkexec to authenticate due to a "Not Authorized" error.
Steps to Reproduce
- open a tty with "Ctrrl+Alt+F6"
- log in
- pkexec ls
On what version of Vanilla OS this happens?
Unreleased
Additional Information
No response
seems like the issue is from upstream polkit, as their default fallback agent has been broken for 10 years... wow
bug fix was released in Feb 9th but last pkexec release was in January 17
will attempt to merge the bug fix into the older version using the debian sources
im too stupid to actually package pkexec with the bug fix so if anyone wants to here's the patch file from the pr: https://patch-diff.githubusercontent.com/raw/polkit-org/polkit/pull/423.patch
im just awaiting approval of my salsa account so i can suggest it to debian's team
edit: removed files because it broke vanilla OS integrity check
the integrity check wouldn't break if added to the image correctly so that's not really an issue here, however I don't like the idea of having yet another package to maintain and would rather wait for debian to upgrade the package
This was fixed upstream.