Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 113048 - gnome-games installed setgid, won't start
Summary: gnome-games installed setgid, won't start
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-11-19 19:32 UTC by Ed Catmur
Modified: 2006-01-09 01:56 UTC (History)
0 users

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 Ed Catmur 2005-11-19 19:32:00 UTC
$ gnomine

(gnomine:412): Gtk-WARNING **: This process is currently running setuid or setgid.
This is not a supported use of GTK+. You must create a helper
program instead. For further details, see:

    http://www.gtk.org/setuid.html

Refusing to initialize GTK+.
$

"sfperms" is in FEATURES (from /usr/portage/profiles/base/make.defaults).

EXTRA_ECONF="--disable-setgid" works; what's odd is that the package is built by
default setgid even though it makes gtk+ croak.
Comment 1 Daniel Gryniewicz (RETIRED) gentoo-dev 2005-11-20 12:37:14 UTC
Works fine here with 2.12.1:

15:32:06 athena] ~> ll /usr/bin/gnomine 
84K -r-xr-s--x  1 root games 82K 2005-10-10 12:19 /usr/bin/gnomine

Running it works fine, no error.  Which version of gnome-games do you have?  On
my stable box (2.10.1-r1), it's *not* installed setgid.
Comment 2 Ed Catmur 2005-11-20 13:31:36 UTC
I have gnome-games-2.12.1 and gtk+-2.8.7.

$ ll /usr/bin/gnomine
-r-xr-s--x  1 root games 83408 2005-11-20 20:53 /usr/bin/gnomine*

You don't have /usr mounted nosuid?
Comment 3 Daniel Gryniewicz (RETIRED) gentoo-dev 2005-11-20 13:39:11 UTC
No, and other setuid/setgid apps on that same partition work fine (such as su
and sudo).
Comment 4 John N. Laliberte (RETIRED) gentoo-dev 2005-12-21 16:19:18 UTC
Ed: can you still reproduce this problem?

I also cannot reproduce it, works fine here. ( and mine is setgid )
Comment 5 Ed Catmur 2006-01-09 01:56:58 UTC
It's fixed upstream since 2.13.4 (using gnome-experimental overlay).