Open guerby opened 4 years ago
Note: to test I added test1 in wheel group usermod -a -G wheel test1
then I was able to gain administrative access to all features of cockpit including managing the VM, but still no call to my polkit rule.
From IRC : https://bugzilla.redhat.com/show_bug.cgi?id=1780400
I added test1 user to libvirt and libvirt-dbus groups
# id test1
uid=1010(test1) gid=1010(test1) groups=1010(test1),981(libvirt),972(libvirtdbus)
When logged into cockpit the user gain access to the VM listing, I cannot do anything (error "access denied" when I try to shut down for example) but it has for some reason access to the VNC console of the VMs but I still do not get my polkit rule called.
May be a difference between RHEL7 and FC32 on some default?
Fedora 32 cockpit 223-1 cockpit-machines 223-1
Here is what I did:
login as test1 on https://localhost:9090 I see "Limited Access" on the top right of the web page When I click on "machine" I see no machine at all and the polkit.log don't appear in journalctl -u polkit
After I while I see only:
The issue seem that with my setup polkit rules don't seem to be called by cockpit/libvirt.