| Summary: | xmame 0.89 fails to emerge -- emerge fails because binary is setuid root | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Stephen Bosch <posting> |
| Component: | [OLD] Games | Assignee: | Gentoo Games <games> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | ||
| Priority: | High | ||
| Version: | unspecified | ||
| Hardware: | x86 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
|
Description
Stephen Bosch
2005-02-11 20:44:53 UTC
Just curious... what if you try FEATURES="-sfperms" emerge xmame? No dice, same result: /usr/bin/install -d -o root -g bin -m 755 /var/tmp/portage/xmame-0.89/image//usr/share/man/man6 /usr/bin/install -c -o root -g bin -m 444 doc/xmame.6 /var/tmp/portage/xmame-0.89/image//usr/share/man/man6/xmame.6 xmame for linux-i386 installation completed * A game was detected that is setuid root! * /var/tmp/portage/xmame-0.89/image///usr/games/bin/xmame.svgalib !!! ERROR: games-emulation/xmame-0.89 failed. !!! Function prepgamesdirs, Line 115, Exitcode 0 !!! refusing to merge a setuid root game !!! If you need support, post the topmost build error, NOT this status message. with svgalib-0.9.x, we shouldnt need the binaries setuid root since the newer svgalib comes with a helper module specifically to allow non-root users access to the svga driver ... from the svga README: Program using svgalib 1.9.0 or later don't need root provoleges (suid root). They do need access to /dev/svga, which is a char device with major 209 and minor 0. The module svgalib_helper need also be inserted. sfperms has nothing to do with this error, this is a sanity check i added to our games.eclass fixed in cvs. |