Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 771795 - games-emulation/pcsx2-9999[-filecaps] installs as suid and is unusable
Summary: games-emulation/pcsx2-9999[-filecaps] installs as suid and is unusable
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: nE0sIghT
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2021-02-21 00:36 UTC by Enne Eziarc
Modified: 2021-03-01 08:26 UTC (History)
2 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 Enne Eziarc 2021-02-21 00:36:04 UTC
~ $ PCSX2

(process:17259): Gtk-WARNING **: 00:29:24.993: 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+.
Segmentation fault
Comment 1 Ionen Wolkens gentoo-dev 2021-02-21 01:07:20 UTC
fcaps' automated fallback on setuid sounds terrible here, fwiw it runs as 0755 with no caps (I guess dev9 won't work but I wouldn't say it's a big issue, maybe could just give a warning if can't set caps).
Comment 2 nE0sIghT 2021-02-25 13:52:41 UTC
Oh, I missed that suid fallback...
Will fix it soon
Comment 3 Larry the Git Cow gentoo-dev 2021-03-01 08:26:04 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e43dde232ea4d5fb3392d17614b942e7c82f64c1

commit e43dde232ea4d5fb3392d17614b942e7c82f64c1
Author:     Yuri Konotopov <ykonotopov@gnome.org>
AuthorDate: 2021-02-25 14:39:15 +0000
Commit:     Joonas Niilola <juippis@gentoo.org>
CommitDate: 2021-03-01 08:25:56 +0000

    games-emulation/pcsx2: do not set suid with USE=-filecaps
    
    Closes: https://bugs.gentoo.org/771795
    Package-Manager: Portage-3.0.13, Repoman-3.0.2
    Signed-off-by: Yuri Konotopov <ykonotopov@gnome.org>
    Closes: https://github.com/gentoo/gentoo/pull/19649
    Signed-off-by: Joonas Niilola <juippis@gentoo.org>

 games-emulation/pcsx2/pcsx2-1.6.0-r2.ebuild | 2 +-
 games-emulation/pcsx2/pcsx2-9999.ebuild     | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)