[libvirt] [PATCH 3/3] remote: do not check for an existing config dir

Peter Krempa pkrempa at redhat.com
Tue Jan 10 18:51:22 UTC 2017


On Tue, Jan 10, 2017 at 19:43:20 +0100, Pino Toscano wrote:
> When composing the path to the default known_hosts file (for the libssh
> and libssh2 drivers), do not check whether the configuration directory
> (determined by virGetUserConfigDirectory()) exists: both the drivers can
> handle non-existing files, and are able to create them (and their
> directories) in that case.
> 
> This adds a small behaviour change: before, the key for an unknown host,
> and manually accepted, was saved only if the configuration directory
> existed -- a bit incoherent behaviour though.
> ---

ACK
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20170110/ce7caf82/attachment-0001.sig>


More information about the libvir-list mailing list