I’ve been trying to get policykit to automatically authorize virt-manager.
This was working fine with fedora 21, but with fedora 23 it doesn’t seem to work. For
both I’ve been using the mate desktop.
With f21 I had the following in
/etc/polkit-1/localauthority/50-local.d/caprica.libvirt.pkla
[Allow user libvirt management permissions]
Identity=unix-user:user
Action=org.libvirt.unix.manage
ResultAny=yes
ResultInactive=yes
ResultActive=yes
I tried the above with f23 and no luck. I’ve since tried
/etc/polkit-1/rules.d/80-libvirt.rules
polkit.addRule(function(action, subject) {
if (action.id == "org.libvirt.unix.manage" && subject.local &&
subject.active && subject.isInGroup("wheel")) {
return polkit.Result.YES;
}
});
and a few variations with no luck.
Anyone seen this work with f23?
I have the following rpms installed:
mate-polkit-1.12.0-1.fc23.x86_64
polkit-0.113-4.fc23.x86_64
polkit-devel-0.113-4.fc23.x86_64
polkit-docs-0.113-4.fc23.noarch
polkit-gnome-0.105-9.fc23.x86_64
polkit-libs-0.113-4.fc23.x86_64
polkit-pkla-compat-0.1-6.fc23.x86_64
polkit-qt-0.112.0-5.fc23.x86_64
polkit-qt5-1-0.112.0-5.fc23.x86_64