open-vm-tools logging errors in IPv6-only environment
Describe the bug
I run a FreeBSD13.0-RELEASE VM on VMWare with a kernel compiled to run IPv6-only:
include GENERIC ident GENERIC-IPV6ONLY makeoptions MKMODULESENV+="WITHOUT_INET_SUPPORT=" nooptions INET nodevice gre
The open-vm-tools software is logging some errors:
[2021-10-21T08:30:09.627Z] [ warning] [vmsvc] [34374492160] GuestInfoGetNicInfo: intf_open() failed [2021-10-21T08:30:09.627Z] [ warning] [guestinfo] [34374492160] Failed to get NIC info.
These seem related to libdumbnet.
I have a feeling that the part below of the code doesn't mix well with an IPv6-only environment and that the order should perhaps be shuffled a bit in order to improve things:
https://github.com/pexip/os-libdumbnet/blob/master/src/intf.c#L119 (not sure if this is the official repository, sorry for that - it was the best I could find)
There is also a bugreport for this with FreeBSD: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=259343
Reproduction steps
1. Create IPv6-only FreeBSD-kernel (perhaps the only OS that can be truly IPv6-only?)
2. Install open-vm-tools
3. Run the kernel and check syslog
Expected behavior
No errors logged.
Additional context
No response
Thank you for the bug. Issue is because of libdumbnet being used in FreeBSD. Filed an internal PR to track this issue.
@rprabhud any news about this one?
Hi Renato,
No updates at this time. Still on our queue
FYI, I'm using FreeBSD 13.1-RELEASE and only IPV4 and am seeing these same messages.
@johnwvmw 15 months later I need to ask again. Any news on this one?
@johnwvmw One more year flies huh? Any news on this one? Any plans for the next year or so? :P