<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>136544</bug_id>
          
          <creation_ts>2006-06-12 07:58 0000</creation_ts>
          <short_desc>vmware-workstation-tools 5.5.1 - configuration script fails</short_desc>
          <delta_ts>2006-06-13 15:07:34 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>Ebuilds</component>
          <version>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>gentoo@msux.cjb.net</reporter>
          <assigned_to>vmware@gentoo.org</assigned_to>
          

      

      
          <long_desc isprivate="0">
            <who>gentoo@msux.cjb.net</who>
            <bug_when>2006-06-12 07:58:59 0000</bug_when>
            <thetext>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:
After we created a directory to solve manually the issue reported in the bug#136540, the vmware configuration script asks the user for a preferred resolution, the user specifies one, the scripts makes a &quot;preview&quot;, works for a few seconds, and exits with this error message:

          Using 2.6.x kernel build system.
          /tmp/vmware-config8/vmhgfs-only/driver.c:3975: warning: initialization 
          from incompatible pointer type

          X Window System Version 6.8.2
          Release Date: 9 February 2005
          X Protocol Version 11, Revision 0, Release 6.8.2
          Build Operating System: Linux 2.6.16-gentoo-r7 x86_64 [ELF] 
          Current Operating System: Linux va64 2.6.16-gentoo-r7 #1 Thu May 25 
          13:25:29 
          CEST 2006 x86_64
          Build Date: 26 May 2006
	          Before reporting problems, check http://wiki.X.Org
	          to make sure that you have the latest version.
          Module Loader present
          Markers: (--) probed, (**) from config file, (==) default setting,
	          (++) from command line, (!!) notice, (II) informational,
	          (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
          (++) Log file: &quot;/tmp/vmware-config8/XF86ConfigLog.11975&quot;, Time: Mon 
          Jun 12 15:56:20 2006
          (++) Using config file: &quot;/tmp/vmware-config8/XF86Config.11975&quot;
          (WW) VMWARE(0): Failed to set up write-combining range 
          (0xf0000000,0x1000000)
          Unable to start services for VMware Tools

          X is running fine with the new config file.

          VMware Tools is installed, but it has not been
          (correctly) configured for the running kernel.
          To (re-)configure it, invoke the following command:
          /opt/vmware/tools/bin/vmware-config-tools.pl.

          Unable to start services for VMware Tools

          Execution aborted.



The installation is cancelled and the configuration file is not written inside /etc/conf.d (that is to say, &quot;/etc/conf.d/vmware-tools&quot; does not exist). 

Inside /etc/init.d there is an initialization script, but it does not work (if we execute &quot;/etc/init.d/vmware-tools start&quot; it says &quot;vmware init scripts not found. Aborting&quot;). 

However, if we start vmware, the services provided by vmware-tools are working (we can use all resolutions, and so on; however, copying outside the virtual machine and pasting inside the virtual machine... works ocasionally).

COMMENTS:
If we directly use the vmware-config-tools.pl from the tar (without using the ebuild), the scripts works correctly; so there must be little errors inside the ebuild.

Our virtual machine is available to perform the tests and tryings you may need, do not hesitate contacting us.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>wolf31o2@gentoo.org</who>
            <bug_when>2006-06-12 13:48:39 0000</bug_when>
            <thetext>What if you rm /etc/vmware-tools/not_configured, then run the configuration script?</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>gentoo@msux.cjb.net</who>
            <bug_when>2006-06-13 01:44:26 0000</bug_when>
            <thetext>Dear Chris

We have deleted /etc/vmware-tools/not_configured and re-run the configuration
script and:
- The script says VMware-Tools are configurated correctly, and that we have to restart the X-Server to apply changes correctly.
- Executing &quot;/etc/init.d/vmware-tools start&quot; shows the same error as before.

However, we have seen that the script &quot;/etc/init.d/vmware-tools&quot; looks for &quot;/etc/vmware-tools/init.d/vmware&quot;, so we executed
    cd /etc/vmware-tools/init.d/
    ln -s vmware-tools vmware
And &quot;/etc/init.d/vmware-tools start&quot; starts the &quot;VMware Tools services&quot; showing no errors.

Thanks for all!</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>wolf31o2@gentoo.org</who>
            <bug_when>2006-06-13 15:07:34 0000</bug_when>
            <thetext>Thanks for investigating this and finding the solution for me.  I&apos;ve now updated the init script to look for the correct files.  Sorry about the trouble.</thetext>
          </long_desc>
      
    </bug>

</bugzilla>