On Sat, Jan 21 2023 at 11:54:37 AM +05:30:00 +05:30:00, Nilesh Patra
<nil...@debian.org> wrote:
Hi Praveen,
On Tue, 17 Jan 2023 18:20:03 +0100 Evangelos Ribeiro Tzaras
<devrtz-deb...@fortysixandtwo.eu> wrote:
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.
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.
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