[Pkg-utopia-maintainers] Bug#965216: policykit-1: Virtual Machine Manager is unauthorized after upgrade

Christian Göttsche cgzones at googlemail.com
Fri Jul 17 19:06:53 BST 2020


Package: policykit-1
Version: 0.105-28
Severity: important

After the upgrade to policykit-1 version 0.105-28 the Virtual Machine
Manager is unable to authorize (no password prompt pops up).

polkitd logs:

Jul 17 19:57:36 debianHome polkitd(authority=local)[16397]: Operator
of unix-session:2 FAILED to authenticate to gain authorization for
action org.libvirt.unix.manage for unix-process:15917:257992
[/usr/bin/python3 /usr/share/virt-manager/virt-manager] (owned by
unix-user:christian)
Jul 17 19:57:36 debianHome libvirtd[964]: authentication failed:
access denied by policy
Jul 17 19:57:36 debianHome libvirtd[964]: End of file while reading
data: Input/output error

Virtual Machine Manager output:

Unable to connect to libvirt qemu:///system.

authentication failed: access denied by policy

Libvirt URI is: qemu:///system

Traceback (most recent call last):
  File "/usr/share/virt-manager/virtManager/connection.py", line 956,
in _do_open
    self._backend.open(connectauth.creds_dialog, self)
  File "/usr/share/virt-manager/virtinst/connection.py", line 172, in open
    conn = libvirt.openAuth(self._open_uri,
  File "/usr/lib/python3/dist-packages/libvirt.py", line 104, in openAuth
    if ret is None:raise libvirtError('virConnectOpenAuth() failed')
libvirt.libvirtError: authentication failed: access denied by policy


After downgrade to -26:

Jul 17 20:06:09 debianHome polkitd(authority=local)[17458]: Operator
of unix-session:2 successfully authenticated as unix-user:root to gain
TEMPORARY authorization for action org.libvirt.unix.manage for
unix-process:15917:257992 [/usr/bin/python3
/usr/share/virt-manager/virt-manager] (owned by unix-user:christian)



More information about the Pkg-utopia-maintainers mailing list