Skip site navigation (1)Skip section navigation (2)
Date:      Tue,  4 Jan 2005 22:13:41 +0900 (JST)
From:      KIMURA Yasuhiro <yasu@utahime.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/75792: emulators/vmware3 : "[: -eq: unexpected operator" when startup script is invoked
Message-ID:  <20050104131341.86BB3B832@sugar.home.utahime.org>
Resent-Message-ID: <200501041320.j04DKO94032294@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         75792
>Category:       ports
>Synopsis:       emulators/vmware3 : "[: -eq: unexpected operator" when startup script is invoked
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Jan 04 13:20:24 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     KIMURA Yasuhiro
>Release:        FreeBSD 5.3-RELEASE-p2 i386
>Organization:
>Environment:
System: FreeBSD sugar.home.utahime.org 5.3-RELEASE-p2 FreeBSD 5.3-RELEASE-p2 #0: Thu Dec 2 11:44:06 JST 2004 root@sugar.home.utahime.org:/usr/obj/am/eastasia/usr1/cvsup/releng_5_3/src/sys/SUGAR i386


	
>Description:
	After I reinstalled this port, following error happens when
	startup script is invocked:

	sugar# /usr/local/etc/rc.d/001.vmware.sh start
	[: -eq: unexpected operator
	 VMwaresugar# 
	sugar# /usr/local/etc/rc.d/001.vmware.sh stop
	[: -eq: unexpected operator
	sugar# 

	I checked installed startup script and found that variable
	"networking" is set to NULL (or reset) on line 26:

	sugar# grep -n '^networking' /usr/local/etc/rc.d/001.vmware.sh
	26:networking=

	Comparing with its prototype (emulators/vmware3/files/001.vmware.sh),
	something seems to be wrong with startup script generation
	at install stage.

	
>How-To-Repeat:
	Install emulators/vmware3 and invoke startup script.

	
>Fix:

	


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050104131341.86BB3B832>