]> git.ipfire.org Git - thirdparty/open-vm-tools.git/log
thirdparty/open-vm-tools.git
2 years agoChange to common header file not applicable to open-vm-tools.
Katy Feng [Fri, 24 Mar 2023 20:29:28 +0000 (13:29 -0700)] 
Change to common header file not applicable to open-vm-tools.

2 years agoChange to common header file not applicable to open-vm-tools.
Katy Feng [Fri, 24 Mar 2023 20:29:28 +0000 (13:29 -0700)] 
Change to common header file not applicable to open-vm-tools.

2 years agoChange to common header file not applicable to open-vm-tools.
Katy Feng [Fri, 24 Mar 2023 20:29:28 +0000 (13:29 -0700)] 
Change to common header file not applicable to open-vm-tools.

2 years agoCorrect auto-merge error in vm_tools_version.h - stable-12.1.x to master.
John Wolfe [Wed, 8 Mar 2023 00:19:46 +0000 (16:19 -0800)] 
Correct auto-merge error in vm_tools_version.h - stable-12.1.x to master.

2 years agoMerge branch 'stable-12.2.x'
John Wolfe [Wed, 8 Mar 2023 00:00:52 +0000 (16:00 -0800)] 
Merge branch 'stable-12.2.x'

2 years ago ================================================= stable-12.2.0
John Wolfe [Tue, 7 Mar 2023 22:57:07 +0000 (14:57 -0800)] 
  =================================================
    open-vm-tools 12.2.0 released at this point.
  =================================================
Update of the ChangeLog with the final changes in preparation for
the open-vm-tools 12.2.0 release.

2 years agoUpdate the ReleaseNotes.md for the 12.2.0 open-vm-tools release.
John Wolfe [Tue, 7 Mar 2023 22:53:12 +0000 (14:53 -0800)] 
Update the ReleaseNotes.md for the 12.2.0 open-vm-tools release.

2 years agoPrepare for the open-vm-tools 12.2.0 release.
John Wolfe [Tue, 7 Mar 2023 16:33:18 +0000 (08:33 -0800)] 
Prepare for the open-vm-tools 12.2.0 release.
- Update the tools version in the configure.ac.   Update the build numbers
 buldNumber.h.

2 years agoUpdate Changelog with the granular push of Mar 6, 2023.
Katy Feng [Mon, 6 Mar 2023 18:42:40 +0000 (10:42 -0800)] 
Update Changelog with the granular push of Mar 6, 2023.
- plus ChangeLog update of Feb 23, 2023.

2 years agoAdd antrea and calico interface pattern to GUESTINFO_DEFAULT_IFACE_EXCLUDES.
Katy Feng [Mon, 6 Mar 2023 18:32:39 +0000 (10:32 -0800)] 
Add antrea and calico interface pattern to GUESTINFO_DEFAULT_IFACE_EXCLUDES.

Since k8s are more popular nowadays and their CNI also has IPs for pods,
we should also exclude the IP assigned by popular CNI.

Fixes issue: https://github.com/vmware/open-vm-tools/issues/638

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

2 years agoChange to common source files not applicable to open-vm-tools.
Katy Feng [Mon, 6 Mar 2023 18:32:39 +0000 (10:32 -0800)] 
Change to common source files not applicable to open-vm-tools.

2 years agoChange to common header file not applicable to open-vm-tools.
Katy Feng [Mon, 6 Mar 2023 18:32:39 +0000 (10:32 -0800)] 
Change to common header file not applicable to open-vm-tools.

2 years agoUpdate Changelog with the granular push of Feb 23, 2023.
Katy Feng [Thu, 23 Feb 2023 19:55:53 +0000 (11:55 -0800)] 
Update Changelog with the granular push of Feb 23, 2023.
- plus ChangeLog update of Feb 3, 2023.

2 years agoCorrect missed 2023 copyright update.
Katy Feng [Thu, 23 Feb 2023 19:52:12 +0000 (11:52 -0800)] 
Correct missed 2023 copyright update.

2 years agolib/file: Improve File_SetTimes
Katy Feng [Thu, 23 Feb 2023 19:27:13 +0000 (11:27 -0800)] 
lib/file: Improve File_SetTimes

There is a new system call for setting times that removes race conditions.
Use it when it is available.

2 years agoChange to common header file not applicable to open-vm-tools.
Katy Feng [Thu, 23 Feb 2023 19:27:13 +0000 (11:27 -0800)] 
Change to common header file not applicable to open-vm-tools.

2 years agoChange to common source file not applicable to open-vm-tools.
Katy Feng [Thu, 23 Feb 2023 19:27:13 +0000 (11:27 -0800)] 
Change to common source file not applicable to open-vm-tools.

2 years agoInclusive terminology - "sanity check"
Katy Feng [Thu, 23 Feb 2023 19:27:13 +0000 (11:27 -0800)] 
Inclusive terminology - "sanity check"
Address uses of the term "sanity check" in some files used by open-vm-tools.

2 years agoChange to common header file not applicable to open-vm-tools.
Katy Feng [Thu, 23 Feb 2023 19:27:13 +0000 (11:27 -0800)] 
Change to common header file not applicable to open-vm-tools.

2 years agoRemove SSL_NewContext() declaration from sslDirect.h
Katy Feng [Thu, 23 Feb 2023 19:27:13 +0000 (11:27 -0800)] 
Remove SSL_NewContext() declaration from sslDirect.h

2 years agoChange to common header file not applicable to open-vm-tools.
Katy Feng [Thu, 23 Feb 2023 19:27:13 +0000 (11:27 -0800)] 
Change to common header file not applicable to open-vm-tools.

2 years agoChange to common header file not applicable to open-vm-tools.
Katy Feng [Thu, 23 Feb 2023 19:27:13 +0000 (11:27 -0800)] 
Change to common header file not applicable to open-vm-tools.

2 years agoChange to common source file not applicable to open-vm-tools.
Katy Feng [Thu, 23 Feb 2023 19:27:13 +0000 (11:27 -0800)] 
Change to common source file not applicable to open-vm-tools.

2 years agoChange to common header file not applicable to open-vm-tools.
Katy Feng [Thu, 23 Feb 2023 19:27:13 +0000 (11:27 -0800)] 
Change to common header file not applicable to open-vm-tools.

2 years agoChange to common source file not applicable to open-vm-tools.
Katy Feng [Thu, 23 Feb 2023 19:27:13 +0000 (11:27 -0800)] 
Change to common source file not applicable to open-vm-tools.

3 years agoChangeLog update of Feb. 3, 2023.
Katy Feng [Fri, 3 Feb 2023 17:57:46 +0000 (09:57 -0800)] 
ChangeLog update of Feb. 3, 2023.

3 years agoChange to common header file not applicable to open-vm-tools.
Katy Feng [Fri, 3 Feb 2023 17:41:08 +0000 (09:41 -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, 3 Feb 2023 17:41:08 +0000 (09:41 -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, 3 Feb 2023 17:41:08 +0000 (09:41 -0800)] 
Change to common header file not applicable to open-vm-tools.

3 years agoChange to common source file not applicable to open-vm-tools.
Katy Feng [Fri, 3 Feb 2023 17:41:08 +0000 (09:41 -0800)] 
Change to common source file not applicable to open-vm-tools.

3 years agoChange to common header file not applicable to open-vm-tools.
Katy Feng [Fri, 3 Feb 2023 17:41:08 +0000 (09:41 -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, 3 Feb 2023 17:41:08 +0000 (09:41 -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, 3 Feb 2023 17:41:08 +0000 (09:41 -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, 3 Feb 2023 17:41:08 +0000 (09:41 -0800)] 
Change to common header file not applicable to open-vm-tools.

3 years agoInclusive terminology - "sanity check"
Katy Feng [Fri, 3 Feb 2023 17:41:08 +0000 (09:41 -0800)] 
Inclusive terminology - "sanity check"

"sanity check" clean-up:

- Rename functions:
 - ./scripts/linux/network -> Renamed "sanity_check" to "confidence_check".
 - ./vgauth/lib/proto.c -> Renamed "Proto_SanityCheckReply" to
                                     "Proto_ConfidenceCheckReply".

- Replace "sanity check" with "confidence check" in comments.

3 years agoBump the VMware Tools version to 12.3.0 in the "devel" branch.
Katy Feng [Fri, 3 Feb 2023 17:41:08 +0000 (09:41 -0800)] 
Bump the VMware Tools version to 12.3.0 in the "devel" branch.

Setting the development VMware Tools version to 12.3.0.
Adding the tag "BANDSAW" to the 12.2.0 version.

3 years agoChange to common header file not applicable to open-vm-tools.
Katy Feng [Fri, 3 Feb 2023 17:41:08 +0000 (09:41 -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, 3 Feb 2023 17:41:08 +0000 (09:41 -0800)] 
Change to common header file not applicable to open-vm-tools.

3 years agoChanges to common header files not applicable to open-vm-tools.
Katy Feng [Fri, 3 Feb 2023 17:41:08 +0000 (09:41 -0800)] 
Changes to common header files not applicable to open-vm-tools.

3 years agoChangeLog update of Jan. 17, 2023.
Katy Feng [Wed, 18 Jan 2023 03:32:04 +0000 (19:32 -0800)] 
ChangeLog update of Jan. 17, 2023.

3 years ago====================================================================
Katy Feng [Wed, 18 Jan 2023 03:22:16 +0000 (19:22 -0800)] 
====================================================================
The "stable-12.2.x" branch was created from the "devel" branch here.
====================================================================

Update ChangeLog with the granular push of Jan. 17, 2023.
- plus ChangeLog update of Dec 31, 2022.

3 years agoCorrect missed 2023 copyright update.
Katy Feng [Wed, 18 Jan 2023 03:15:28 +0000 (19:15 -0800)] 
Correct missed 2023 copyright update.

3 years agoTrack Linux filesystem id (FSID) for quiesced (frozen) filesystems
Katy Feng [Wed, 18 Jan 2023 03:08:33 +0000 (19:08 -0800)] 
Track Linux filesystem id (FSID) for quiesced (frozen) filesystems

Tracking the filesystem FSID along with each file descriptor (FD)
as the ioctl FIFREEZE is done.  An EBUSY could be seen because of
an attempt to freeze the same superblock more than once depending
on the OS configuration (e.g. usage of bind mounts).  An EBUSY could
also mean another process has locked or frozen that filesystem.

When an EBUSY is received, the filesyste FSID is checked against the
list of filesystems that have already be quiesced.  If not previously
seen, a warning that the filesystem is controlled by another process
is logged and the quiesced snapshot request will be rejected.

3 years agoSalt-Minion 1.4 copyright and license updates.
Katy Feng [Wed, 18 Jan 2023 03:08:33 +0000 (19:08 -0800)] 
Salt-Minion 1.4 copyright and license updates.

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 agobackdoor_def.h: Update the Arm specific comment to be arm64 only.
Katy Feng [Wed, 18 Jan 2023 03:08:33 +0000 (19:08 -0800)] 
backdoor_def.h: Update the Arm specific comment to be arm64 only.

3 years agoFreeBSD: Support newer releases and code clean-up for earlier versions.
Katy Feng [Wed, 18 Jan 2023 03:08:33 +0000 (19:08 -0800)] 
FreeBSD: Support newer releases and code clean-up for earlier versions.

Changes to allow open-vm-tools and drivers to be compiled for newer
FreeBSD releases and clean-up/remove code for earlier FreeBSD
releases that are no longer supported by the FreeBSD Foundation.
- remove old FreeBSD version support.
- trap SIGBUS while VmCheckSafe().
- fix build on recent versions.
- fix build after 1400043
- fix build after 1400051.
- replace deprecated NO_MAN by MK_MAN=no.

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

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 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.