Re: Diagnosing virtual machine network issues
- Reply: Alex Arslan : "Re: Diagnosing virtual machine network issues"
- In reply to: Alex Arslan : "Re: Diagnosing virtual machine network issues"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 30 Jul 2024 21:22:54 UTC
> On Jul 30, 2024, at 2:11 PM, Alex Arslan <ararslan@comcast.net> wrote: > > >> Can you provide more context? I'm not seeing earlier messages anywhere in my email folders. Is this a Qemu issue? > > The original message is from just over a month ago, archived here: > https://lists.freebsd.org/archives/freebsd-hackers/2024-June/003378.html > Basically, we have FreeBSD 13.2 VMs running under KVM on a Linux machine. > Some code is using libcurl to make a request to an invalid domain and is > testing that the error is a resolution failure. This test passes on all > platforms except specifically in these FreeBSD VMs; I can't reproduce > locally on FreeBSD. That made me think that there's an issue with how the > VM was set up, prompting the original message and discussion. Then what > I recently found was that we set a 30-second timeout for the libcurl > request, which FreeBSD hits in the VM, as it evidently spends a full > 30 seconds attempting to resolve the host, while e.g. Linux reports a > resolution failure immediately. What does /etc/resolv.conf look like on the FreeBSD VM?