]> git.ipfire.org Git - thirdparty/open-vm-tools.git/log
thirdparty/open-vm-tools.git
3 years agoChange to common header file not applicable to open-vm-tools.
Katy Feng [Wed, 18 Jan 2023 03:08:33 +0000 (19:08 -0800)] 
Change to common header file not applicable to open-vm-tools.

3 years agoChange to common header file not applicable to open-vm-tools.
Katy Feng [Wed, 18 Jan 2023 03:08:33 +0000 (19:08 -0800)] 
Change to common header file not applicable to open-vm-tools.

3 years agoUpdate Changelog with the granular push of Dec 31, 2022.
John Wolfe [Sun, 1 Jan 2023 06:42:11 +0000 (22:42 -0800)] 
Update Changelog with the granular push of Dec 31, 2022.
- plus ChangeLog update of Dec 22, 2022.

3 years agoopen-vm-tools SUSE: Detect the proto files for the containerd grpc client
John Wolfe [Sun, 1 Jan 2023 06:13:07 +0000 (22:13 -0800)] 
open-vm-tools SUSE: Detect the proto files for the containerd grpc client

On SUSE systems, the Go src'es are installed in a different location,
namely /usr/share/go/1.18/contrib/src.
Extend the config checks to detect that location.

OVT pull request: https://github.com/vmware/open-vm-tools/pull/626

3 years agoAdd missing error codes for AsyncSocket_GetGenericError()
John Wolfe [Sun, 1 Jan 2023 06:13:07 +0000 (22:13 -0800)] 
Add missing error codes for AsyncSocket_GetGenericError()

AsyncSocket_GetGenericError() returns ETIMEDOUT or ECONNREFUSED
errors when they are encountered.  Added cross-platform #defines that
represent these codes.

3 years agoCommon header file change not applicable to open-vm-tools.
John Wolfe [Sun, 1 Jan 2023 06:13:07 +0000 (22:13 -0800)] 
Common header file change not applicable to open-vm-tools.

3 years agoChanges to common source files not directly applicable to open-vm-tools.
John Wolfe [Sun, 1 Jan 2023 06:13:07 +0000 (22:13 -0800)] 
Changes to common source files not directly applicable to open-vm-tools.

3 years agoUpdate Changelog with the granular push of Dec 22, 2022.
Katy Feng [Fri, 23 Dec 2022 00:37:51 +0000 (16:37 -0800)] 
Update Changelog with the granular push of Dec 22, 2022.
- plus ChangeLog update of Nov 29, 2022.

3 years agoInclusive terminology - "sanity check"
Katy Feng [Fri, 23 Dec 2022 00:25:51 +0000 (16:25 -0800)] 
Inclusive terminology - "sanity check"

Partial "sanity check" clean-up:
- Change comments from "sanity check" to "confidence check"

3 years agoPowerops plugin: Enhance logging and response message when a previous
Katy Feng [Fri, 23 Dec 2022 00:25:51 +0000 (16:25 -0800)] 
Powerops plugin:  Enhance logging and response message when a previous
powerops script is still running.

3 years agolib/panic: Remove Panic_GetCoreFileName and Panic_SetCoreFileName.
Katy Feng [Fri, 23 Dec 2022 00:25:51 +0000 (16:25 -0800)] 
lib/panic: Remove Panic_GetCoreFileName and Panic_SetCoreFileName.

Panic_[GS]etCoreFileName have been dead code for a very long time.

This change removes them, along with the underlying panicState.coreDumpFile
field.  Also, do some reformatting and tidy a few comments.

3 years agoCommon header file change not applicable to open-vm-tools.
Katy Feng [Fri, 23 Dec 2022 00:25:50 +0000 (16:25 -0800)] 
Common header file change not applicable to open-vm-tools.

3 years agoSource file changes not directly applicable to open-vm-tools.
Katy Feng [Fri, 23 Dec 2022 00:25:50 +0000 (16:25 -0800)] 
Source file changes not directly applicable to open-vm-tools.

Minor cleanup in a couple of Makefile.am files.

3 years agoLinux guest identification: Make the code more robust
Katy Feng [Fri, 23 Dec 2022 00:25:50 +0000 (16:25 -0800)] 
Linux guest identification: Make the code more robust

Additional clean up.

3 years agoCommon header file change not applicable to open-vm-tools.
Katy Feng [Fri, 23 Dec 2022 00:25:50 +0000 (16:25 -0800)] 
Common header file change not applicable to open-vm-tools.

3 years agoInclusive terminology - "disabled"
Katy Feng [Fri, 23 Dec 2022 00:25:50 +0000 (16:25 -0800)] 
Inclusive terminology - "disabled"

Partial "disabled" clean-up:
- Change comments from "disable(d)" to "deactivate(d)"
- Change comments from "enable" to "activate" for grammar consistency

3 years agoLinux guest identification: Make the code more robust.
Katy Feng [Fri, 23 Dec 2022 00:25:50 +0000 (16:25 -0800)] 
Linux guest identification: Make the code more robust.

The code to read and parse the os-release data isn't doing a good job
of protecting the tools daemon. Fixed this.
 - do not depend on sscanf.
 - bound the size of parameters;
 - better checking for syntax errors.

3 years agoSilence ComponentMgr logs for a missing support file.
Katy Feng [Fri, 23 Dec 2022 00:25:50 +0000 (16:25 -0800)] 
Silence ComponentMgr logs for a missing support file.

Components managed by the componentMgr plugin are often optional.
The missing component script file is a normal condition.
Silenced the logs by changing the message level from g_info to g_debug.

3 years agoLimit the number of RPC vsocket connect() retries for ECONNRESET errors.
Katy Feng [Fri, 23 Dec 2022 00:25:50 +0000 (16:25 -0800)] 
Limit the number of RPC vsocket connect() retries for ECONNRESET errors.

If a guest VM has been configured with 'guest_rpc.rpci.usevsocket = "FALSE"'
to work around a problem in ESXi 6.0 ot 6.5 (KB 2149941), that guest VM
may experience high CPU usage on open-vm-tools 12.1.0 and 12.1.5.

3 years agoChange to common header file not applicable to open-vm-tools.
Katy Feng [Fri, 23 Dec 2022 00:25:50 +0000 (16:25 -0800)] 
Change to common header file not applicable to open-vm-tools.

3 years ago[TimeInfo] Handle notifications and get updates
Katy Feng [Fri, 23 Dec 2022 00:25:50 +0000 (16:25 -0800)] 
[TimeInfo] Handle notifications and get updates

TimeInfo, which is part of TimeSync plugin, can be
used to query, set, subscribe, and receive updates for
time-related information from the host when guest is
using precisionclock to consume time from the host.
Previous changes laid foundation to subscribe and
unsubscribe for TimeInfo updates in open-vm-tools during
init/shutdown.

When open-vm-tools subscribes for TimeInfo updates, VMX
will send a notification GuestRPC to tools if and
when the timing properties change. This change
adds support to handle such GuestRPCs from VMX.
The handler for the GuestRPC is pretty straightforward
for now: it queues an async task that simply gets
all updates and logs them.

3 years agoChange to common header file not applicable to open-vm-tools.
Katy Feng [Fri, 23 Dec 2022 00:25:50 +0000 (16:25 -0800)] 
Change to common header file not applicable to open-vm-tools.

3 years agoLimit retry if the VMX RESETs a vsock connection
Katy Feng [Fri, 23 Dec 2022 00:25:50 +0000 (16:25 -0800)] 
Limit retry if the VMX RESETs a vsock connection

If guest_rpc.rpci.usevsocket = "FALSE" is set, a vsock
connect() will always fail with RESET. This confused code that
thought it could only happen for secure sockets when they
were quickly re-used.

Limit retry, and only for secure connections.

3 years ago[TimeInfo] Subscribe/unsubscribe to notifications during init/shutdown
Katy Feng [Fri, 23 Dec 2022 00:25:50 +0000 (16:25 -0800)] 
[TimeInfo] Subscribe/unsubscribe to notifications during init/shutdown

This change adds support for subscribing to time info notifications
when this feature is enabled in the tools. As a result VMX will
send time info notifications to the tools when host timing
properties change. The change adds support to perform subscribe/
unsubscribe GuestRPCs from tools. Note that, handling of notification
(received from VMX) will be implemented in the next change.

3 years agoChange to common header file not applicable to open-vm-tools.
Katy Feng [Fri, 23 Dec 2022 00:25:50 +0000 (16:25 -0800)] 
Change to common header file not applicable to open-vm-tools.

3 years agoChange to common header file not applicable to open-vm-tools.
Katy Feng [Fri, 23 Dec 2022 00:25:50 +0000 (16:25 -0800)] 
Change to common header file not applicable to open-vm-tools.

3 years agoChange to common header file not applicable to open-vm-tools.
Katy Feng [Fri, 23 Dec 2022 00:25:50 +0000 (16:25 -0800)] 
Change to common header file not applicable to open-vm-tools.

3 years ago[TimeInfo] Introduce TimeInfo in TimeSync plugin
Katy Feng [Fri, 23 Dec 2022 00:25:50 +0000 (16:25 -0800)] 
[TimeInfo] Introduce TimeInfo in TimeSync plugin

This change lays a foundation for upcoming changes to
support TimeInfo feature in open-vm-tools. TimeInfo feature
is introduced as part of TimeSync plugin and can be
used to query, set, subscribe, and receive updates for
time-related information from the host when guest is
using precisionclock to consume time from the host.

This change simply adds a new file and basic init/shutdown
routines which are called as part of TimeSync plugin
load/unload. The change also introduces a config option
to enable/disable this feature (default is off). The
feature is Linux-only for now.

Upcoming changes will add support for subscribing and
receiving TimeInfo updates.

3 years agoChange to common header file not applicable to open-vm-tools.
Katy Feng [Fri, 23 Dec 2022 00:25:50 +0000 (16:25 -0800)] 
Change to common header file not applicable to open-vm-tools.

3 years agoInclusive language - "disabled"
Katy Feng [Fri, 23 Dec 2022 00:25:50 +0000 (16:25 -0800)] 
Inclusive language - "disabled"

Use “deactivated” instead of “disabled” in some files used by open-vm-tools.

3 years agoEnhance the guest identification code for Linux
Katy Feng [Fri, 23 Dec 2022 00:25:49 +0000 (16:25 -0800)] 
Enhance the guest identification code for Linux

The Linux guest identification code is enhanced to return two
additional fields (when a distro makes them available):

1) The VERSION field

This field sometimes contains additional information not
found in other fields. For instance, on SLES, this provides
the patch level information.

2) The CPE_NAME field

This is the NIST Common Platform Enumeration Specification
string. If present, this may provide information in a
standardized form.

3 years agoMerge branch 'stable-12.1.x'
John Wolfe [Tue, 29 Nov 2022 21:34:46 +0000 (13:34 -0800)] 
Merge branch 'stable-12.1.x'

3 years ago ================================================= stable-12.1.x stable-12.1.5
John Wolfe [Tue, 29 Nov 2022 21:17:22 +0000 (13:17 -0800)] 
  =================================================
    open-vm-tools 12.1.5 released at this point.
  =================================================
Update of the ChangeLog with the final changes in preparation for
the open-vm-tools 12.1.5 release.

3 years agoUpdate the ReleaseNotes.md for the 12.1.5 open-vm-tools release.
John Wolfe [Tue, 29 Nov 2022 21:11:04 +0000 (13:11 -0800)] 
Update the ReleaseNotes.md for the 12.1.5 open-vm-tools release.

3 years agoPrepare for the open-vm-tools 12.1.5 release.
John Wolfe [Tue, 29 Nov 2022 21:07:17 +0000 (13:07 -0800)] 
Prepare for the open-vm-tools 12.1.5 release.
- Update the tools version in the configure.ac.   Update the build numbers
  buldNumber.h.

3 years agoUpdate Changelog with the granular push of Nov 29, 2022.
Katy Feng [Tue, 29 Nov 2022 20:22:44 +0000 (12:22 -0800)] 
Update Changelog with the granular push of Nov 29, 2022.
 - plus ChangeLog update of Nov 4, 2022.

3 years agoChange to common header file not applicable to open-vm-tools.
Katy Feng [Tue, 29 Nov 2022 20:11:43 +0000 (12:11 -0800)] 
Change to common header file not applicable to open-vm-tools.

3 years agoChange to common header file not applicable to open-vm-tools.
Katy Feng [Tue, 29 Nov 2022 20:11:43 +0000 (12:11 -0800)] 
Change to common header file not applicable to open-vm-tools.

3 years agoChange to common header file not applicable to open-vm-tools.
Katy Feng [Tue, 29 Nov 2022 20:11:43 +0000 (12:11 -0800)] 
Change to common header file not applicable to open-vm-tools.

3 years agoChange to common header file not applicable to open-vm-tools.
Katy Feng [Tue, 29 Nov 2022 20:11:42 +0000 (12:11 -0800)] 
Change to common header file not applicable to open-vm-tools.

3 years agoTesting update access to github repository
Katy Feng [Mon, 21 Nov 2022 23:00:10 +0000 (15:00 -0800)] 
Testing update access to github repository

3 years agoUpdate the ChangeLog file with the changes in the 12.1.5 open-vm-tools release.
John Wolfe [Thu, 10 Nov 2022 20:10:55 +0000 (12:10 -0800)] 
Update the ChangeLog file with the changes in the 12.1.5 open-vm-tools release.
 - plus the ChangeLog update of Aug. 23, 2022

3 years agoFix printf format type found by Coverity scan.
John Wolfe [Thu, 10 Nov 2022 20:01:14 +0000 (12:01 -0800)] 
Fix printf format type found by Coverity scan.

printf format should be using %zu to print a size_t value.

3 years agoAvoid a vmtoolsd service error message if not on a VMware hypervisor.
John Wolfe [Thu, 10 Nov 2022 20:01:14 +0000 (12:01 -0800)] 
Avoid a vmtoolsd service error message if not on a VMware hypervisor.

When open-vm-tools comes preinstalled in a base Linux release, the
vmtoolsd services are started automatically at system start
and desktop login.  If running on physical hardware or in a non-VMware
hypervisor, the services will emit an error message to the systemd's
logging service before stopping.

This change removes the unwanted error message.

3 years agoAdd an example of a new deployPkg/wait-cloudinit-timeout setting to tools.conf.
John Wolfe [Thu, 10 Nov 2022 20:01:14 +0000 (12:01 -0800)] 
Add an example of a new deployPkg/wait-cloudinit-timeout setting to tools.conf.

3 years agoMake Linux perl based customization work with the cloud-init workflow.
John Wolfe [Thu, 10 Nov 2022 20:01:14 +0000 (12:01 -0800)] 
Make Linux perl based customization work with the cloud-init workflow.

To resolve issues seen where users want to set a vm's networking
and apply cloud-init userdata together before the vm is booted, the
deployPkg plugin has been modified to wait for cloud-init
execution to finish.  This allows cloud-init to finish execution
completely before the customization process triggers a reboot
of the guest.

This change is solely in the deployPkg plugin side, so a user can get
this change by upgrading their open-vm-tools in the guest/template.
Crossport of change 10318445 and 10330918 from main to vmtools-prod-cpd.

3 years agoAdd a null undo function to the vmbackup null provider.
John Wolfe [Thu, 10 Nov 2022 20:01:14 +0000 (12:01 -0800)] 
Add a null undo function to the vmbackup null provider.

If a snapshot operation times out, vmbackup can attempt
to undo quiescing.  Since no quiescing is done for the null
backup provider, no undo function was provided.  If vmbackup
attempts to call the undo function, it dereferences a garbage
pointer resulting in a segfault.

Rather than add null backup provider specific checks to vmbackup,
this change adds a null undo function to provide vmbackup with a
valid function pointer it can call.  The new undo function updates
the vmbackup state machine state with a new currentOpName, but
has no other effect.  currentOpName is set to the calling
function name, e.g. __FUNCTION__.

3 years agoPrepare tools builds on vmtools-prod-cpd for the 12.1.5 update release.
John Wolfe [Thu, 10 Nov 2022 20:01:14 +0000 (12:01 -0800)] 
Prepare tools builds on vmtools-prod-cpd for the 12.1.5 update release.

- Bump the tools version to 12.1.5.

3 years agoUpdate Changelog with the granular push of Nov 4, 2022.
John Wolfe [Fri, 4 Nov 2022 18:58:14 +0000 (11:58 -0700)] 
Update Changelog with the granular push of Nov 4, 2022.
 - plus ChangeLog update of Oct 21, 2022.

3 years agoAdd explanatory comments for Coverity false positives.
John Wolfe [Fri, 4 Nov 2022 18:45:05 +0000 (11:45 -0700)] 
Add explanatory comments for Coverity false positives.

Add comments for two memory leak false positives reported by a
Coverity scan of open-vm-tools.   Don't annotate since the
annotations can't be made specified to the leaked variable, so
that if an actual leak were introduced in the future an annotation
would cause it to be reported as a false positive.

For the same reason, replace a leaked storage annotation added
previously with an explanatory comment.

3 years agoChange to common header file not applicable to open-vm-tools.
John Wolfe [Fri, 4 Nov 2022 18:45:05 +0000 (11:45 -0700)] 
Change to common header file not applicable to open-vm-tools.

3 years agoChanges to common source files not applicable to open-vm-tools.
John Wolfe [Fri, 4 Nov 2022 18:45:05 +0000 (11:45 -0700)] 
Changes to common source files not applicable to open-vm-tools.

3 years agoChange to common source file not applicable to open-vm-tools.
John Wolfe [Fri, 4 Nov 2022 18:45:05 +0000 (11:45 -0700)] 
Change to common source file not applicable to open-vm-tools.

3 years agoUpdate ChangeLog with the granular push of Oct 21, 2022.
John Wolfe [Fri, 21 Oct 2022 19:11:07 +0000 (12:11 -0700)] 
Update ChangeLog with the granular push of Oct 21, 2022.
 - plus ChangeLog update of Oct 12, 2022.

3 years agoCommon header file change not applicable to open-vm-tools.
John Wolfe [Fri, 21 Oct 2022 18:39:49 +0000 (11:39 -0700)] 
Common header file change not applicable to open-vm-tools.

3 years agoFix a regression caused by the previous guestOps ListFiles() change.
John Wolfe [Fri, 21 Oct 2022 18:39:49 +0000 (11:39 -0700)] 
Fix a regression caused by the previous guestOps ListFiles() change.

If maxResults is 0, return an empty file list plus
the remaining number of files.

3 years agoFix printf format type found by Coverity scan.
John Wolfe [Fri, 21 Oct 2022 18:39:49 +0000 (11:39 -0700)] 
Fix printf format type found by Coverity scan.

printf format should be using %zu to print a size_t value.

3 years agoCommon header file change not applicable to open-vm-tools.
John Wolfe [Fri, 21 Oct 2022 18:39:49 +0000 (11:39 -0700)] 
Common header file change not applicable to open-vm-tools.

3 years agoAvoid a vmtoolsd service error message if not on a VMware hypervisor.
John Wolfe [Fri, 21 Oct 2022 18:39:49 +0000 (11:39 -0700)] 
Avoid a vmtoolsd service error message if not on a VMware hypervisor.

When open-vm-tools comes preinstalled in a base Linux release, the
vmtoolsd services are started automatically at system start
and desktop login.  If running on physical hardware or in a non-VMware
hypervisor, the services will emit an error message to the systemd's
logging service before stopping.

This change removes the unwanted error message.

3 years agoCommon header file change not applicable to open-vm-tools.
John Wolfe [Fri, 21 Oct 2022 18:39:49 +0000 (11:39 -0700)] 
Common header file change not applicable to open-vm-tools.

3 years agoCommon header file change not applicable to open-vm-tools.
John Wolfe [Fri, 21 Oct 2022 18:39:49 +0000 (11:39 -0700)] 
Common header file change not applicable to open-vm-tools.

3 years agoUpdate ChangeLog with the granular push of Oct 12, 2022.
John Wolfe [Wed, 12 Oct 2022 20:21:25 +0000 (13:21 -0700)] 
Update ChangeLog with the granular push of Oct 12, 2022.
 - plus ChangeLog update of Sep 21, 2022.

3 years agoAdd missed 2022 copyright change.
John Wolfe [Wed, 12 Oct 2022 20:04:00 +0000 (13:04 -0700)] 
Add missed 2022 copyright change.

3 years agoCommon header file change not applicable to open-vm-tools.
John Wolfe [Wed, 12 Oct 2022 19:40:37 +0000 (12:40 -0700)] 
Common header file change not applicable to open-vm-tools.

3 years agoCommon header file change not applicable to open-vm-tools.
John Wolfe [Wed, 12 Oct 2022 19:40:37 +0000 (12:40 -0700)] 
Common header file change not applicable to open-vm-tools.

3 years agoCommon header file change not applicable to open-vm-tools.
John Wolfe [Wed, 12 Oct 2022 19:40:37 +0000 (12:40 -0700)] 
Common header file change not applicable to open-vm-tools.

3 years agoUpdate the guestOps to handle some edge cases.
John Wolfe [Wed, 12 Oct 2022 19:40:37 +0000 (12:40 -0700)] 
Update the guestOps to handle some edge cases.

When File_GetSize() fails or returns a -1 indicating the user does not
have access permissions:
 1) Skip the file in the output of the ListFiles() request.
 2) Fail an InitiateFileTransferFromGuest operation.

Properly handle the hostd request offset value returned in a ListFiles()
guest operation when the results are truncated.

3 years agoMove deployPkgFormat.h to lib/include/deployPkg.
John Wolfe [Wed, 12 Oct 2022 19:40:37 +0000 (12:40 -0700)] 
Move deployPkgFormat.h to lib/include/deployPkg.

3 years agoChanges to common header files not applicable to open-vm-tools.
John Wolfe [Wed, 12 Oct 2022 19:40:37 +0000 (12:40 -0700)] 
Changes to common header files not applicable to open-vm-tools.

3 years agoInclusive terminology - "rule of thumb"
John Wolfe [Wed, 12 Oct 2022 19:40:36 +0000 (12:40 -0700)] 
Inclusive terminology - "rule of thumb"

Update bora/lib/public/fileIO.h to use "general rule" instead
of "rule of thumb".

3 years agoCommon header file change not applicable to open-vm-tools.
John Wolfe [Wed, 12 Oct 2022 19:40:36 +0000 (12:40 -0700)] 
Common header file change not applicable to open-vm-tools.

3 years agoCommon header file change not applicable to open-vm-tools.
John Wolfe [Wed, 12 Oct 2022 19:40:36 +0000 (12:40 -0700)] 
Common header file change not applicable to open-vm-tools.

3 years agoUpdate ChangeLog with the granular push of Sep 21, 2022.
John Wolfe [Wed, 21 Sep 2022 18:18:00 +0000 (11:18 -0700)] 
Update ChangeLog with the granular push of Sep 21, 2022.
 - plus ChangeLog update of Sep 13, 2022.

3 years agoCommon header file change not applicable to open-vm-tools.
John Wolfe [Wed, 21 Sep 2022 17:53:28 +0000 (10:53 -0700)] 
Common header file change not applicable to open-vm-tools.

3 years agoAdd an example of a new deployPkg/wait-cloudinit-timeout setting to tools.conf.
John Wolfe [Wed, 21 Sep 2022 17:53:28 +0000 (10:53 -0700)] 
Add an example of a new deployPkg/wait-cloudinit-timeout setting to tools.conf.

3 years agoInclusive terminology - "suffer"
John Wolfe [Wed, 21 Sep 2022 17:53:28 +0000 (10:53 -0700)] 
Inclusive terminology - "suffer"

Update bora/public/backdoor_def.h to not use "suffer".

3 years agoChange to common header file not applicable to open-vm-tools.
John Wolfe [Wed, 21 Sep 2022 17:53:28 +0000 (10:53 -0700)] 
Change to common header file not applicable to open-vm-tools.

3 years agoChange to common header file not applicable to open-vm-tools.
John Wolfe [Wed, 21 Sep 2022 17:53:28 +0000 (10:53 -0700)] 
Change to common header file not applicable to open-vm-tools.

3 years agoChange to common header file not applicable to open-vm-tools.
John Wolfe [Wed, 21 Sep 2022 17:53:28 +0000 (10:53 -0700)] 
Change to common header file not applicable to open-vm-tools.

3 years agoCommon header file change not applicable to open-vm-tools.
John Wolfe [Wed, 21 Sep 2022 17:53:28 +0000 (10:53 -0700)] 
Common header file change not applicable to open-vm-tools.

3 years agoChange to common header file not applicable to open-vm-tools.
John Wolfe [Wed, 21 Sep 2022 17:53:28 +0000 (10:53 -0700)] 
Change to common header file not applicable to open-vm-tools.

3 years agoChange to common source file not applicable to open-vm-tools.
John Wolfe [Wed, 21 Sep 2022 17:53:28 +0000 (10:53 -0700)] 
Change to common source file not applicable to open-vm-tools.

3 years agoUpdate ChangeLog with the granular push of Sep 13, 2022.
John Wolfe [Tue, 13 Sep 2022 18:04:06 +0000 (11:04 -0700)] 
Update ChangeLog with the granular push of Sep 13, 2022.
 - plus ChangeLog update of Sep 8, 2022.

3 years agoAdd missed 2022 copyright.
John Wolfe [Tue, 13 Sep 2022 17:54:06 +0000 (10:54 -0700)] 
Add missed 2022 copyright.

3 years agoRecord the usage of open-vm-tools version 12.1.5.
John Wolfe [Tue, 13 Sep 2022 17:31:15 +0000 (10:31 -0700)] 
Record the usage of open-vm-tools version 12.1.5.

Update bora/public/vm_tools_version.h with an entry that associates
version 12.1.5 with the tag TOOLS_VERSION_MITER_SAW_UPDATE1.

3 years agoAdd a null undo function to the vmbackup null provider.
John Wolfe [Tue, 13 Sep 2022 17:31:15 +0000 (10:31 -0700)] 
Add a null undo function to the vmbackup null provider.

If a snapshot operation times out, vmbackup can attempt
to undo quiescing.  Since no quiescing is done for the null
backup provider, no undo function was provided.  If vmbackup
attempts to call the undo function, it dereferences a garbage
pointer resulting in a segfault.

Rather than add null backup provider specific checks to vmbackup,
this change adds a null undo function to provide vmbackup with a
valid function pointer it can call.  The new undo function updates
the vmbackup state machine state with a new currentOpName, but
has no other effect.  currentOpName is set to the calling
function name, e.g. __FUNCTION__.

3 years agoChange to common header file not applicable to open-vm-tools.
John Wolfe [Tue, 13 Sep 2022 17:31:15 +0000 (10:31 -0700)] 
Change to common header file not applicable to open-vm-tools.

3 years agoChanges to common source files not applicable to open-vm-tools.
John Wolfe [Tue, 13 Sep 2022 17:31:15 +0000 (10:31 -0700)] 
Changes to common source files not applicable to open-vm-tools.

3 years agoCommon header file change not applicable to open-vm-tools.
John Wolfe [Tue, 13 Sep 2022 17:31:15 +0000 (10:31 -0700)] 
Common header file change not applicable to open-vm-tools.

3 years agoCommon header file change not applicable to open-vm-tools.
John Wolfe [Tue, 13 Sep 2022 17:31:15 +0000 (10:31 -0700)] 
Common header file change not applicable to open-vm-tools.

3 years agoCommon header file change not applicable to open-vm-tools.
John Wolfe [Tue, 13 Sep 2022 17:31:15 +0000 (10:31 -0700)] 
Common header file change not applicable to open-vm-tools.

3 years ago[deployPkg] Increase the maximum timeout for cloud-init execution to complete.
John Wolfe [Tue, 13 Sep 2022 17:31:14 +0000 (10:31 -0700)] 
[deployPkg] Increase the maximum timeout for cloud-init execution to complete.

3 years agoRecord the use of VMware Tools version 10.3.26 in vm_tools_version.h
John Wolfe [Tue, 13 Sep 2022 17:31:14 +0000 (10:31 -0700)] 
Record the use of VMware Tools version 10.3.26 in vm_tools_version.h

Tracking the use of 10.3.26 for TOOLS_VERSION_JACKHAMMER_PATCH13.

3 years agoMake Linux perl based customization work with the cloud-init workflow.
John Wolfe [Tue, 13 Sep 2022 17:31:14 +0000 (10:31 -0700)] 
Make Linux perl based customization work with the cloud-init workflow.

To resolve issues seen where users want to set a vm's networking
and apply cloud-init userdata together before the vm is booted, the
deployPkg plugin has been modified to wait for cloud-init
execution to finish.  This allows cloud-init to finish execution
completely before the customization process triggers a reboot
of the guest.

This change is solely in the deployPkg plugin side, so a user can get
this change by upgrading their open-vm-tools in the guest/template.

3 years agoCommon header file change not applicable to open-vm-tools.
John Wolfe [Tue, 13 Sep 2022 17:31:14 +0000 (10:31 -0700)] 
Common header file change not applicable to open-vm-tools.

3 years agoCommon header file change not applicable to open-vm-tools.
John Wolfe [Tue, 13 Sep 2022 17:31:14 +0000 (10:31 -0700)] 
Common header file change not applicable to open-vm-tools.

3 years agoAddress Coverity issues.
John Wolfe [Tue, 13 Sep 2022 17:31:14 +0000 (10:31 -0700)] 
Address Coverity issues.

base64.c
- buffer overrun (out); false positive

hashTable.c
- expression always false; false positive

3 years agoUpdate ChangeLog with the granular push of Sep 8, 2022.
John Wolfe [Thu, 8 Sep 2022 21:57:36 +0000 (14:57 -0700)] 
Update ChangeLog with the granular push of Sep 8, 2022.
  - plus ChangeLog update of Aug 21, 2022.

3 years agoChange to common source file not applicable to open-vm-tools.
John Wolfe [Thu, 8 Sep 2022 21:51:40 +0000 (14:51 -0700)] 
Change to common source file not applicable to open-vm-tools.

3 years agoCommon header file change not applicable to open-vm-tools.
John Wolfe [Thu, 8 Sep 2022 21:51:40 +0000 (14:51 -0700)] 
Common header file change not applicable to open-vm-tools.