[Debian-on-mobile-maintainers] Bug#1028201: Bug#1028201: riseup-vpn unable to find a usable polkit agent under phosh

Evangelos Ribeiro Tzaras devrtz-debian at fortysixandtwo.eu
Tue Jan 17 17:20:03 GMT 2023


Hi,

On Sun, 2023-01-08 at 18:54 +0530, Pirate Praveen via Debian-on-mobile-
maintainers wrote:
> Package: riseup-vpn,phosh
> severity: grave
> 
> On mobian under phosh (librem 5), riseup-vpn gives error.
> output of riseup-vpn attached.
> 
> phosh provides polkit-1-auth-agent
> 
> phosh 0.23
> riseup-vpn 0.21.11+ds1-2+b1

I've tried to reproduce this by running 
$ pkexec echo bla

On both my Pinephone running Mobian, as well as on my Librem 5 running PureOS
the polkit authentication dialog is presented.

If you send a SIGUSR1 to phosh you can enable debug logging.
You should find something like the following in your journal:

Jan 17 18:10:04 hades phosh[1264]: New prompt for Authentication is needed to
run `/usr/bin/echo' as the super user
Jan 17 18:10:04 hades phosh[1264]: Adding PHOSH_STATE_MODAL_SYSTEM_PROMPT to
shells state. New state: PHOSH_STATE_MODAL_SYSTEM_PROMPT

While I've not tried it with riseup this test should already indicate whether
polkit authentication itself is working in phosh itself.


-- 
Cheers,

Evangelos
PGP: B938 6554 B7DD 266B CB8E 29A9 90F0 C9B1 8A6B 4A19
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 878 bytes
Desc: This is a digitally signed message part
URL: <http://alioth-lists.debian.net/pipermail/debian-on-mobile-maintainers/attachments/20230117/02f8c660/attachment.sig>


More information about the Debian-on-mobile-maintainers mailing list