Starting varnish on Linux with boot param ipv6.disable=1 fails #1991
On linux (tested on CentOS7 with linux 3.10.0-327.13.1.el7.x86_64) if IPv6 is disabled via kernel boot parameter
Expected behaviour when IPv6 is not available on any system, and no IPv6 address was specified as a listening address, would be that varnishd binds to the specified IPv4 port.
varnishd tries to start, successfully binds to
varnishd needs to handle the complete absence of IPv6 gracefully. The difference between disabling via systemctl and the boot parameter seems to be that
Steps to Reproduce (for bugs)
Not sure where using the boot parameter is the normal thing to do, could be virtualization environments that inject this parameter.
The actual error is:
Googling the kernel-parameter gave this:
The ipv6-module is loaded, but: