]> git.ipfire.org Git - thirdparty/libvirt.git/commit
remote: Forbid default "/session" connections when using ssh transport
authorPeter Krempa <pkrempa@redhat.com>
Mon, 10 Jun 2013 12:41:22 +0000 (14:41 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Fri, 14 Jun 2013 06:04:40 +0000 (08:04 +0200)
commit22d81ceb46ea4b83ad817c29b2b04df27a09c671
treeebd9bd3df1f1ab9cd87271a07ff6cc6d0ac314e0
parentd58ce13612837138a70291d7bab24128b5e9a255
remote: Forbid default "/session" connections when using ssh transport

Without the socket path explicitly specified, the remote driver tried to
connect to the "/system" instance socket even if "/session" was
specified in the uri. With this patch this configuration now produces an
error.

It is still possible to initiate a session connection with specifying
the path to the socket manually and also manually starting the session
daemon. This was also possible prior to this patch,

This is a minimal fix. We may decide to support remote session
connections using ssh but this will require changes to the remote driver
code so this fix shouldn't cause regressions in the case we decide to do
that.
src/remote/remote_driver.c