From nobody@FreeBSD.org  Tue Apr 14 01:54:00 2009
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id E60DD106564A
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 14 Apr 2009 01:54:00 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21])
	by mx1.freebsd.org (Postfix) with ESMTP id D338C8FC14
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 14 Apr 2009 01:54:00 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.14.3/8.14.3) with ESMTP id n3E1s0Bb082959
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 14 Apr 2009 01:54:00 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.14.3/8.14.3/Submit) id n3E1s0FL082958;
	Tue, 14 Apr 2009 01:54:00 GMT
	(envelope-from nobody)
Message-Id: <200904140154.n3E1s0FL082958@www.freebsd.org>
Date: Tue, 14 Apr 2009 01:54:00 GMT
From: Tatsumi Hosokawa <hosokawa@itc.keio.ac.jp>
To: freebsd-gnats-submit@FreeBSD.org
Subject: vmware-guestd of emulators/open-vm-tools* 154848_1 hangs on shutdown request by VMware Infrastructure Client
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         133717
>Category:       ports
>Synopsis:       vmware-guestd of emulators/open-vm-tools* 154848_1 hangs on shutdown request by VMware Infrastructure Client
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    mbr
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Apr 14 02:00:06 UTC 2009
>Closed-Date:    Thu Apr 23 09:38:30 UTC 2009
>Last-Modified:  Thu Apr 23 09:38:30 UTC 2009
>Originator:     Tatsumi Hosokawa
>Release:        FreeBSD 7.2-BETA1 i386
>Organization:
Keio University
>Environment:
FreeBSD hosokawa0 7.2-BETA1 FreeBSD 7.2-BETA1 #0: Tue Mar 31 21:01:09 UTC 2009     root@logan.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  i386

>Description:
I'm testing FreeBSD 7.2-BETA1 on VMware ESX server 3.5 and I found that vmware-guestd of emulators/open-vm-tools* hangs up when I selected guest-OS shutdown menu from VMware Infrastructure client.  FreeBSD guest VM can't be shutted down from VMware Infrastructre client because of this problem.
>How-To-Repeat:
Select Guest-OS shutdown from VMware Infrastructure Client.
>Fix:
I found that vmware-guestd stops at Util_IsAbsolutePath (in lib/misc/util_misc.c).  

Please put this patchfile in emulators/open-vm-tools/files.

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->mbr 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Tue Apr 14 02:18:53 UTC 2009 
Responsible-Changed-Why:  
Over to maintainer (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=133717 

From: =?ISO-2022-JP?B?GyRCOllAbkMjOEobKEI=?= <hosokawa@itc.keio.ac.jp>
To: bug-followup@FreeBSD.org, hosokawa@itc.keio.ac.jp
Cc:  
Subject: Re: ports/133717: vmware-guestd of emulators/open-vm-tools* 154848_1
 hangs on shutdown request by VMware Infrastructure Client
Date: Tue, 14 Apr 2009 14:20:05 +0900

 Oops, this is the patch.
 
 hosokawa
 
 --- lib/misc/util_misc.c.orig   2009-03-18 16:02:13.000000000 +0900
 +++ lib/misc/util_misc.c        2009-04-13 10:36:14.000000000 +0900
 @@ -316,7 +316,7 @@
  Bool
  Util_IsAbsolutePath(const char *path)  // IN: path to check
  {
 -#if defined(__linux__) || defined(__APPLE__)
 +#if defined(__linux__) || defined(__APPLE__) || defined(__FreeBSD__)
     // path[0] is valid even for the empty string.
     return path && path[0] == DIRSEPC;
  #elif defined(_WIN32)

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/133717: commit references a PR
Date: Tue, 14 Apr 2009 08:09:10 +0000 (UTC)

 mbr         2009-04-14 07:32:46 UTC
 
   FreeBSD ports repository
 
   Modified files:
     emulators/open-vm-tools Makefile 
   Added files:
     emulators/open-vm-tools/files patch-util_misc.c 
   Log:
   Fix shutdown problems with ESX 3.5
   
   PR:             ports/133717
   Approved by:    portsmgr
   Submitted by:   Tatsumi Hosokawa <hosokawa@itc.keio.ac.jp>
   
   Revision  Changes    Path
   1.29      +1 -1      ports/emulators/open-vm-tools/Makefile
   1.1       +20 -0     ports/emulators/open-vm-tools/files/patch-util_misc.c (new)
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
State-Changed-From-To: open->closed 
State-Changed-By: pav 
State-Changed-When: Thu Apr 23 09:38:10 UTC 2009 
State-Changed-Why:  
Committed by mbr, just forgot to close the PR I assume. So closing 

http://www.freebsd.org/cgi/query-pr.cgi?pr=133717 
>Unformatted:
