desktop-image icon indicating copy to clipboard operation
desktop-image copied to clipboard

pkexec doesn't work in tty

Open taukakao opened this issue 1 year ago • 6 comments

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

taukakao avatar Feb 29 '24 13:02 taukakao

seems like the issue is from upstream polkit, as their default fallback agent has been broken for 10 years... wow

fluoriteByte avatar Apr 08 '24 01:04 fluoriteByte

bug fix was released in Feb 9th but last pkexec release was in January 17

fluoriteByte avatar Apr 08 '24 01:04 fluoriteByte

will attempt to merge the bug fix into the older version using the debian sources

fluoriteByte avatar Apr 08 '24 01:04 fluoriteByte

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

fluoriteByte avatar Apr 08 '24 02:04 fluoriteByte

edit: removed files because it broke vanilla OS integrity check

fluoriteByte avatar Apr 08 '24 03:04 fluoriteByte

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

axtloss avatar Apr 08 '24 04:04 axtloss

This was fixed upstream.

taukakao avatar Jul 22 '24 23:07 taukakao