pve-manager/PVE/Service
Stoiko Ivanov 36ad2b3c0e proxy: fix wildcard address use
This patch fixes a regression for hosts disabling ipv6 via kernel
commandline ('ipv6.disable=1')introduced in commit
e224b7d2e6
(disabling IPv6 via sysctl did not exhibit these problems)

by hardcoding the address to '::', pveproxy and spiceproxy failed to
start with:
'unable to create socket - Address family not supported by protocol'

This patch depends on the commit in pve-common, which tries first
binding to '::' and then falling back to '0.0.0.0', and needs a
versioned dependency bump on libpve-common-perl.

With this patch the listening addresses are (`ss -tlnp |grep 8006` output)
* ipv6 disabled via kernel cmdline: '0.0.0.0:8006'
* sysctl net.ipv6.conf.all.disable_ipv6=1: '*:8006'
* sysctl net.ipv6.bindv6only=1: '[::]:8006'
* else: '*:8006'

Signed-off-by: Stoiko Ivanov <s.ivanov@proxmox.com>
2021-05-07 18:15:43 +02:00
..
Makefile fix Makefiles (add 'all' target) 2016-01-22 11:24:26 +01:00
pvedaemon.pm remove base_handler_class - directly use PVE::API2 instead 2017-01-16 11:54:34 +01:00
pveproxy.pm proxy: fix wildcard address use 2021-05-07 18:15:43 +02:00
pvestatd.pm pvestatd: fix container cpuset scheduling 2020-12-03 16:33:50 +01:00
spiceproxy.pm proxy: fix wildcard address use 2021-05-07 18:15:43 +02:00