]> xenbits.xensource.com Git - libvirt.git/commit
daemon: Preface polkit error output with 'polkit:'
authorCole Robinson <crobinso@redhat.com>
Sun, 16 Dec 2012 22:59:08 +0000 (17:59 -0500)
committerCole Robinson <crobinso@redhat.com>
Mon, 17 Dec 2012 18:37:53 +0000 (13:37 -0500)
commit96a108c99398f56970a29c8bfb7da9df90d206ed
tree9ee93717d4e3361a01591f217e58b1fd51019373
parent4ad6a013304f6fe29b0866742c902054bfbcf23f
daemon: Preface polkit error output with 'polkit:'

There's been a few bugs about an expected error from polkit:

https://bugzilla.redhat.com/show_bug.cgi?id=873799
https://bugzilla.redhat.com/show_bug.cgi?id=872166

The error is:

Authorization requires authentication but no agent is available.

The error means that polkit needs a password, but there is no polkit
agent registered in your session. Polkit agents are the bit of UI that
pop up and actually ask for your password.

Preface the error with the string 'polkit:' so folks can hopefully
make more sense of it.
daemon/remote.c