Bug 990547

Summary: mount.vmhgfs should not be packaged
Product: [Fedora] Fedora Reporter: Richard W.M. Jones <rjones>
Component: open-vm-toolsAssignee: Ravindra Kumar <ravindrakumar>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: dtor, jsavanyo, negativo17, ravindrakumar, rjones, vmware-gos-qa, znmeb
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: open-vm-tools-9.2.3-6.el6 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-08-18 21:32:10 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 983271    

Description Richard W.M. Jones 2013-07-31 12:42:26 UTC
Description of problem:

open-vm-tools contains /usr/sbin/mount.vmhgfs.  However it's
my understanding that without the kernel module, this tool
cannot do anything.  We should remove it from the open-vm-tools
package until such a time as we have kernel support.

Version-Release number of selected component (if applicable):

open-vm-tools-9.2.3-8.fc20

How reproducible:

100%

Steps to Reproduce:

$ rpm -qlp x86_64/open-vm-tools-9.2.3-8.fc20.x86_64.rpm | grep mount
/usr/sbin/mount.vmhgfs

Additional information:

Just adding this to %install should work:

rm $RPM_BUILD_ROOT%{_sbindir}/mount.vmhgfs

which I would do myself except I want to be sure that this
binary has no use.

Comment 1 Ravindra Kumar 2013-08-01 22:51:12 UTC
I had kept intentionally to make "Shared Folders" work by adding just the kernel driver. However, I will look into removing it if you insist.

Comment 2 M. Edward (Ed) Borasky 2013-08-02 04:28:27 UTC
I just started testing Fedora 19 (Design Suite) as a VMware Player guest. As far as I can tell, Shared Folders does *not* work. My desired behavior is that it does work. I haven't tried erasing open-vm-tools and installing VMware Tools via the host, and quite frankly, I don't want to do that - I want open-vm-tools to work including shared folders.

Comment 3 Richard W.M. Jones 2013-08-02 07:20:24 UTC
(In reply to Ravindra Kumar from comment #1)
> I had kept intentionally to make "Shared Folders" work by adding just the
> kernel driver. However, I will look into removing it if you insist.

What's involved in adding the kernel driver?

What would it take to get the kernel driver upstream?

Comment 4 M. Edward (Ed) Borasky 2013-08-02 08:21:46 UTC
(In reply to Richard W.M. Jones from comment #3)
> (In reply to Ravindra Kumar from comment #1)
> > I had kept intentionally to make "Shared Folders" work by adding just the
> > kernel driver. However, I will look into removing it if you insist.
> 
> What's involved in adding the kernel driver?
> 
> What would it take to get the kernel driver upstream?

It's in the VMware Tools if you install them from VMware Workstation or VMware Player. *However*:

1. I don't know about licensing, and
2. The last time I tried to install into a guest machine running Fedora 19 with the latest kernel, the compile failed.

If the licensing is acceptable, I can re-run the compile and post the errors here or on the VMware forum, although I'm guessing it's already up there and a patch available.

Comment 5 Ravindra Kumar 2013-08-02 20:13:01 UTC
Ok, I will be removing this file from packaging. Here are the answers to the questions asked above.

(In reply to M. Edward (Ed) Borasky from comment #2)
> I just started testing Fedora 19 (Design Suite) as a VMware Player guest. As
> far as I can tell, Shared Folders does *not* work. My desired behavior is
> that it does work. I haven't tried erasing open-vm-tools and installing
> VMware Tools via the host, and quite frankly, I don't want to do that - I
> want open-vm-tools to work including shared folders.

If you want to use "Shared Folders", you need to either use VMware Tools or build open-vm-tools from the source code published on SourceForge (http://open-vm-tools.sourceforge.net/).

(In reply to Richard W.M. Jones from comment #3)
> What's involved in adding the kernel driver?

Adding a kernel driver might not work when there are kernel patch updates. So, ideal solution is to upstream the driver with kernel.

> What would it take to get the kernel driver upstream?

Upstreaming requires two things at least:
1. Acceptance for a new filesystem driver by kernel maintainers (this becomes questionable for "Shared Folders" in presence of NFS and Samba clients)
2. A high quality and very stable driver

(In reply to M. Edward (Ed) Borasky from comment #4)
> It's in the VMware Tools if you install them from VMware Workstation or
> VMware Player. *However*:
> 
> 1. I don't know about licensing, and

I'm not sure which licensing you are referring to. However, if you install VMware Tools, it will ask you to remove open-vm-tools. This will change in future.

> 2. The last time I tried to install into a guest machine running Fedora 19
> with the latest kernel, the compile failed.
> 
> If the licensing is acceptable, I can re-run the compile and post the errors
> here or on the VMware forum, although I'm guessing it's already up there and
> a patch available.

Again, I'm not sure what licensing you are referring to. However, if you have any driver compilation errors or issues with VMware Tools, you need to take those with VMware forum instead of this bug. If you hit a compilation issue with open-vm-tools then you will have to take that to open-vm-tools forums on SourceForge (http://open-vm-tools.sourceforge.net/).

Comment 6 Fedora Update System 2013-08-09 03:09:03 UTC
open-vm-tools-9.2.3-10.fc19 has been submitted as an update for Fedora 19.
https://admin.fedoraproject.org/updates/open-vm-tools-9.2.3-10.fc19

Comment 7 Ravindra Kumar 2013-08-09 03:13:59 UTC
These builds contain the fix:
Fedora 19 - http://koji.fedoraproject.org/koji/buildinfo?buildID=455341
Rawhide - http://koji.fedoraproject.org/koji/buildinfo?buildID=455340

Comment 8 Fedora Update System 2013-08-09 07:44:40 UTC
open-vm-tools-9.2.3-6.el6 has been submitted as an update for Fedora EPEL 6.
https://admin.fedoraproject.org/updates/open-vm-tools-9.2.3-6.el6

Comment 9 Fedora Update System 2013-08-09 07:45:20 UTC
open-vm-tools-9.2.3-6.fc18 has been submitted as an update for Fedora 18.
https://admin.fedoraproject.org/updates/open-vm-tools-9.2.3-6.fc18

Comment 10 Fedora Update System 2013-08-10 04:00:02 UTC
Package open-vm-tools-9.2.3-10.fc19:
* should fix your issue,
* was pushed to the Fedora 19 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing open-vm-tools-9.2.3-10.fc19'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2013-14571/open-vm-tools-9.2.3-10.fc19
then log in and leave karma (feedback).

Comment 11 Fedora Update System 2013-08-18 21:32:10 UTC
open-vm-tools-9.2.3-6.fc18 has been pushed to the Fedora 18 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 12 Fedora Update System 2013-08-19 21:27:52 UTC
open-vm-tools-9.2.3-10.fc19 has been pushed to the Fedora 19 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 13 Fedora Update System 2013-08-31 19:17:25 UTC
open-vm-tools-9.2.3-6.el6 has been pushed to the Fedora EPEL 6 stable repository.  If problems still persist, please make note of it in this bug report.