Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 136681 - vmware-workstation-tools 5.5.1 - virtual machine does not suspend
Summary: vmware-workstation-tools 5.5.1 - virtual machine does not suspend
Status: VERIFIED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Other
: High normal
Assignee: Gentoo VMWare Bug Squashers [disabled]
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-06-13 10:08 UTC by gentoo
Modified: 2007-11-20 19:42 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
In case it may be of help, I attach file var_tmp_portage_vmware-workstation-tools-5.5.1-r2_temp_eclass-debug (_var_tmp_portage_vmware-workstation-tools-5.5.1-r2_temp_eclass-debug.log,4.42 KB, text/plain)
2006-09-22 01:55 UTC, gentoo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description gentoo 2006-06-13 10:08:25 UTC
EBUILD USED:
vmware-workstation-tools 5.5.1

VMWARE TOOLS TAR USED:
VMwareTools-5.5.1-19175.tar.gz

KERNEL VERSION:
Linux 2.6.15-gentoo-r5

VIRTUAL KERNEL VERSION:
Linux 2.6.16-gentoo-r7 

PLATFORM:
Amd64

BUG:
When trying to suspend the virtual machine, vmware shows an error in a window and cancels the operation, it says: 
      "The request to suspend this virtual machine failed because the 
      corresponding VMware Tools script did not run successfully. If you have 
      configured a custom suspend script in this virtual machine, please inspect 
      it for errors; otherwise, please submit a support request.

      The script can be deactivated on the Power page of the virtual machine 
      settings by unchecking "Before suspending" in the Run VMware Tools Scripts 
      section."

In the log /var/log/vmware-tools-guestd of the virtual machine appears this message:
      Executing '/etc/vmware-tools/suspend-vm-default'

      initdir not found


COMMENTS:
If we directly use the vmware-config-tools.pl from the tar (without using the
ebuild), the virtual machine can be suspended and resumed correctly; so there must be little errors inside the ebuild.
Comment 1 Chris Gianelloni (RETIRED) gentoo-dev 2006-09-15 15:50:06 UTC
I just wonder if this has been fixed now in the vmware overlay?

Can you get the ebuilds from the vmware overlay listed on overlays.gentoo.org?  You can also get it via layman.  I want to know if it has been fixed there before I move them to the tree.  If not, then I'll go ahead and move the ebuilds to the tree and try making a new ebuild in the overlay for this bug.
Comment 2 gentoo 2006-09-21 03:29:03 UTC
We got the ebuilds from the vmware overlay listed on overlays.gentoo.org, but finally it fails emerging. 

Translations of messages:
- The message "No existe el fichero o el directorio
cp: no se puede efectuar `stat' sobre 
Comment 3 gentoo 2006-09-21 03:29:03 UTC
We got the ebuilds from the vmware overlay listed on overlays.gentoo.org, but finally it fails emerging. 

Translations of messages:
- The message "No existe el fichero o el directorio
cp: no se puede efectuar `stat' sobre «installer/services.sh»: No existe el fichero o el directorio" can be translated to "The file or directory does not exist. cp: you cannot do `stat' over «installer/services.sh»: The file or directory does not exist"

The result of trying to emerge is:
--------------------------------------------
# emerge vmware-workstation-tools
Calculating dependencies... done!
>>> Emerging (1 of 1) app-emulation/vmware-workstation-tools-5.5.1-r2 to /
>>> checking ebuild checksums ;-)
>>> checking auxfile checksums ;-)
>>> checking miscfile checksums ;-)
 * You will need VMwareTools-5.5.1-19175.tar.gz from the VMware installation.
 * Select VM->Install VMware Tools from VMware's menu.
 * Found CD #1 root at /root
>>> Unpacking source...
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/vmware-workstation-tools-5.5.1-r2 ...
>>> Source compiled.
>>> Test phase [not enabled]: app-emulation/vmware-workstation-tools-5.5.1-r2

>>> Install vmware-workstation-tools-5.5.1-r2 into /var/tmp/portage/vmware-workstation-tools-5.5.1-r2/image/ category app-emulation
/usr/portage/local/layman/vmware/eclass/vmware.eclass: line 190: cd: /var/tmp/portage/vmware-workstation-tools-5.5.1-r2/work/vmware-tools-distrib: No existe el fichero o el directorio
cp: no se puede efectuar `stat' sobre «installer/services.sh»: No existe el fichero o el directorio

!!! ERROR: app-emulation/vmware-workstation-tools-5.5.1-r2 failed.
Call stack:
  ebuild.sh, line 1539:   Called dyn_install
  ebuild.sh, line 1013:   Called src_install
  vmware-workstation-tools-5.5.1-r2.ebuild, line 30:   Called vmware_src_install
  vmware.eclass, line 272:   Called die

!!! services.sh
!!! If you need support, post the topmost build error, and the call stack if relevant.

!!! This ebuild is from an overlay: '/usr/portage/local/layman/vmware'

Comment 4 Chris Gianelloni (RETIRED) gentoo-dev 2006-09-21 09:21:40 UTC
/usr/portage/local/layman/vmware/eclass/vmware.eclass: line 190: cd:
/var/tmp/portage/vmware-workstation-tools-5.5.1-r2/work/vmware-tools-distrib:
No existe el fichero o el directorio

That looks like the root cause of the problem.  What is the contents of /var/tmp/portage/vmware-workstation-tools-5.5.1-r2/work ?
Comment 5 gentoo 2006-09-22 01:53:31 UTC
The /var/tmp/portage/vmware-workstation-tools-5.5.1-r2/work  is empty.
Comment 6 gentoo 2006-09-22 01:55:44 UTC
Created attachment 97728 [details]
In case it may be of help, I attach file var_tmp_portage_vmware-workstation-tools-5.5.1-r2_temp_eclass-debug
Comment 7 gentoo 2006-09-22 01:59:27 UTC
In today's tryings we also had problems installing the ebuild from the vmware overlay, since the emerge program always said there was a checksum error. It seems that the "manifest" file inside is wrong?
Comment 8 Chris Gianelloni (RETIRED) gentoo-dev 2006-09-22 08:51:42 UTC
Oops... fixed that now.

I also fixed that it appears nothing was being unpacked.  This should hopefulyl work now.  By the way, I want to thank you for taking the time to troubleshoot this with me.
Comment 9 gentoo 2006-09-25 02:30:22 UTC
We've tried it again, and again the "work" folder remains empty, showing the same error (the checksum error seems to be solved, since that error is not shown). 

We have noticed now that the "group" of the "work" folder is "root". More explicitly: all the folders of the same level of "work" have user=root and group=portage; however, work has user=root and group=root.

We have also tried to uncompress manually the tar.gz in the "work" folder, but the installer deletes its content.
Comment 10 Mike Auty (RETIRED) gentoo-dev 2007-09-19 16:40:09 UTC
Hiya guys, could you please give the open-vm-tools a try from the vmware overlay?  Hopefully they're like a universal vmware-workstation/server/player-tools, and might fix your problem.  If you could provide some feedback to this bug to let us know whether it works or not now, that'd be extremely helpful, thanks!  5:)
Comment 11 gentoo 2007-11-20 19:42:47 UTC
At last we've been able to test it with the overlay and now it seems solved.   Thanks to all Gentoo developers!