lavabit / robox

The tools needed to robotically create/configure/provision a large number of operating systems, for a variety of hypervisors, using packer.
626 stars 139 forks source link

generic/ubuntu2004 disables ipv6 for loopback #195

Open comotion opened 3 years ago

comotion commented 3 years ago

Debugging a rather obscure issue here (https://github.com/grpc/grpc/issues/26175) I found that generic/ubuntu2004 sets net.ipv6.conf.lo.disable_ipv6=1, which causes the loopback address to not have the ::1 address, even though other interfaces have working IPv6. It's probably related to #79 for legacy reasons, but creates issues that are pretty hard to debug.

waipeng commented 3 years ago

Thanks for opening this issue, it helped me to debug quite and obscure error too!