diff --git a/diskinfo-log-spew.patch b/diskinfo-log-spew.patch new file mode 100644 index 0000000..129b012 --- /dev/null +++ b/diskinfo-log-spew.patch @@ -0,0 +1,17 @@ +diff --git a/open-vm-tools/services/plugins/guestInfo/diskInfo.c b/open-vm-tools/services/plugins/guestInfo/diskInfo.c +index 878276ce7..032c09285 100644 +--- a/open-vm-tools/services/plugins/guestInfo/diskInfo.c ++++ b/open-vm-tools/services/plugins/guestInfo/diskInfo.c +@@ -846,9 +846,9 @@ GuestInfoGetDiskDevice(const char *fsName, + */ + for (indx = 0; indx < partEntry->diskDevCnt; indx++) { + if (partEntry->diskDevNames[indx][0] == '\0') { +- g_warning("%s: Missing disk device name; VMDK mapping unavailable " +- "for \"%s\", fsName: \"%s\"\n", __FUNCTION__, +- partEntry->name, fsName); ++ g_debug("%s: Missing disk device name; VMDK mapping unavailable " ++ "for \"%s\", fsName: \"%s\"\n", __FUNCTION__, ++ partEntry->name, fsName); + partEntry->diskDevCnt = 0; + free(partEntry->diskDevNames); + partEntry->diskDevNames = NULL; diff --git a/open-vm-tools.spec b/open-vm-tools.spec index 5b1d495..bdcef1b 100644 --- a/open-vm-tools.spec +++ b/open-vm-tools.spec @@ -28,7 +28,7 @@ Name: open-vm-tools Version: %{toolsversion} -Release: 1%{?dist} +Release: 2%{?dist} Summary: Open Virtual Machine Tools for virtual machines hosted on VMware License: GPLv2 URL: https://github.com/vmware/%{name} @@ -48,6 +48,8 @@ ExclusiveArch: %{ix86} x86_64 # Reference https://github.com/vmware/open-vm-tools/commit/89c0d444567eb525e8d083fb564c46d68e96660c Patch1: gcc9-static-inline.patch Patch2: gcc10-warning.patch +# Reference https://github.com/vmware/open-vm-tools/commit/4ee0bd3c8ead89541ab7d196fb54e940e397420d +Patch3: diskinfo-log-spew.patch BuildRequires: autoconf BuildRequires: automake @@ -342,6 +344,9 @@ fi %{_bindir}/vmware-vgauth-smoketest %changelog +* Fri Feb 07 2020 Ravindra Kumar - 11.0.5-2 +- Added patch diskinfo-log-spew.patch. + * Tue Feb 04 2020 Ravindra Kumar - 11.0.5-1 - Package new upstream version open-vm-tools-11.0.5-15389592. - Removed vix-memleak.patch which is no longer needed.