Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 18452 - vmware installed incorrectly with userpriv and usersandbox
Summary: vmware installed incorrectly with userpriv and usersandbox
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Philip Walls (RETIRED)
URL:
Whiteboard:
Keywords:
: 184524 (view as bug list)
Depends on: 20342
Blocks:
  Show dependency tree
 
Reported: 2003-03-29 18:24 UTC by Richard Garand
Modified: 2007-07-07 18:34 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Richard Garand 2003-03-29 18:24:25 UTC
When using the userpriv and usersandbox FEATUREs, vmware-workstation is installed 
incorrectly. The main executable is supposed to be suid root; its permissions include 
suid but the file is owned by portage:portage. 

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Philip Walls (RETIRED) gentoo-dev 2003-03-30 17:03:15 UTC
I'm not sure this is possible to fix. 

Vmware absolutely requires that a few of the binaries be SUID root, and as a non-root user, it is impossible to change the ownership of these binaries to root.
Comment 2 Richard Garand 2003-03-30 18:56:18 UTC
The files are still installed by root in the end... 
Comment 3 Philip Walls (RETIRED) gentoo-dev 2003-03-30 18:58:31 UTC
Okay, I will move the relevant +s modifications into pkg_postinst
Comment 4 Karl Steddom 2003-04-23 09:56:00 UTC
I had this same problem. Vmware will run fine as root, but not as a normal user. I tried moving 
the suid lines for vmware and vmware ping to the pkg_postinst section but the files are still 
owned by portage:portage. I dont understand the usersandbox and userpriv features enought to 
figure this out, so I just turned them off for the install. 
On a seperate point, one of the 4.0 builds needs to get unmasked since you can not get a new 
licence for the older 3.2 series. I also think there should be a einfo line that describes the init.d 
script. 
If some one can point me in the right direction for understanding usersandbox and userpriv I can 
work on this ebuild. 
Comment 5 Brad Laue (RETIRED) gentoo-dev 2003-05-03 18:57:24 UTC
Please see the attachment to bug 20342. Does this fix the issue?
Comment 6 Richard Garand 2003-05-05 17:43:49 UTC
This is better, but the files still need to be chowned to root. Also, it seems to work 
fine when the vmware executable isn't SUID. 
Comment 7 Tobias Sager 2003-05-08 05:00:51 UTC
After these, it works fine:

chown root:root /opt/vmware/bin/vmware
chown root:root /opt/vmware/bin/vmware-ping 
chown root:root /opt/vmware/lib/bin/vmware-vmx 
chown root:root /opt/vmware/lib/bin-debug/vmware-vmx 
Comment 8 Brad Laue (RETIRED) gentoo-dev 2003-05-08 09:00:06 UTC
New ebuild attached to bug 20342.
Comment 9 Brad Laue (RETIRED) gentoo-dev 2003-07-07 11:16:13 UTC
VMware binaries are now properly installed.
Comment 10 solar (RETIRED) gentoo-dev 2007-07-07 18:34:12 UTC
*** Bug 184524 has been marked as a duplicate of this bug. ***