Reviewing this bug, I am not sure what we want to do here. As stated in the first comment 13 years ago, when the spice server starts, it uses AI_ADDRCONFIG with getaddrinfo which prevents it from binding to the IPv4 loopback address "if the local system doesn't have at least one IPv4 configured" (getaddrinfo(3)). Note that the reverse is also true (IPv6 loopback address with no IPv6 configured).
Thus, if the user or the libvirt config tries to bind to 127.0.0.1 on a IPv6 only system, it will fail. Is it really a bug? If this is really a problem, I can see two possible solutions: 1. patch glibc and getaddrinfo to not ignore the loopback address when using AI_ADDRCONFIG (as suggested in the first comment above) 2. patch spice itself to detect if the address specified is a loopback interface address and don't use AI_ADDRCONFIG in this case I haven't checked yet if any of these changes has already been proposed upstream. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1492621 Title: Cannot start VMs without routable IPv4 address To manage notifications about this bug go to: https://bugs.launchpad.net/glibc/+bug/1492621/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
