Re: [libvirt] [PATCH 2/2] virsh: Don't attempt polkit processing for non local authn/authz

2017-05-25 Thread Michal Privoznik
On 05/24/2017 05:45 PM, John Ferlan wrote: > > > On 05/24/2017 10:38 AM, Michal Privoznik wrote: >> On 05/11/2017 05:04 PM, John Ferlan wrote: >>> https://bugzilla.redhat.com/show_bug.cgi?id=1374126 >>> >>> Due to how the processing for authentication using polkit works, the >>> virshConnect

Re: [libvirt] [PATCH 2/2] virsh: Don't attempt polkit processing for non local authn/authz

2017-05-24 Thread John Ferlan
On 05/24/2017 10:38 AM, Michal Privoznik wrote: > On 05/11/2017 05:04 PM, John Ferlan wrote: >> https://bugzilla.redhat.com/show_bug.cgi?id=1374126 >> >> Due to how the processing for authentication using polkit works, the >> virshConnect code must first "attempt" an virConnectOpenAuth and then

Re: [libvirt] [PATCH 2/2] virsh: Don't attempt polkit processing for non local authn/authz

2017-05-24 Thread Michal Privoznik
On 05/11/2017 05:04 PM, John Ferlan wrote: > https://bugzilla.redhat.com/show_bug.cgi?id=1374126 > > Due to how the processing for authentication using polkit works, the > virshConnect code must first "attempt" an virConnectOpenAuth and then > check for a "special" return error code

[libvirt] [PATCH 2/2] virsh: Don't attempt polkit processing for non local authn/authz

2017-05-11 Thread John Ferlan
https://bugzilla.redhat.com/show_bug.cgi?id=1374126 Due to how the processing for authentication using polkit works, the virshConnect code must first "attempt" an virConnectOpenAuth and then check for a "special" return error code VIR_ERR_AUTH_UNAVAILABLE in order to attempt to "retry" the