Here is my simple script for grepping "<allow_any>auth_admin</allow_any> <allow_inactive>auth_admin</allow_inactive> <allow_active>auth_admin</allow_active> <annotate key="org.freedesktop.policykit.exec.allow_gui">true</annotate>" inside /usr/share/polkit-1/actions/*.policy files in packages.
How to use: 1. apt-file search /usr/share/polkit-1/actions/ | grep "\.policy$" | awk '{print $1;}' | sed 's/[:]/ /g' | sort | uniq > polkit.txt 2. execute my script with ./do-pk.sh polkit.txt 4. it will do apt-get download, dpkg-deb -R, grep 'allow_.*auth_admin'&&'allow_gui.*true' and and print some info: ... aptdaemon is not affected by polkit <annotate key="org.freedesktop.policykit.exec.allow_gui">true</annotate> apt-offline-gui is affected by polkit ... Hope it helps. ** Attachment added: "script for grepping for auth_admin && allow_gui inside /usr/share/polkit-1/actions/application.policy files in packages" https://bugs.launchpad.net/ubuntu/+source/sirikali/+bug/1713313/+attachment/4939854/+files/do-pk.sh -- You received this bug notification because you are a member of Ubuntu-X, which is subscribed to xdiagnose in Ubuntu. https://bugs.launchpad.net/bugs/1713313 Title: Unable to launch pkexec'ed applications on Wayland session To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/apt-offline/+bug/1713313/+subscriptions _______________________________________________ Mailing list: https://launchpad.net/~ubuntu-x-swat Post to : ubuntu-x-swat@lists.launchpad.net Unsubscribe : https://launchpad.net/~ubuntu-x-swat More help : https://help.launchpad.net/ListHelp