[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Debian Testing VMWare-Tools Bad Variable Name



Hi,

> Starting VMware Tools services in the virtual machine:
>    Switching to guest configuration: done
> 
> /etc/init.d/vmware-tools: 1090: local: ': bad variable name
> /etc/init.d/vmware-tools: 1090: local: ': bad variable name
> 
>    Blocking file system:failed
> 
> /etc/init.d/vmware-tools: 1187: local: ': bad variable name
> 
>    Guest operating system daemon: done
> 
> Unable to start services for VMware Tools

The problem lies in the output of uname -r:

root@wheezy:~# uname -r                                                                                                                                                            
3.2.0-4-686-pae

root@jessie:~# uname -r
3.11-2-686-pae

get_version_integer expects a version like "v1 dot v2 dot v3" from "uname -r".

So a quick'n'dirty fix for the current jessie kernel 3.11.8-1 is:

root@jessie:/etc/init.d# diff vmware-tools.orig vmware-tools
846c846,847
<   version_uts=`uname -r`
---
>   #version_uts=`uname -r`
>   version_uts="3.11.8-1-686-pae"

But the new kernel version format also causes problems in vmware-config-
tools.pl so currently i am unable to compile the vm* kernel modules.

See also https://communities.vmware.com/message/2263010#2263010

Regards,   Helmar.


Reply to: