[libvirt] [PATCH v2 0/3] Add capability for text based polkit authentication for virsh

John Ferlan jferlan at redhat.com
Thu Feb 11 23:38:11 UTC 2016

v1: http://www.redhat.com/archives/libvir-list/2016-February/msg00545.html

Differences to v1:

 - Patch 1, adjust error message slightly

 - Patch 2, remove the unnecessary virPolkitAgentCheck and the sleep

 - Patch 3, remove the --pkauth parameter
            adjust the logic to attempt the authentications in a loop 
              with the first being one for the graphical agent. If that
              fails because there was no agent to be found, then start
              up the text based agent. Also add logic to wait for the
              text based authentication agent to start (just in case).

John Ferlan (3):
  polkit: Adjust message when action-id isn't found
  util: Introduce API's for Polkit text authentication
  virsh: Add support for text based polkit authentication

 src/libvirt_private.syms |  2 ++
 src/util/virpolkit.c     | 64 +++++++++++++++++++++++++++++++++++++++++++++---
 src/util/virpolkit.h     |  5 ++++
 tests/virpolkittest.c    |  3 ++-
 tools/virsh.c            | 49 ++++++++++++++++++++++++++++++++----
 tools/virsh.h            |  2 ++
 6 files changed, 115 insertions(+), 10 deletions(-)


More information about the libvir-list mailing list