[libvirt] [PATCH] secret: Fix error for private secrets

Peter Krempa pkrempa at redhat.com
Tue Sep 18 14:09:50 UTC 2012


On 09/18/12 15:53, Martin Kletzander wrote:
> When trying to get the value of a private secret, the code used
> 'operation denied' error. That error is specified as an error for
> read-only connections trying to perform denied operation. The
> following error seems more accurate.
>
> To compare the difference:
>   - BEFORE
> error: operation secret is private forbidden for read only access
>
>   - AFTER
> error: Invalid secret: secret is private
> ---
>   src/secret/secret_driver.c | 4 ++--
>   1 file changed, 2 insertions(+), 2 deletions(-)
>

ACK, the previous version of the error message didn't make sense.

Peter




More information about the libvir-list mailing list