Bug 152292 - [PATCH] emulators/open-vm-tools: vmware-user-suid-wrapper failes to load vmblock.ko
[PATCH] emulators/open-vm-tools: vmware-user-suid-wrapper failes to load vmbl...
Status: Closed FIXED
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s)
Any Any
: Normal Affects Only Me
Assigned To: mbr
Depends on:
  Show dependency treegraph
Reported: 2010-11-16 10:50 UTC by fumifumi
Modified: 2010-11-16 20:40 UTC (History)
0 users

See Also:

file.diff (2.60 KB, patch)
2010-11-16 10:50 UTC, fumifumi
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description fumifumi 2010-11-16 10:50:08 UTC
Helpful PR ports/151872 has fixed a issue of pkg-config,
however it does not contain the patch for the main symptom of PR ports/150913.
I have recreated a simple patch for the new 313025 version.

vmware-user-suid-wrapper unloads vmblock.ko successfully,
then fails to reload it, since kernel modules are not installed
on the default path of kldload by this port, politely.
Clipboard sharing does not work.

Fix: A patch is attached.
Changing kern.module_path with root privilege may also work,
but it is a global setting.

Thank you for everything,

Patch attached with submission follows:
How-To-Repeat: > sudo chmod u=xs,go=x /usr/local/bin/vmware-user-suid-wrapper

> kldstat -m vmblock
Id Refs Name
458 1 vmblock

> /usr/local/bin/vmware-user-suid-wrapper
vmware-user: failed to load vmblock: No such file or directory
vmware-user: failed to start vmblock

> kldstat -m vmblock
kldstat: can't find module vmblock: No such file or directory.
Comment 1 Edwin Groothuis freebsd_committer 2010-11-16 10:50:13 UTC
Responsible Changed
From-To: freebsd-ports-bugs->mbr

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 dfilter freebsd_committer 2010-11-16 20:37:09 UTC
mbr         2010-11-16 20:37:05 UTC

  FreeBSD ports repository

  Modified files:
    emulators/open-vm-tools Makefile 
  Added files:
    emulators/open-vm-tools/files patch-wrapper-Makefile.am 
  Add fix for vmware-user-suid-wrapper failes to load vmblock.ko
  Don't install vmware-user-suid-wrapper automatically in kde autostart
  Bump portrevision
  PR:                     ports/152292
  Submitted by:           Fumiyuki Shimizu <fumifumi@abacustech.jp>
  Revision  Changes    Path
  1.44      +1 -0      ports/emulators/open-vm-tools/Makefile
  1.1       +11 -0     ports/emulators/open-vm-tools/files/patch-wrapper-Makefile.am (new)
  1.1       +20 -0     ports/emulators/open-vm-tools/files/patch-wrapper-Makefile.in (new)
  1.1       +11 -0     ports/emulators/open-vm-tools/files/patch-wrapper-wrapper-freebsd.c (new)
  1.1       +48 -0     ports/emulators/open-vm-tools/files/patch.txt (new)
cvs-all@freebsd.org mailing list
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 3 mbr freebsd_committer 2010-11-16 20:37:23 UTC
State Changed
From-To: open->closed

Committed, thanks