forked from pool/libvirt
94803fa053
- Update to libvirt 6.0.0 - jsc#SLE-6997, jsc#SLE-6998 - Many incremental improvements and bug fixes, see https://libvirt.org/news.html - Dropped patches: 0a65cba4-news-fix.patch 07aaced4-Add-TAA-No.patch, f411b7ef6-Add-TSX-CTRL.patch, 50d7465f-qemu-firmware1.patch, 57f9067c-qemu-firmware2.patch, 7c5264d2-qemu-firmware3.patch, 8e1804f9-qemu-firmware4.patch, 8fcee478-qemu-firmware5.patch OBS-URL: https://build.opensuse.org/request/show/764822 OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=796
34 lines
1.4 KiB
Diff
34 lines
1.4 KiB
Diff
Disable TLS by default
|
|
|
|
On SUSE distros, the default is for libvirtd to listen only on the
|
|
Unix Domain Socket. The libvirt client still provides remote access
|
|
via a SSH tunnel.
|
|
Index: libvirt-6.0.0/src/remote/remote_daemon_config.c
|
|
===================================================================
|
|
--- libvirt-6.0.0.orig/src/remote/remote_daemon_config.c
|
|
+++ libvirt-6.0.0/src/remote/remote_daemon_config.c
|
|
@@ -99,7 +99,7 @@ daemonConfigNew(bool privileged G_GNUC_U
|
|
|
|
#ifdef WITH_IP
|
|
# ifdef LIBVIRTD
|
|
- data->listen_tls = 1; /* Only honoured if --listen is set */
|
|
+ data->listen_tls = 0; /* Only honoured if --listen is set */
|
|
# else /* ! LIBVIRTD */
|
|
data->listen_tls = 0; /* Always honoured, --listen doesn't exist. */
|
|
# endif /* ! LIBVIRTD */
|
|
Index: libvirt-6.0.0/src/remote/libvirtd.conf.in
|
|
===================================================================
|
|
--- libvirt-6.0.0.orig/src/remote/libvirtd.conf.in
|
|
+++ libvirt-6.0.0/src/remote/libvirtd.conf.in
|
|
@@ -17,8 +17,8 @@
|
|
# It is necessary to setup a CA and issue server certificates before
|
|
# using this capability.
|
|
#
|
|
-# This is enabled by default, uncomment this to disable it
|
|
-#listen_tls = 0
|
|
+# This is disabled by default, uncomment this to enable it
|
|
+#listen_tls = 1
|
|
|
|
# Listen for unencrypted TCP connections on the public TCP/IP port.
|
|
# NB, must pass the --listen flag to the @DAEMON_NAME@ process for this to
|