Your message dated Tue, 14 Oct 2014 17:20:19 +0000
with message-id <[email protected]>
and subject line Bug#765346: fixed in libvirt 1.2.9-3
has caused the Debian Bug report #765346,
regarding [libvirt-clients] error: authentication failed: no agent is available 
to authenticate
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
765346: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=765346
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: libvirt-clients
Version: 1.2.9-2
Severity: normal

--- Please enter the report below this line. ---

Both virsh and virt-manager got broken: they can no longer connect to the local 
hypervisor.
It used to work until last weekend' apt-get upgrade, did libvirt recently start 
to use policykit/consolekit?

$ virsh --connect qemu:///system --debug 4
error: failed to connect to the hypervisor
error: authentication failed: no agent is available to authenticate

$ virt-manager --debug --no-fork

[Mon, 13 Oct 2014 10:37:43 virt-manager 19187] DEBUG (cli:187) Launched with 
command line: /usr/share/virt-manager/virt-manager --debug --no-fork
[Mon, 13 Oct 2014 10:37:43 virt-manager 19187] DEBUG (virt-manager:150) 
virt-manager version: 1.0.1
[Mon, 13 Oct 2014 10:37:43 virt-manager 19187] DEBUG (virt-manager:151) 
virtManager import: <module 'virtManager' from 
'/usr/share/virt-manager/virtManager/__init__.pyc'>
[Mon, 13 Oct 2014 10:37:43 virt-manager 19187] DEBUG (virt-manager:209) GTK 
version: 3.14.2
[Mon, 13 Oct 2014 10:37:43 virt-manager 19187] DEBUG (engine:484) libguestfs 
inspection support: False
[Mon, 13 Oct 2014 10:37:43 virt-manager 19187] DEBUG (systray:152) Showing 
systray: False
[Mon, 13 Oct 2014 10:37:43 virt-manager 19187] DEBUG (engine:231) About to 
connect to uris ['qemu:///system']
[Mon, 13 Oct 2014 10:37:43 virt-manager 19187] DEBUG (manager:216) Showing 
manager
[Mon, 13 Oct 2014 10:37:43 virt-manager 19187] DEBUG (engine:385) window 
counter incremented to 1
[Mon, 13 Oct 2014 10:37:43 virt-manager 19187] DEBUG (connection:995) 
Scheduling background open thread for qemu:///system
[Mon, 13 Oct 2014 10:37:43 virt-manager 19187] DEBUG (connection:1012) 
Background 'open connection' thread is running
[Mon, 13 Oct 2014 10:37:43 virt-manager 19187] DEBUG (connection:1063) 
Background open thread complete, scheduling notify
[Mon, 13 Oct 2014 10:37:43 virt-manager 19187] DEBUG (connection:1068) 
Notifying open result
[Mon, 13 Oct 2014 10:37:43 virt-manager 19187] DEBUG (error:84) error dialog 
message:
summary=Unable to connect to libvirt.

authentication failed: no agent is available to authenticate
details=Unable to connect to libvirt.

authentication failed: no agent is available to authenticate

Libvirt URI is: qemu:///system

Traceback (most recent call last):
  File "/usr/share/virt-manager/virtManager/connection.py", line 1020, in 
_open_thread
    self._backend.open(self._do_creds_password)
  File "/usr/share/virt-manager/virtinst/connection.py", line 158, in open
    open_flags)
  File "/usr/lib/python2.7/dist-packages/libvirt.py", line 105, in openAuth
    if ret is None:raise libvirtError('virConnectOpenAuth() failed')
libvirtError: authentication failed: no agent is available to authenticate
Gtk-Message: GtkDialog mapped without a transient parent. This is discouraged.

FWIW policykit is broken in Debian now 
(https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=764511):
$ /usr/lib/kde4/libexec/polkit-kde-authentication-agent-1
QDBusConnection: session D-Bus connection created before QCoreApplication. 
Application may misbehave.
QDBusConnection: session D-Bus connection created before QCoreApplication. 
Application may misbehave.
New PolkitAgentListener  0x21d9a20 
Adding new listener  PolkitQt1::Agent::Listener(0x24e74f0) for  0x21d9a20 
"Cannot create unix session: No session for pid 19639" 

** (process:19639): CRITICAL **: polkit_agent_listener_register_with_options: 
assertion 'POLKIT_IS_SUBJECT (subject)' failed
"Cannot register authentication agent!" 

(process:19639): GLib-GObject-CRITICAL **: g_object_unref: assertion 
'G_IS_OBJECT (object)' failed

$ /usr/lib/policykit-1-gnome/polkit-gnome-authentication-agent-1

(polkit-gnome-authentication-agent-1:19827): polkit-gnome-1-WARNING **: Unable 
to determine the session we are in: No session for pid 19827


Although 'pkexec' works:
$ pkexec bash
==== AUTHENTICATING FOR org.freedesktop.policykit.exec ===
Authentication is needed to run `/bin/bash' as the super user
Authenticating as: edwin,,, (edwin)
Password: 
==== AUTHENTICATION COMPLETE ===
root@debian:~# exit

--- System information. ---
Architecture: amd64
Kernel:       Linux 3.16-2-amd64

Debian Release: jessie/sid
  500 unstable        ftp.ro.debian.org 
  500 testing         ftp.ro.debian.org 
    1 experimental    ftp.ro.debian.org 

--- Package information. ---
Depends                     (Version) | Installed
=====================================-+-===============
libapparmor1           (>= 2.6~devel) | 2.8.0-8
libaudit1                (>= 1:2.2.1) | 1:2.4-1
libavahi-client3          (>= 0.6.16) | 
libavahi-common3          (>= 0.6.16) | 
libc6                       (>= 2.17) | 
libcap-ng0                            | 
libdbus-1-3                (>= 1.0.2) | 
libdevmapper1.02.1     (>= 2:1.02.20) | 
libgnutls-deb0-28       (>= 3.2.10-0) | 
libnl-3-200                (>= 3.2.7) | 
libnl-route-3-200          (>= 3.2.7) | 
libnuma1                              | 
libreadline6                 (>= 6.0) | 
libsasl2-2                            | 
libselinux1                 (>= 1.32) | 
libssh2-1                    (>= 1.0) | 
libsystemd-daemon0            (>= 31) | 
libvirt0                  (= 1.2.7-6) | 
libxml2                    (>= 2.7.4) | 
libyajl2                   (>= 2.0.4) | 


Package's Recommends field is empty.

Package's Suggests field is empty.

--- End Message ---
--- Begin Message ---
Source: libvirt
Source-Version: 1.2.9-3

We believe that the bug you reported is fixed in the latest version of
libvirt, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Guido Günther <[email protected]> (supplier of updated libvirt package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Tue, 14 Oct 2014 18:34:38 +0200
Source: libvirt
Binary: libvirt-bin libvirt-clients libvirt-daemon libvirt-daemon-system 
libvirt0 libvirt0-dbg libvirt-doc libvirt-dev libvirt-sanlock
Architecture: source amd64 all
Version: 1.2.9-3
Distribution: unstable
Urgency: medium
Maintainer: Debian Libvirt Maintainers 
<[email protected]>
Changed-By: Guido Günther <[email protected]>
Description:
 libvirt-bin - programs for the libvirt library
 libvirt-clients - programs for the libvirt library
 libvirt-daemon - programs for the libvirt library
 libvirt-daemon-system - Libvirt daemon configuration files
 libvirt-dev - development files for the libvirt library
 libvirt-doc - documentation for the libvirt library
 libvirt-sanlock - library for interfacing with different virtualization systems
 libvirt0   - library for interfacing with different virtualization systems
 libvirt0-dbg - library for interfacing with different virtualization systems
Closes: 764679 764826 765346
Changes:
 libvirt (1.2.9-3) unstable; urgency=medium
 .
   * [28dd361] Remove obsolete conffiles in libvirt-bin too. Depending on the
     upgrade path they can belong to either libvirt-bin or
     libvirt-daemon-system. (Closes: #764679)
   * [de9dcf9] Move polkit rule to /u/s/polkit-1/rules.d/
     since /e/polkit-1 is for admin changes (Closes: #764826)
   * [114d777] Remove unused python files. We split out libvirt-python ages
     ago.
   * [3a06d85] Add rules for older policy kit (as in jessie/sid).
     Thanks to Török Edwin, Wolodja Wentland and Michael Biebl
     (Closes: #765346)
Checksums-Sha1:
 9db76acf6e8be46957cb826a0d030317dc01116a 3564 libvirt_1.2.9-3.dsc
 97cba9983f8dd7c394301c15fb98291c585a98da 48328 libvirt_1.2.9-3.debian.tar.xz
 56b00528cbad3ee16db7d85225d6b91f0195feeb 34626 libvirt-bin_1.2.9-3_amd64.deb
 c7fd1c1b6209b912f004dfecaa7313993745f630 523182 
libvirt-clients_1.2.9-3_amd64.deb
 fb1677b09c92c661810618c96a0b4a5e377b0ac0 1806636 
libvirt-daemon_1.2.9-3_amd64.deb
 bce19d30d3e749380cec572d03fe632d2da14bcc 147128 
libvirt-daemon-system_1.2.9-3_amd64.deb
 9623fbb075382c1e20212392aef1eb37090f2ae9 2969846 libvirt0_1.2.9-3_amd64.deb
 796f442d737a78654657b4c5a11b2bf25e58551f 5376892 libvirt0-dbg_1.2.9-3_amd64.deb
 54ccf222c9d7011cc0b3bca5963c0ce235534845 1208044 libvirt-doc_1.2.9-3_all.deb
 97cf44b26bd277a5eb81065aba87206e7845e267 143080 libvirt-dev_1.2.9-3_amd64.deb
 2478a37c7995999f997d804fd8db06b87266270f 67850 
libvirt-sanlock_1.2.9-3_amd64.deb
Checksums-Sha256:
 48928adb6e5b651c2c952fa3d781eee13af662ababfebabd0850e81402d35b9f 3564 
libvirt_1.2.9-3.dsc
 99fc6be03d809cb47a7b07a4fb46f47fd2eb0e939667a2e6c9ac4df45701d343 48328 
libvirt_1.2.9-3.debian.tar.xz
 c93775fe965b7e773b099682d4887bb5500aa25819b5007e1cc3a4622afe453e 34626 
libvirt-bin_1.2.9-3_amd64.deb
 121390c31716796eefb62d927d0c45ce6769773d134ec0f943820b4aba7c0dde 523182 
libvirt-clients_1.2.9-3_amd64.deb
 18dad2a02f0c1dafabff314ae02cf2735de5d4b12fc02c9d1033a501127f3f1a 1806636 
libvirt-daemon_1.2.9-3_amd64.deb
 bf55c3e525dee197e92a3678ae1a28a2de2fccac5ad2dc5393c86380b91b8db0 147128 
libvirt-daemon-system_1.2.9-3_amd64.deb
 64890728546d2691e60df4341cfd2f7e9322e900a130923c5f7b85b89be34cae 2969846 
libvirt0_1.2.9-3_amd64.deb
 300594768c2f65024e0c5ab5e0678165ed0aa911892c701e3f390ea33b46e1a7 5376892 
libvirt0-dbg_1.2.9-3_amd64.deb
 17c3accd5db4d50c3a8811227728ef921acb38c55f6ab2c0e659995de64bf6db 1208044 
libvirt-doc_1.2.9-3_all.deb
 62fbee25cc2a4425c52faaca2ee7a3b473abf1291637c4443a957153841291e0 143080 
libvirt-dev_1.2.9-3_amd64.deb
 f162c56c7c36b58d73b57258a1ea0f6ab5b4762d520e550db4ecf62ea8fe2a9a 67850 
libvirt-sanlock_1.2.9-3_amd64.deb
Files:
 8d23677e8c158bed61e5cfecf3c4b362 3564 libs optional libvirt_1.2.9-3.dsc
 2cab0881e7161a1e4a97df2811e913e6 48328 libs optional 
libvirt_1.2.9-3.debian.tar.xz
 c3ce435921ea7d3a5313fed8dfdf1d0e 34626 oldlibs extra 
libvirt-bin_1.2.9-3_amd64.deb
 568acbf475e14b09d8fa596184bacaa1 523182 admin optional 
libvirt-clients_1.2.9-3_amd64.deb
 a47e14ff3d287742641ab219c7ecee0d 1806636 admin optional 
libvirt-daemon_1.2.9-3_amd64.deb
 6d5b1b6c83d983dd962a2238692e0b40 147128 admin optional 
libvirt-daemon-system_1.2.9-3_amd64.deb
 f702331056c7e128aa1b1ec9f88a580e 2969846 libs optional 
libvirt0_1.2.9-3_amd64.deb
 78934a8aa27bbf0277ddc4f382cef812 5376892 debug extra 
libvirt0-dbg_1.2.9-3_amd64.deb
 c92dddc2130b9b16197ac674e9fd7d2d 1208044 doc optional 
libvirt-doc_1.2.9-3_all.deb
 11f1317a68047ea67e4d28a19070ca55 143080 libdevel optional 
libvirt-dev_1.2.9-3_amd64.deb
 2e28ce5f5d790f365b916a8deaeb0f7e 67850 libs extra 
libvirt-sanlock_1.2.9-3_amd64.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIVAwUBVD1ZYge4t7DqmBILAQi3CQ/+IaWakWgFBqYbfhBevW3aYm1sPDKltelu
Cpa94B/vBbNmpST1qG1ywz3PxjcYStriud3FQUE6dcKMbDtT62epJr7a/ShnGRiT
8XuNRebHOCY3/CR1vZaslKp5veAQCpeCTQMAGCGaowMOGHlk5LGDynOsur20UbgD
os1dZv12Bn2lZQ/9jPc+SGpqoUtrDRjuuBmi552KT26ez0Iw+wIkRSKqXXBSWW4l
OuG6y2UtS5sfUx/q1o3NFwpyfy1Dgi7kTNvHqzi0F4ZqLeaw57kCi6PJ45kGdm+C
FzyKqhJF6XQIMz/C2sIC+8uILhlcMzGW//I4jfpiCZRBaUtJcAJVZtKxaofibklg
jDBi4tLgVi7V01wxAc+I57hvUVyDWbe3Oi2wmsiJMwEPAnhB+HuRrys2GKzM2qu3
e/RY2CkBy0ROw1I+c+o+3ZF91XJzQGqyu5BGgkq7UbIEnooH4e1jpTuXPuOqjQLm
uM/KliHWkxa8X1CavDyxpMREYkPIJ/HGg3ACexE2aTx0EQauZt5cMeHWk12lv9ip
kmZzPL7tz37tUz8X2OaSBr5rblBEogQe/o9dugEeAg/+7g4gKvSHmAHkO8K5cqDF
ol9S+AYBHbE0xG/l+6MMXK3zAcLXfzivw+garC+udqUO+Yr/Dq7zUiNaDzseEneu
F+T+jkVDBDg=
=KnSu
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to