Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 178562 - vmware.eclass doesn't make bin-debug/vmware-vmx setuid root
Summary: vmware.eclass doesn't make bin-debug/vmware-vmx setuid root
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Eclasses (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: Gentoo VMWare Bug Squashers [disabled]
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-05-14 20:21 UTC by Thomas Loeber
Modified: 2007-08-22 00:24 UTC (History)
1 user (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 Thomas Loeber 2007-05-14 20:21:06 UTC
The vmware eclass makes vmware-vmx setuid root, but only in the bin directory and not in the bin-debug directory.

When running VMware WITH debugging information VMware exits with an error that the program is not setuid root.

Reproducible: Always

Steps to Reproduce:
1. emerge vmware-server
2. ls -l /opt/vmware/server/lib/bin-debug/vmware-vmx

Actual Results:  
/opt/vmware/server/lib/bin-debug/vmware-vmx is not setuid root

Expected Results:  
/opt/vmware/server/lib/bin-debug/vmware-vmx is setuid root

I think this is due to a typo in vmware.eclass:

In line 274 [for p in ...] it should be
/lib/bin-debug/vmware-vmx instead of
/lib/bin-debug/vmware-vm.
Comment 1 Mike Auty (RETIRED) gentoo-dev 2007-07-28 19:30:39 UTC
Thomas, sorry for the delay.  I've fixed the typo in the vmware overlay, and I'd appreciate it if you could give it a test and let me know if you still experience the problem.  If not, then it'll get pushed into the main tree next time we do a sync (which shouldn't be too far away, as we need to update everything for baselayout 2).  I'm sorry for the delay for carrying out such a simple solution...
Comment 2 Chris Gianelloni (RETIRED) gentoo-dev 2007-08-22 00:24:53 UTC
OK.  I just fixed this in the tree.