[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[libvirt-users] error when configuring management access via PolicyKit



Hi,

Libvirtd is in listen mode.

/etc/libvirt/libvirtd.conf
listen_tls = 0
listen_tcp = 1
auth_tcp = "sasl"
my trying to setup polkit authentication using http://wiki.libvirt.org/page/SSHPolicyKitSetup

[root aopcach ~]# cat /etc/polkit-1/localauthority/50-local.d/50-org.arindam-libvirt-remote-access.pkla
[Remote libvirt SSH access]
Identity=unix-user:arindam
Action="">ResultAny=yes
ResultInactive=yes
ResultActive=yes

but it fails with:

[arindam aopcach ~]$ virsh -c qemu+ssh:///system
arindam localhost's password:
error: authentication failed: polkit\56retains_authorization_after_challenge=1
Authorization requires authentication but no agent is available.

error: failed to connect to the hypervisor


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]