Package: libvirt-bin
Version: 0.9.12-11
Severity: normal
Hello,
libvirt seems to default to attempting to connect to xen using the insecure
port 8000
HTTP interface, despite documentation everywhere saying that the HTTP interface
is bad for security:
root@mordac:/home/michael# virsh connect
error: Failed to connect to the hypervisor
error: unable to connect to 'localhost:8000': Connection refused
So I've configured xend to use the unix socket interface instead:
root@mordac:/home/michael# grep ^[^#].*xend-unix /etc/xen/xend-config.sxp
(xend-unix-server yes)
(xend-unix-path /var/run/xend/xend.sock)
However, I am having difficulty convincing libvirt to use this interface. My
reading of http://libvirt.org/uri.html suggests that these *ought* to work:
root@mordac:/home/michael# virsh -c ///var/run/xend/xend.sock
error: no connection driver available for No connection for URI
/var/run/xend/xend.sock
error: failed to connect to the hypervisor
root@mordac:/home/michael# virsh -c xen:///var/run/xend/xend.sock
error: internal error unexpected Xen URI path '/var/run/xend/xend.sock',
try xen:///
error: failed to connect to the hypervisor
root@mordac:/home/michael# virsh -c xen+unix:///var/run/xend/xend.sock
error: internal error unexpected Xen URI path '/var/run/xend/xend.sock',
try xen:///
error: failed to connect to the hypervisor
root@mordac:/home/michael# virsh -c xen+unix:///
error: unable to connect to 'localhost:8000': Connection refused
error: failed to connect to the hypervisor
root@mordac:/home/michael# virsh -c xen:///
error: unable to connect to 'localhost:8000': Connection refused
error: failed to connect to the hypervisor
I'm open to the possibility that it is simply a case of error messages being
incorrect or misleading.
-- System Information:
Debian Release: 6.0.7
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'stable'), (500, 'oldstable'),
(489, 'testing')
Architecture: i386 (i686)
Kernel: Linux 3.2.0-4-686-pae (SMP w/2 CPU cores)
Locale: LANG=en_AU, LC_CTYPE=en_AU (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/bash
Versions of packages libvirt-bin depends on:
ii adduser 3.113+nmu3
ii gettext-base 0.18.1.1-9
ii libavahi-client3 0.6.31-2
ii libavahi-common3 0.6.31-2
ii libblkid1 2.20.1-5.3
ii libc6 2.13-38
ii libcap-ng0 0.6.6-2
ii libdbus-1-3 1.6.8-1
ii libdevmapper1.02.1 2:1.02.74-7
ii libgcrypt11 1.5.0-5
ii libgnutls26 2.12.20-6
ii libnetcf1 0.1.9-2
ii libnl1 1.1-7
ii libnuma1 2.0.8~rc4-1
ii libparted0debian1 2.3-12
ii libpcap0.8 1.3.0-1
ii libpciaccess0 0.13.1-2
ii libreadline6 6.2+dfsg-0.1
ii libsasl2-2 2.1.25.dfsg1-6
ii libudev0 175-7.1
ii libvirt0 0.9.12-11
ii libxenstore3.0 4.1.4-3
ii libxml2 2.8.0+dfsg1-7+nmu1
ii libyajl2 2.0.4-2
ii logrotate 3.8.1-4
Versions of packages libvirt-bin recommends:
ii bridge-utils 1.5-6
ii dmidecode 2.11-9
ii dnsmasq-base 2.62-3+deb7u1
pn ebtables <none>
ii gawk 1:4.0.1+dfsg-2.1
ii iproute 20120521-3+b3
ii iptables 1.4.14-3.1
ii libxml2-utils 2.8.0+dfsg1-7+nmu1
ii netcat-openbsd 1.105-7
ii parted 2.3-12
pn qemu-kvm | qemu <none>
Versions of packages libvirt-bin suggests:
ii policykit-1 0.105-3
pn radvd <none>
-- no debconf information
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]