Added hgfsPlugin-crash.patch for vmtoolsd crash (RHBZ#1612470).
This commit is contained in:
parent
c16e623315
commit
9afb1e9b50
17
hgfsPlugin-crash.patch
Normal file
17
hgfsPlugin-crash.patch
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
diff -ru open-vm-tools-10.3.0-8931395.orig/services/plugins/hgfsServer/hgfsPlugin.c open-vm-tools-10.3.0-8931395/services/plugins/hgfsServer/hgfsPlugin.c
|
||||||
|
--- open-vm-tools-10.3.0-8931395.orig/services/plugins/hgfsServer/hgfsPlugin.c 2018-06-23 03:03:48.000000000 -0700
|
||||||
|
+++ open-vm-tools-10.3.0-8931395/services/plugins/hgfsServer/hgfsPlugin.c 2018-08-06 11:50:03.917850541 -0700
|
||||||
|
@@ -1090,6 +1090,13 @@
|
||||||
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
+ * If not running in a VMware VM, return NULL to disable the plugin.
|
||||||
|
+ */
|
||||||
|
+ if (!ctx->isVMware) {
|
||||||
|
+ return NULL;
|
||||||
|
+ }
|
||||||
|
+
|
||||||
|
+ /*
|
||||||
|
* Check for VM is running in a hosted environment and if so initialize
|
||||||
|
* the Shared Folders HGFS client redirector.
|
||||||
|
*/
|
@ -28,7 +28,7 @@
|
|||||||
|
|
||||||
Name: open-vm-tools
|
Name: open-vm-tools
|
||||||
Version: %{toolsversion}
|
Version: %{toolsversion}
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
Summary: Open Virtual Machine Tools for virtual machines hosted on VMware
|
Summary: Open Virtual Machine Tools for virtual machines hosted on VMware
|
||||||
Group: Applications/System
|
Group: Applications/System
|
||||||
License: GPLv2
|
License: GPLv2
|
||||||
@ -43,6 +43,7 @@ ExclusiveArch: %{ix86} x86_64
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
Patch1: cloud-init.patch
|
Patch1: cloud-init.patch
|
||||||
|
Patch2: hgfsPlugin-crash.patch
|
||||||
|
|
||||||
BuildRequires: autoconf
|
BuildRequires: autoconf
|
||||||
BuildRequires: automake
|
BuildRequires: automake
|
||||||
@ -149,6 +150,7 @@ machines.
|
|||||||
%prep
|
%prep
|
||||||
%setup -q -n %{name}-%{version}-%{toolsbuild}
|
%setup -q -n %{name}-%{version}-%{toolsbuild}
|
||||||
%patch1 -p2
|
%patch1 -p2
|
||||||
|
%patch2 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
# Required for regenerating configure script when
|
# Required for regenerating configure script when
|
||||||
@ -326,6 +328,9 @@ fi
|
|||||||
%{_bindir}/vmware-vgauth-smoketest
|
%{_bindir}/vmware-vgauth-smoketest
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Aug 06 2018 Ravindra Kumar <ravindrakumar@vmware.com> - 10.3.0-2
|
||||||
|
- Added hgfsPlugin-crash.patch for vmtoolsd crash (RHBZ#1612470).
|
||||||
|
|
||||||
* Thu Aug 02 2018 Ravindra Kumar <ravindrakumar@vmware.com> - 10.3.0-1
|
* Thu Aug 02 2018 Ravindra Kumar <ravindrakumar@vmware.com> - 10.3.0-1
|
||||||
- Package new upstream version open-vm-tools-10.3.0-8931395.
|
- Package new upstream version open-vm-tools-10.3.0-8931395.
|
||||||
- Updated cloud-init.patch for 10.3.0.
|
- Updated cloud-init.patch for 10.3.0.
|
||||||
|
Loading…
Reference in New Issue
Block a user