Hi all,
the solution is to edit /etc/polkit-default-privs.local like above and run /sbin/set_polkit_default_privs once
.
The result can be found at /var/lib/polkit-1/localauthority/10-vendor.d.
There are files named like their corresponding pokit action with pkla suffix.
The content of the file is like my last try in the post (with little differences).
/var/lib/polkit-1/localauthority/10-vendor.d/org.freedesktop.packagekit.system-update.pkla:
Code:
[org.freedesktop.packagekit.system-update]
Identity=unix-user:*
Action=org.freedesktop.packagekit.system-update
ResultAny=auth_self_keep
ResultInactive=auth_self_keep
ResultActive=auth_self_keep
There is one question left:
Why doesn't polkit-gnome-authorization provide org.freedesktop.packagekit.* and other useful actions?
Mario
Bookmarks