When I re-enable ipv6 by modifying /etc/sysctl.conf and removing the added directives and rebooting afterwards the cockpit service comes back online.
But as soon as I either follow
or
and reboot the cockpit service dies again with the
cockpit.socket failed to listen on sockets: Address family not supported by protocol
error message.
My WAN interface is getting a DHCP address from my router which does not support IPv6.
The reason I want to disable IPv6 entirely is that it is of no use in my internal network for the reason stated above and in my original post.
When I try to enable the smart host the logs don’t show anything except timeout for the INET6 reason.