John Wolfe [Fri, 24 Sep 2021 00:48:02 +0000 (17:48 -0700)]
Prepare to make the 11.3.5 OVT release announcement.
- ReleaseNotes.md - copy in the initial (final ?) 11.3.5 OVT release notes.
- configure.ac = set the tools version to 11.3.5.
- buildNumber.h - set the build and product number from the internal
release build.
John Wolfe [Mon, 20 Sep 2021 15:07:36 +0000 (08:07 -0700)]
Log the guest OS name and full name.
Added a log message for the guest OS name and full name that is sent as
guestInfo. Messages are logged only when the guestInfo is successfully
updated to the VMX log.
John Wolfe [Tue, 24 Aug 2021 03:13:36 +0000 (20:13 -0700)]
Removal of the hgfsmounter/mount.vmhgfs command from open-vm-tools.
The hgfsmounter (mount.vmhgfs) command is no longer used in Linux
open-vm-tools. It has been replaced by hgfs-fuse. Remove
all references to the hgfsmounter in Linux builds.
John Wolfe [Fri, 13 Aug 2021 18:35:59 +0000 (11:35 -0700)]
Remove the mount.vmhgfs from open-vm-tools.
The hgfsmounter (mount.vmhgfs) command is no longer used in Linux
open-vm-tools. It has been replaced by hgfs-fuse. Therefore, removing
all references to the hgfsmounter in Linux builds.
John Wolfe [Fri, 13 Aug 2021 18:35:58 +0000 (11:35 -0700)]
VmCheck_IsVirtualWorld(): assume VMware hypervisor if USE_VALGRIND is defined.
Updating the VmCheck_IsVirtualWorld() function to assume that if the
open-vm-tools build was configured with "--enable-valgrind", the tools
will be used on a VMware hypervisor for memory leak detection. In this
case, simply return TRUE and avoid touching the backdoor.
The "backdoor" touch test cannot be handled by Valgrind.
John Wolfe [Fri, 13 Aug 2021 18:35:58 +0000 (11:35 -0700)]
Added a configurable logging capability to the network script.
The network script has been updated to:
- use the vmware-toolbox-cmd to query any network logging configuration.
- use 'vmtoolsd --cmd "log ..."' to log a message to the vmx logfile
when the logginging handler is configured to "vmx" or when the logfile
is full or is not writeable.
Added an example configuration in the tools.conf example file.
John Wolfe [Fri, 13 Aug 2021 18:35:58 +0000 (11:35 -0700)]
Use os-release preferentially for guest identification.
If the "score" of the Linux guest identification from os-release is
the same as from the LSB score, use the os-release data. The os-release
standard is well established and the LSB is deprecated.
John Wolfe [Fri, 13 Aug 2021 18:35:58 +0000 (11:35 -0700)]
Customization: Retry the Linux reboot if telinit is a soft link to systemctl.
Issues have been reported on some newer versions of Linux where the VM
failed to reboot at the end of a traditional customization. The command
'/sbin/telinit 6' exited abnormally due to SIGTERM sent by systemd and
where telinit is a symlink to systemctl.
This fix checks if telinit is a soft link to systemctl and if yes, retries
a system reboot until the telinit command succeeds or the reboot literally
happens.
John Wolfe [Thu, 12 Aug 2021 19:46:05 +0000 (12:46 -0700)]
VmCheck_IsVirtualWorld(): assume VMware hypervisor if USE_VALGRIND is defined.
Updating the VmCheck_IsVirtualWorld() function to assume that if the
open-vm-tools build was configured with "--enable-valgrind", the tools
will be used on a VMware hypervisor for memory leak detection. In this
case, simply return TRUE and avoid touching the backdoor.
The "backdoor" touch test cannot be handled by Valgrind.
John Wolfe [Fri, 9 Jul 2021 03:10:23 +0000 (20:10 -0700)]
Added a configurable logging capability to the network script.
The network script has been updated to:
- use the vmware-toolbox-cmd to query any network logging configuration.
- use 'vmtoolsd --cmd "log ..."' to log a message to the vmx logfile
when the logginging handler is configured to "vmx" or when the logfile
is full or is not writeable.
Added an example configuration in the tools.conf example file.
John Wolfe [Wed, 30 Jun 2021 18:37:27 +0000 (11:37 -0700)]
Use os-release preferentially for guest identification.
If the "score" of the Linux guest identification from os-release is
the same as from the LSB score, use the os-release data. The os-release
standard is well established and the LSB is deprecated.
John Wolfe [Wed, 30 Jun 2021 18:37:27 +0000 (11:37 -0700)]
Throttle the "Nic limit reached" log message from the guestInfo plugin.
Implement a wrapper API for throttling vmtools log messages.
Use the API to throttle the repetitive log message, "Nic limit reached",
from the guestInfo plugin.
This change addresses the log spew reported in open-vm-tools issue:
https://github.com/vmware/open-vm-tools/issues/128