Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

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

232 views
Skip to first unread message

Evangelos Ribeiro Tzaras

unread,
Jan 17, 2023, 12:43:20 PM1/17/23
to
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
signature.asc

Nilesh Patra

unread,
Jan 21, 2023, 1:30:04 AM1/21/23
to
Hi Praveen,
I maintain riseup-vpn in debian. As you might see in the dependency list, it depends on
policykit as "policykit-1-gnome | polkit-1-auth-agent"

If this is not functional for you, there is nothing I can do from riseup-vpn side to make
it work. As it works for Evangelos, please kindly check if this works as well for you and ensure
that this is not a local issue.

Thank you
Nilesh

Pirate Praveen

unread,
Jan 29, 2023, 5:20:03 AM1/29/23
to
After installing policykit-1-gnome, riseup-vpn is working. So probably
polkit-1-auth-agent provided by phosh is not sufficient for riseup-vpn,
in that case either the missing features should be added to it or
riseup-vpn should have an explicit dependency on policykit-1-gnome
(instead of the optional dependency).

>
> Thank you
> Nilesh
>
>
0 new messages