[Bug 748517] New: Removing open-vm-tools package doesn't inform VMX that Tools were uninstalled
https://bugzilla.novell.com/show_bug.cgi?id=748517 https://bugzilla.novell.com/show_bug.cgi?id=748517#c0 Summary: Removing open-vm-tools package doesn't inform VMX that Tools were uninstalled Classification: openSUSE Product: openSUSE 12.1 Version: Final Platform: VMWare OS/Version: openSUSE 12.1 Status: NEW Severity: Major Priority: P5 - None Component: Other AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: rbeasley@vmware.com QAContact: qa@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/535.11 (KHTML, like Gecko) Chrome/17.0.963.56 Safari/535.11 The VMware Tools supplied with VMware vSphere, Workstation, and Fusion include their own uninstallation script (vmware-uninstall-tools.pl). During uninstallation, this script fires off a RPC to the VMX (virtual machine container) to let it know that the Tools have been uninstalled. Packagers of the Open VM Tools ought to do the same thing in their uninstallation scripts, but the openSUSE packages do not. As a result, even after removing the Open VM Tools (e.g. zypper remove open-vm-tools), the VMware platform still believes that the Tools are installed, and UIs display inaccurate menu options. Reproducible: Always Steps to Reproduce: 1. Procure an openSUSE 12.1 VM with the open-vm-tools package installed. 2. Uninstall the open-vm-tools package. Actual Results: Under Workstation, for example, the VM menu will contain an item "Reinstall VMware Tools". Additionally, any mentions of the Tools version in the VM's VMX log (look for "vmware.log" in the same directory as the VM) will refer only to a Tools version of 2147483647 (signifying that the Tools were installed along w/ the OS and are unmanaged by the VMware platform). Expected Results: Reusing Workstation as an example, the menu item should be "Install VMware Tools". Additionally, there should eventually be an entry in vmware.log noting that the Tools version is reset to 0. Insert the following line at the end of the preuninstall script to signal to the VMX that we're uninstalling the open-vm-tools package: vmware-rpctool "tools.set.version 0" -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=748517
https://bugzilla.novell.com/show_bug.cgi?id=748517#c
kk zhang
https://bugzilla.novell.com/show_bug.cgi?id=748517
https://bugzilla.novell.com/show_bug.cgi?id=748517#c1
Dirk Mueller
https://bugzilla.novell.com/show_bug.cgi?id=748517
https://bugzilla.novell.com/show_bug.cgi?id=748517#c2
Pavol Rusnak
https://bugzilla.novell.com/show_bug.cgi?id=748517
https://bugzilla.novell.com/show_bug.cgi?id=748517#c3
--- Comment #3 from Ryan Beasley
Ryan: what do you think we should use for XYZ? 8.8.1 or SVN revision (like 528969) ?
Pavol: You won't need to change the %post section, because vmtoolsd will send the appropriate version upon startup. (See services/vmtoolsd/toolsRpc.c:ToolsCoreRpcCapReg.) Just as a FYI, the Open VM Tools packages should _always_ identify as TOOLS_VERSION_UNMANAGED / 2147483647. That informs the VM platform that Tools will be managed, upgraded, etc. by the distro. If you have any more questions, don't hesitate to ask. :) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=748517
https://bugzilla.novell.com/show_bug.cgi?id=748517#c4
--- Comment #4 from Dominique Leuenberger
I suggest adding
vmware-rpctool "tools.set.version 0"
to %preun
Sounds good to me... PAvol: will you or shall I add this in Virtualization:VMware? And does this call for a maintenance update? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=748517
https://bugzilla.novell.com/show_bug.cgi?id=748517#c5
--- Comment #5 from Bernhard Wiedemann
https://bugzilla.novell.com/show_bug.cgi?id=748517
https://bugzilla.novell.com/show_bug.cgi?id=748517#c6
Pavol Rusnak
https://bugzilla.novell.com/show_bug.cgi?id=748517
https://bugzilla.novell.com/show_bug.cgi?id=748517#c7
--- Comment #7 from Swamp Workflow Management
https://bugzilla.novell.com/show_bug.cgi?id=748517
https://bugzilla.novell.com/show_bug.cgi?id=748517#c8
Ryan Beasley
participants (1)
-
bugzilla_noreply@novell.com