Bug#885548: [pkg-wine-party] Bug#885548: Bug#885548: winetricks: Don't recommend gksu

2017-12-28 Thread Stephen Kitt
Hi Austin,

Apologies for the top post — you can use pkexec from a shell script (see 
gsmartcontrol-root in the gsmartcontrol package).

Regards,

Stephen

On 28 December 2017 19:04:24 GMT+00:00, Austin English 
 wrote:
>On Dec 27, 2017 11:42 PM, "Jeremy Bicha"  wrote:
>
>Package: winetricks
>Severity: important
>Tags: sid buster
>User: pkg-gnome-maintain...@lists.alioth.debian.org
>Usertags: oldlibs gksu
>
>gksu has been deprecated for years. The intent of gksu is to allow
>running apps with elevated privileges but the way to do that is for
>the app developer to use PolicyKit to request elevated privileges for
>the specific actions that need done instead of for the whole app to
>run as root.
>
>For the next major stable release of Debian (codenamed Buster), the
>Debian GNOME team plans to default to GNOME on Wayland where gksu does
>not even work.
>
>Therefore, the Debian GNOME team intends to either remove gksu or
>replace it with a non-functional warning message. gksu is unmaintained
>(last upload 2014) and is a security vulnerability.
>
>winetricks recommends sudo | gksu | kdesudo. Please drop gksu from that
>list.
>
>On behalf of the Debian GNOME team,
>Jeremy Bicha
>
>
>Winetricks maintainer here.
>
>Forgive my ignorance, but afaik there's not a way to use policykit from
>a
>shell script, is there? gksu/kdesu are for users running the script but
>not
>in a console (e.g. with a zenity menu).
>
>Alternatively, is there a Wayland replacement for gksu?


Bug#885548: [pkg-wine-party] Bug#885548: Bug#885548: winetricks: Don't recommend gksu

2017-12-28 Thread Austin English
Great, thanks.

I won't be able to fix upstream for a few weeks, but I've filled a bug in
the meantime:

https://github.com/Winetricks/winetricks/issues/912