Bug#1077913: gnome-remote-desktop: grdctl requires pkexec which is missing from Depends
Simon McVittie
smcv at debian.org
Sun Aug 4 14:49:00 BST 2024
On Sun, 04 Aug 2024 at 13:45:55 +0200, Sven Geuer wrote:
> Not sure whether pkexec should be added to Depends or whether one
> should replace it with runuser.
If the intended design is that grdctl is run as an unprivileged user and
elevates privileges to root (or maybe swaps to a system uid), then runuser
is not a solution, because runuser can only be run by root. If that's the
design, then a privilege elevation tool is needed (pkexec, sudo, doas or
similar), of which pkexec is the most desktop-integrated.
If grdctl is sometimes but not always required, then Recommends: or
Suggests: pkexec would be another option.
(I haven't kept up with how recent versions of g-r-d work, so I don't have
the context to say authoritatively how it's meant to work and which parts
of it are a hard requirement.)
smcv
More information about the pkg-gnome-maintainers
mailing list