Bug 259343 - emulators/open-vm-tools logging errors in IPv6-only environment
Summary: emulators/open-vm-tools logging errors in IPv6-only environment
Status: In Progress
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: amd64 Any
: --- Affects Some People
Assignee: Renato Botelho
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-10-21 16:01 UTC by Marco Davids
Modified: 2022-08-12 13:44 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Marco Davids 2021-10-21 16:01:29 UTC
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 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)
Comment 1 Marco Davids 2021-10-21 16:02:32 UTC
I meant to write: "the seem related to libdumbnet".
Comment 2 Renato Botelho freebsd_committer freebsd_triage 2022-04-12 20:52:31 UTC
(In reply to Marco Davids from comment #0)
Hello Marco!

Sorry for long time to answer.  It would be nice to report this issue upstream at https://github.com/vmware/open-vm-tools.

If you can't do that let me know and I'll take care of it.
Comment 3 Marco Davids 2022-04-13 08:10:19 UTC
(In reply to Renato Botelho from comment #2)

Thank you.

Here it is:

https://github.com/vmware/open-vm-tools/issues/586