open-vm-tools icon indicating copy to clipboard operation
open-vm-tools copied to clipboard

open-vm-tools logging errors in IPv6-only environment

Open mdavids opened this issue 3 years ago • 6 comments

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

mdavids avatar Apr 13 '22 08:04 mdavids

Thank you for the bug. Issue is because of libdumbnet being used in FreeBSD. Filed an internal PR to track this issue.

rprabhud avatar Apr 14 '22 08:04 rprabhud

@rprabhud any news about this one?

rbgarga avatar Aug 31 '22 10:08 rbgarga

Hi Renato,

No updates at this time. Still on our queue

johnwvmw avatar Aug 31 '22 18:08 johnwvmw

FYI, I'm using FreeBSD 13.1-RELEASE and only IPV4 and am seeing these same messages.

drq883 avatar Sep 27 '22 17:09 drq883

@johnwvmw 15 months later I need to ask again. Any news on this one?

rbgarga avatar Nov 02 '23 12:11 rbgarga

@johnwvmw One more year flies huh? Any news on this one? Any plans for the next year or so? :P

rbgarga avatar Nov 06 '24 19:11 rbgarga