]> git.ipfire.org Git - thirdparty/open-vm-tools.git/log
thirdparty/open-vm-tools.git
5 years agolib/file/file.c: File_UnlinkIfExists()
John Wolfe [Mon, 5 Apr 2021 16:01:42 +0000 (09:01 -0700)] 
lib/file/file.c:  File_UnlinkIfExists()

Revised File_UnlinkIfExists() to return 0 for success and an errno for
failure.  Previously, a failure was indicated by a -1 and the caller had
to retrieve the errno.

5 years agolib/file/file.c: File_Unlink()
John Wolfe [Mon, 5 Apr 2021 16:01:41 +0000 (09:01 -0700)] 
lib/file/file.c:  File_Unlink()

Revised File_Unlink() to return 0 for success and an errno for failure.
Previously, a failure was indicated by a -1 and the caller had to retrieve
the errno.

5 years agoCommon source file change not directly applicable to open-vm-tools.
John Wolfe [Mon, 5 Apr 2021 16:01:41 +0000 (09:01 -0700)] 
Common source file change not directly applicable to open-vm-tools.

lib/file/file.c:

Revised File_UnlinkRetry() and File_UnlinkNoFollow() to return 0 for
success and an errno for failure.  Previously, a failure was indicated
by a -1 and the caller had to retrieve the errno.

5 years agoChange to common source files not directly applicable to open-vm-tools.
John Wolfe [Mon, 5 Apr 2021 16:01:41 +0000 (09:01 -0700)] 
Change to common source files not directly applicable to open-vm-tools.

Add a common function to detect if HyperV is present.

5 years agoDon't follow symlinks in File_Rotate_ByRename().
John Wolfe [Mon, 5 Apr 2021 16:01:41 +0000 (09:01 -0700)] 
Don't follow symlinks in File_Rotate_ByRename().

Delete the directory entries, not where they point to in the case of symlinks.

Also, clean up some of the related and similar source code.

5 years agoCommon header file change not applicable to open-vm-tools.
John Wolfe [Mon, 5 Apr 2021 16:01:41 +0000 (09:01 -0700)] 
Common header file change not applicable to open-vm-tools.

5 years agoPre-enabled MacOS 13 (Darwin 22).
John Wolfe [Mon, 5 Apr 2021 16:01:41 +0000 (09:01 -0700)] 
Pre-enabled MacOS 13 (Darwin 22).

5 years agoUpdate ChangeLog with the granular push of Mar. 25, 2021.
John Wolfe [Fri, 26 Mar 2021 03:51:05 +0000 (20:51 -0700)] 
Update ChangeLog with the granular push of Mar. 25, 2021.
 - plus ChangeLog update of March 5.

5 years agoCommon header file change not applicable to open-vm-tools.
John Wolfe [Fri, 26 Mar 2021 03:21:18 +0000 (20:21 -0700)] 
Common header file change not applicable to open-vm-tools.

5 years agoAdd Arm FreeBSD to the ALLARM set in guest_os.h.
John Wolfe [Fri, 26 Mar 2021 03:21:18 +0000 (20:21 -0700)] 
Add Arm FreeBSD to the ALLARM set in guest_os.h.

5 years agoClean up the classification information for Ubuntu, Debian, and FreeBSD.
John Wolfe [Fri, 26 Mar 2021 03:21:18 +0000 (20:21 -0700)] 
Clean up the classification information for Ubuntu, Debian, and FreeBSD.

Some important information about these distros was not reflected in
the macros in guest_os.h.  Fixed this.

5 years agoChanges to common source files not applicable to open-vm-tools.
John Wolfe [Fri, 26 Mar 2021 03:21:18 +0000 (20:21 -0700)] 
Changes to common source files not applicable to open-vm-tools.

5 years agoFix an uninitialized variable issue reported by a Coverity scan of
John Wolfe [Fri, 26 Mar 2021 03:21:18 +0000 (20:21 -0700)] 
Fix an uninitialized variable issue reported by a Coverity scan of
open-vm-tools.

5 years agoRecord the assignment of 11.2.6 for a VMware Tools emergency patch.
John Wolfe [Fri, 26 Mar 2021 03:21:18 +0000 (20:21 -0700)] 
Record the assignment of 11.2.6 for a VMware Tools emergency patch.

5 years agoCommon header file change not applicable to open-vm-tools.
John Wolfe [Fri, 26 Mar 2021 03:21:18 +0000 (20:21 -0700)] 
Common header file change not applicable to open-vm-tools.

5 years agoCommon header file change not applicable to open-vm-tools.
John Wolfe [Fri, 26 Mar 2021 03:21:18 +0000 (20:21 -0700)] 
Common header file change not applicable to open-vm-tools.

5 years agoDisable NVMe quiesced snapshot by default.
John Wolfe [Fri, 26 Mar 2021 03:21:18 +0000 (20:21 -0700)] 
Disable NVMe quiesced snapshot by default.

Open-vm-tools has no FSS.  Enable the feature only when it has been
completely verified and FSS is enabled on the host side.

5 years agoCommon header file change not applicable to open-vm-tools.
John Wolfe [Fri, 26 Mar 2021 03:21:18 +0000 (20:21 -0700)] 
Common header file change not applicable to open-vm-tools.

5 years agoAdd RHEL9 to the guest_os_tables.h header file.
John Wolfe [Fri, 26 Mar 2021 03:21:17 +0000 (20:21 -0700)] 
Add RHEL9 to the guest_os_tables.h header file.

5 years agoFreeBSD now supports Arm
John Wolfe [Fri, 26 Mar 2021 03:21:17 +0000 (20:21 -0700)] 
FreeBSD now supports Arm

Upgrade the guest identification code to handle this.

5 years agoFix a memory leak reported by a partner from their Coverity scans.
John Wolfe [Fri, 26 Mar 2021 03:21:17 +0000 (20:21 -0700)] 
Fix a memory leak reported by a partner from their Coverity scans.

5 years agoLinux guest identification: Support multiple architectures.
John Wolfe [Fri, 26 Mar 2021 03:21:17 +0000 (20:21 -0700)] 
Linux guest identification: Support multiple architectures.

Allow machine architecture information to be present in the
"short string" and the guestOS string.  This is done via a prefix,
"<arch>-" (e.g. arm-ubuntu-64, riscv-debian11-64, arm-windows10-64)
with the X86 architecture being implied (no explicit "<arch>-").

Add the recognition of the Arm machine architecture to the Linux
guest identification code.

5 years agoStyle change, alignment correction.
John Wolfe [Fri, 26 Mar 2021 03:21:17 +0000 (20:21 -0700)] 
Style change, alignment correction.

5 years agoClipboard logging improvement.
John Wolfe [Fri, 26 Mar 2021 03:21:17 +0000 (20:21 -0700)] 
Clipboard logging improvement.

Add a log instruction in CPClipboard_SetItem() to print the data size for
every format.

5 years agoAdd machine architecture information to os.detailed.data.
John Wolfe [Fri, 26 Mar 2021 03:21:17 +0000 (20:21 -0700)] 
Add machine architecture information to os.detailed.data.

The detailed data now include information about the guest's running
machine architecture.  A later change will deal with the guest
"short name" (a.k.a. the guestOS string).

5 years agoTools gdp plugin updates.
John Wolfe [Fri, 26 Mar 2021 03:21:17 +0000 (20:21 -0700)] 
Tools gdp plugin updates.

5 years agoImplement log redirection for the deployPkg plugin.
John Wolfe [Fri, 26 Mar 2021 03:21:17 +0000 (20:21 -0700)] 
Implement log redirection for the deployPkg plugin.

On Linux, /var/log/vmware-imc/toolsDeployPkg.log is the default deployPkgs
log file.  This change allows users to redirect that log to the vmware.log
on the host or to another file located on the guest VM.  Redirection is
controlled by settings in the "logging" section of the tools.conf file.

See the examples in the sample tools.conf file provided in the distribution.

5 years agoChanges to common header files.
John Wolfe [Fri, 26 Mar 2021 03:21:17 +0000 (20:21 -0700)] 
Changes to common header files.

GuestOS: Begin recognizing Arm in VMware products.

5 years agoStylistic changes to the serviceDiscovery plugin Makefile.
John Wolfe [Fri, 26 Mar 2021 03:21:17 +0000 (20:21 -0700)] 
Stylistic changes to the serviceDiscovery plugin Makefile.

Replaced all occurrences of "$(libdir)/open-vm-tools" with "$(pkglibdir)".
Split the makefile command lines to fit within 80 columns.

5 years agoCommon header file change not applicable to open-vm-tools.
John Wolfe [Fri, 26 Mar 2021 03:21:17 +0000 (20:21 -0700)] 
Common header file change not applicable to open-vm-tools.

5 years agoUpdate the ChangeLog with Mar. 5 corrections
John Wolfe [Fri, 5 Mar 2021 19:28:17 +0000 (11:28 -0800)] 
Update the ChangeLog with Mar. 5 corrections
 - plus ChangeLog update of Mar. 4.

5 years agoAdded complete LICENSE file to the jsmn.h and jsmn.c source files.
John Wolfe [Fri, 5 Mar 2021 19:19:30 +0000 (11:19 -0800)] 
Added complete LICENSE file to the jsmn.h and jsmn.c source files.

5 years agoUpdate ChangeLog with the granular push of Mar. 4, 2021.
John Wolfe [Fri, 5 Mar 2021 00:41:38 +0000 (16:41 -0800)] 
Update ChangeLog with the granular push of Mar. 4, 2021.
 - plus Changelog update of Feb. 22.

5 years agoCorrect some missed copyright dates for 2021 publication.
John Wolfe [Fri, 5 Mar 2021 00:34:57 +0000 (16:34 -0800)] 
Correct some missed copyright dates for 2021 publication.

5 years agoConfiguring OVT with the --without-pam option will implicitly disable vgauth.
John Wolfe [Thu, 4 Mar 2021 21:48:46 +0000 (13:48 -0800)] 
Configuring OVT with the --without-pam option will implicitly disable vgauth.

When no vgauth option is given alongside -–without-pam, a warning
is displayed with a message “Building without PAM; vgauth will be
disabled.”.

When -–disable-vgauth is supplied alongside –-without-pam, no
warning or error message is displayed.

When -–enable-vgauth is supplied alongside -–without-pam, an
error will be thrown and the configure stage will be aborted with an
error message “Cannot enable vgauth without PAM. Please configure
without --without-pam or without --enable-vgauth.”

Github Issue: https://github.com/vmware/open-vm-tools/issues/481

5 years agoCommon header file change not applicable to open-vm-tools.
John Wolfe [Thu, 4 Mar 2021 21:48:46 +0000 (13:48 -0800)] 
Common header file change not applicable to open-vm-tools.

5 years agoCommon source file changes not applicable to open-vm-tools.
John Wolfe [Thu, 4 Mar 2021 21:48:46 +0000 (13:48 -0800)] 
Common source file changes not applicable to open-vm-tools.

5 years agoTools gdp plugin updates.
John Wolfe [Thu, 4 Mar 2021 21:48:46 +0000 (13:48 -0800)] 
Tools gdp plugin updates.

5 years agoCommon header file change not applicable to open-vm-tools.
John Wolfe [Thu, 4 Mar 2021 21:48:46 +0000 (13:48 -0800)] 
Common header file change not applicable to open-vm-tools.

5 years agotools/vmwgfxctrl: Add a command line tool for controlling vmwgfx.
John Wolfe [Thu, 4 Mar 2021 21:48:46 +0000 (13:48 -0800)] 
tools/vmwgfxctrl: Add a command line tool for controlling vmwgfx.

vmwgfxctrl is a small command line tool used to control various
aspects of the vmwgfx kernel driver.  Currently it can both
display and set current topology of the vmwgfx kernel driver.

It should be distributed alongside other open-vm-tools binaries.
It's incredibly useful when trying to set custom resolution on any
recent distro (that includes multi-monitor setups).

5 years agoChange not applicable to open-vm-tools.
John Wolfe [Thu, 4 Mar 2021 21:48:46 +0000 (13:48 -0800)] 
Change not applicable to open-vm-tools.

Windows: Add default setting to example tools.conf.

5 years agostringxx: Replace usage of deprecated glibmm function
John Wolfe [Thu, 4 Mar 2021 21:48:46 +0000 (13:48 -0800)] 
stringxx: Replace usage of deprecated glibmm function

Glibmm::RefPtr::clear() has been deprecated for a while and was removed in
2.51. The reasoning is listed in the 2.44 header:

"/// @deprecated Use reset() instead because this leads to confusion with
clear() methods on the underlying class."

reset() has been available since 2.16, so it is trivial to switch to it.

5 years agoCommon header file change not applicable to open-vm-tools.
John Wolfe [Thu, 4 Mar 2021 21:48:46 +0000 (13:48 -0800)] 
Common header file change not applicable to open-vm-tools.

5 years agoPowerOps plugin logging of diagnostic messages on the host.
John Wolfe [Thu, 4 Mar 2021 21:48:46 +0000 (13:48 -0800)] 
PowerOps plugin logging of diagnostic messages on the host.

To assist with diagnosis of VM power operations, have the powerOps plugin
log messages about guest OS reboot, shutdown, power-on/power-off,
script execution, and exit status to the VM's guest.log file on the host.

5 years agoCommon header file change not applicable to open-vm-tools.
John Wolfe [Thu, 4 Mar 2021 21:48:46 +0000 (13:48 -0800)] 
Common header file change not applicable to open-vm-tools.

5 years agoReduce or eliminate Linux dependency on the "net-tools" package.
John Wolfe [Thu, 4 Mar 2021 21:48:46 +0000 (13:48 -0800)] 
Reduce or eliminate Linux dependency on the "net-tools" package.

The "ifconfig" and "netstat" commands are deprecated in more recent
releases of Linux.  Update the Linux vm-support script to use the "ip"
and "ss" commands when available.

If Available:         Fallback:
     ip                   ifconfig
     ip route             route
     ss                   netstat

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

5 years agoUpdate ChangeLog with the granular push of Feb. 22, 2021.
John Wolfe [Mon, 22 Feb 2021 18:13:53 +0000 (10:13 -0800)] 
Update ChangeLog with the granular push of Feb. 22, 2021.
  plus Changelog update of Feb. 4.

5 years agoCommon header file change not applicable to open-vm-tools.
John Wolfe [Mon, 22 Feb 2021 17:37:00 +0000 (09:37 -0800)] 
Common header file change not applicable to open-vm-tools.

5 years agolib/file: Deleting a directory tree should not care about missing files
John Wolfe [Mon, 22 Feb 2021 17:37:00 +0000 (09:37 -0800)] 
lib/file: Deleting a directory tree should not care about missing files

Tolerate a directory entry disappearing while a directory tree is being
deleted.

5 years agoCommon header file changes: additional pre-gcc-4.4 clean up.
John Wolfe [Mon, 22 Feb 2021 17:37:00 +0000 (09:37 -0800)] 
Common header file changes: additional pre-gcc-4.4 clean up.

5 years agoFix miscellaneous Codacy warnings in Tools and VGAuth code.
John Wolfe [Mon, 22 Feb 2021 17:37:00 +0000 (09:37 -0800)] 
Fix miscellaneous Codacy warnings in Tools and VGAuth code.

Multiple warnings "The scope of the variable can be reduced" reported by
the Codacy static analysis tool have been addressed.

5 years agoCommon header file change not applicable to open-vm-tools.
John Wolfe [Mon, 22 Feb 2021 17:37:00 +0000 (09:37 -0800)] 
Common header file change not applicable to open-vm-tools.

5 years agoAdding FreeBSD on ARM64 support to open-vm-tools.
John Wolfe [Mon, 22 Feb 2021 17:37:00 +0000 (09:37 -0800)] 
Adding FreeBSD on ARM64 support to open-vm-tools.

Updating the FreeBSD specific sections of open-vm-tools to adjust
where necessary for ARM64.   The FreeBSD vmballoon driver (vmmemctl.ko)
will use the backdoorGcc64_arm64.c when built for ARM64.

Pull request: https://github.com/vmware/open-vm-tools/pull/474

5 years agoCommon header file change not applicable to open-vm-tools.
John Wolfe [Mon, 22 Feb 2021 17:37:00 +0000 (09:37 -0800)] 
Common header file change not applicable to open-vm-tools.

5 years agoCommon header file change not applicable to open-vm-tools.
John Wolfe [Mon, 22 Feb 2021 17:36:59 +0000 (09:36 -0800)] 
Common header file change not applicable to open-vm-tools.

5 years agoCommon header file change not applicable to open-vm-tools.
John Wolfe [Mon, 22 Feb 2021 17:36:59 +0000 (09:36 -0800)] 
Common header file change not applicable to open-vm-tools.

5 years agoCommon header file change not applicable to open-vm-tools.
John Wolfe [Mon, 22 Feb 2021 17:36:59 +0000 (09:36 -0800)] 
Common header file change not applicable to open-vm-tools.

5 years agoCommon header file change not applicable to open-vm-tools.
John Wolfe [Mon, 22 Feb 2021 17:36:59 +0000 (09:36 -0800)] 
Common header file change not applicable to open-vm-tools.

5 years agoCommon header file change not applicable to open-vm-tools.
John Wolfe [Mon, 22 Feb 2021 17:36:59 +0000 (09:36 -0800)] 
Common header file change not applicable to open-vm-tools.

5 years agoCommon header file change not applicable to open-vm-tools.
John Wolfe [Mon, 22 Feb 2021 17:36:59 +0000 (09:36 -0800)] 
Common header file change not applicable to open-vm-tools.

5 years agoClean up pre-gcc-4.4 macros
John Wolfe [Mon, 22 Feb 2021 17:36:59 +0000 (09:36 -0800)] 
Clean up pre-gcc-4.4 macros

Gcc is now "always" at least gcc-4.4 (checked in vm_basic_types.h),
which means many conditionals for earlier gcc can be removed.

5 years agoCommon header file change not directly applicable to open-vm-tools.
John Wolfe [Mon, 22 Feb 2021 17:36:59 +0000 (09:36 -0800)] 
Common header file change not directly applicable to open-vm-tools.

5 years agoCompiler minimums: bump to gcc-4.4
John Wolfe [Mon, 22 Feb 2021 17:36:59 +0000 (09:36 -0800)] 
Compiler minimums: bump to gcc-4.4

5 years agoFix miscellaneous Codacy warnings in deployPkg plugin code.
John Wolfe [Mon, 22 Feb 2021 17:36:59 +0000 (09:36 -0800)] 
Fix miscellaneous Codacy warnings in deployPkg plugin code.

Multiple warnings "The scope of the variable can be reduced" reported by
the Codacy static analysis tool have been addressed.

5 years agoCommon header file change not applicable to open-vm-tools.
John Wolfe [Mon, 22 Feb 2021 17:36:59 +0000 (09:36 -0800)] 
Common header file change not applicable to open-vm-tools.

5 years ago[open-vm-tools part] Support raw cloud-init data in VM customization.
John Wolfe [Mon, 22 Feb 2021 17:36:59 +0000 (09:36 -0800)] 
[open-vm-tools part] Support raw cloud-init data in VM customization.

To support this feature, open-vm-tools needs to check whether cloud-init
can support raw cloud-init data; then copy the data to the cloud-init
cfg directory.

5 years agoAdded 2 error codes for supporting raw cloud-init data in VM customization.
John Wolfe [Mon, 22 Feb 2021 17:36:59 +0000 (09:36 -0800)] 
Added 2 error codes for supporting raw cloud-init data in VM customization.

Header file updated with errors detected when using raw cloud-init data
in guest customization.
  - cloud-init version is too old to support raw cloud-init data.
  - cloud-init meta data format is invalid.

5 years agoCommon header file change not applicable to open-vm-tools.
John Wolfe [Mon, 22 Feb 2021 17:36:59 +0000 (09:36 -0800)] 
Common header file change not applicable to open-vm-tools.

5 years agoRemove lib/include/vmware_pack_*.h header files.
John Wolfe [Mon, 22 Feb 2021 17:36:59 +0000 (09:36 -0800)] 
Remove lib/include/vmware_pack_*.h header files.

Previous changes have removed the last usages of these headers; now using
'#pragma pack' 100% of the time.

5 years agoUpdate ChangeLog with the granular push of Feb. 4, 2021.
John Wolfe [Thu, 4 Feb 2021 18:13:38 +0000 (10:13 -0800)] 
Update ChangeLog with the granular push of Feb. 4, 2021.
  - plus Changelog update of Jan. 22.

5 years agoCommon header file change not directly applicable to open-vm-tools.
John Wolfe [Thu, 4 Feb 2021 17:57:03 +0000 (09:57 -0800)] 
Common header file change not directly applicable to open-vm-tools.

5 years agoDrop usage of vmware_pack_*.h header files.
John Wolfe [Thu, 4 Feb 2021 17:57:03 +0000 (09:57 -0800)] 
Drop usage of vmware_pack_*.h header files.

Both gcc and clang support the Microsoft-style "pragma pack" syntax.

5 years agoresolution: Fix kms autodetection
John Wolfe [Thu, 4 Feb 2021 17:57:03 +0000 (09:57 -0800)] 
resolution: Fix kms autodetection

Currently, the elf binary of the xorg driver is loaded to check for a
string that was put in the .modinfo section in the driver.  Unfortunately
there are two problems with this approach:

  1) Distros now ship without xorg, so the xorg .so doesn't exist and
     there's nothing to check.
  2) Distros (e.g. Fedora) do heavy optimizations and remove the .modinfo
     section from the .so, so the string cannot be found even though the
     driver exists.

To fix both, stop depending on being able to parse the elf binary of the
xorg driver.  Instead, let the plugin check for the existence of the drm
driver with a sufficiently high version, and if it exists, use kms.
This removes the dependency on X for kms.  Also increase the version of
vmwgfx required to ensure atomic mode-setting plus relevant bug fixes (in
the kernel since 2017) are available.

5 years agoAdd a switch to the vm-support script to transfer the support bundle to the hypervisor
John Wolfe [Thu, 4 Feb 2021 17:57:03 +0000 (09:57 -0800)] 
Add a switch to the vm-support script to transfer the support bundle to the hypervisor

The vm-support script unconditionally transferred the support bundle to
to the VMware hypervisor, thereby filling vmware.log.
This fix changes the default behavior of the Linux and Windows scripts
to *not* transfer the logs to the host.

Added an option '-x' to both scripts to let the user elect to
transfer the guest support bundle to the host.

5 years agoAdd NVMe capability for vmbackup.
John Wolfe [Thu, 4 Feb 2021 17:57:03 +0000 (09:57 -0800)] 
Add NVMe capability for vmbackup.

The vmx/vmbackup logic checks if tools/vmbackup can support NVMe.  If it
is supported, vmx/vmbackup can further go through the app quiesce process.
Otherwise, vmx/vmbackup requests the filesystem quiesce process.

5 years agoCommon header file change not applicable to open-vm-tools.
John Wolfe [Thu, 4 Feb 2021 17:57:03 +0000 (09:57 -0800)] 
Common header file change not applicable to open-vm-tools.

5 years agoCommon header file change not applicable to open-vm-tools.
John Wolfe [Thu, 4 Feb 2021 17:57:03 +0000 (09:57 -0800)] 
Common header file change not applicable to open-vm-tools.

5 years agoCommon header file change not applicable to open-vm-tools.
John Wolfe [Thu, 4 Feb 2021 17:57:03 +0000 (09:57 -0800)] 
Common header file change not applicable to open-vm-tools.

5 years agoCommon header file change not directly applicable to open-vm-tools.
John Wolfe [Thu, 4 Feb 2021 17:57:03 +0000 (09:57 -0800)] 
Common header file change not directly applicable to open-vm-tools.

5 years agoCommon header file change not applicable to open-vm-tools.
John Wolfe [Thu, 4 Feb 2021 17:57:03 +0000 (09:57 -0800)] 
Common header file change not applicable to open-vm-tools.

5 years agoCommon header file change not applicable to open-vm-tools.
John Wolfe [Thu, 4 Feb 2021 17:57:03 +0000 (09:57 -0800)] 
Common header file change not applicable to open-vm-tools.

5 years agoCommon header file change not applicable to open-vm-tools.
John Wolfe [Thu, 4 Feb 2021 17:57:03 +0000 (09:57 -0800)] 
Common header file change not applicable to open-vm-tools.

5 years agoAdd tools version 10.3.24 to list of tools versions.
John Wolfe [Thu, 4 Feb 2021 17:57:03 +0000 (09:57 -0800)] 
Add tools version 10.3.24 to list of tools versions.

Document use of 10.3.24 for the next possible release of VMware Tools
(tartools) or OSPS for older releases of Linux.

5 years agoCommon header file change not applicable to open-vm-tools.
John Wolfe [Thu, 4 Feb 2021 17:57:03 +0000 (09:57 -0800)] 
Common header file change not applicable to open-vm-tools.

5 years agoAdded in the ChangeLog update comment from Dec 31.
John Wolfe [Fri, 22 Jan 2021 20:55:24 +0000 (12:55 -0800)] 
Added in the ChangeLog update comment from Dec 31.

5 years agoUpdate ChangeLog with the granular push of Jan. 22, 2021.
John Wolfe [Fri, 22 Jan 2021 20:52:09 +0000 (12:52 -0800)] 
Update ChangeLog with the granular push of Jan. 22, 2021.

5 years agoCorrect missing 2021 copyright dates.
John Wolfe [Fri, 22 Jan 2021 20:39:50 +0000 (12:39 -0800)] 
Correct missing 2021 copyright dates.

5 years agoCommon header file change not applicable to open-vm-tools.
John Wolfe [Fri, 22 Jan 2021 20:25:41 +0000 (12:25 -0800)] 
Common header file change not applicable to open-vm-tools.

5 years agoCommon header file change not applicable to open-vm-tools.
John Wolfe [Fri, 22 Jan 2021 20:25:41 +0000 (12:25 -0800)] 
Common header file change not applicable to open-vm-tools.

5 years agoFile_Rotate: Optimize FileRotateByRenumber performance
John Wolfe [Fri, 22 Jan 2021 20:25:41 +0000 (12:25 -0800)] 
File_Rotate: Optimize FileRotateByRenumber performance

5 years agoFix an issue where CustomizationUnknownFailure is generated multiple times
John Wolfe [Fri, 22 Jan 2021 20:25:41 +0000 (12:25 -0800)] 
Fix an issue where CustomizationUnknownFailure is generated multiple times
on Linux.

For Linux, sysimage sends a failure status to VMX when the deploy pkg
failed.  The tools plugin then sends the failure notice again.  Changing the
plugin to only send the failure notice for Windows guests where the
failure has yet to be logged.

5 years agoCommon header file change not directly applicable to open-vm-tools.
John Wolfe [Fri, 22 Jan 2021 20:25:41 +0000 (12:25 -0800)] 
Common header file change not directly applicable to open-vm-tools.

5 years agoCommon header file change not applicable to open-vm-tools.
John Wolfe [Fri, 22 Jan 2021 20:25:41 +0000 (12:25 -0800)] 
Common header file change not applicable to open-vm-tools.

5 years agoCustomization: Set log level to info, not error, for failed /sbin/telinit command
John Wolfe [Fri, 22 Jan 2021 20:25:41 +0000 (12:25 -0800)] 
Customization: Set log level to info, not error, for failed /sbin/telinit command

The error message of a failed /sbin/telinit command is confusing for
customers who might think customization failed.  On some Guest OSes,
the repeatedly executing /sbin/telinit command can fail while a reboot
is happening and the init daemon has been killed.
This change sets log level to info, not error, for failed /sbin/telinit
command.
Note: The first /sbin/telinit commmand failure will fail customization
with error 127; this is unchanged.

5 years agolib/file/file.c: Use Err_Errno instead of errno directly.
John Wolfe [Fri, 22 Jan 2021 20:25:41 +0000 (12:25 -0800)] 
lib/file/file.c: Use Err_Errno instead of errno directly.

5 years agolib/file/file.c: Fix memory leak
John Wolfe [Fri, 22 Jan 2021 20:25:41 +0000 (12:25 -0800)] 
lib/file/file.c: Fix memory leak

Don't continue; jump to ensure string free.

5 years agoInvalid file name causes the VMX to crash in log file rotation
John Wolfe [Fri, 22 Jan 2021 20:25:41 +0000 (12:25 -0800)] 
Invalid file name causes the VMX to crash in log file rotation

Parse the log file names without using sscanf.  This way no "%" in
a file name can look like a valid scanf directive.

5 years agoCommon header file change not applicable to open-vm-tools.
John Wolfe [Fri, 22 Jan 2021 20:25:40 +0000 (12:25 -0800)] 
Common header file change not applicable to open-vm-tools.

5 years agoCommon header file change not applicable to open-vm-tools.
John Wolfe [Fri, 22 Jan 2021 20:25:40 +0000 (12:25 -0800)] 
Common header file change not applicable to open-vm-tools.

5 years agoCommon header file change not applicable to open-vm-tools.
John Wolfe [Fri, 22 Jan 2021 20:25:40 +0000 (12:25 -0800)] 
Common header file change not applicable to open-vm-tools.