Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 516576

Summary: [TRACKER] Multiple games use RESTRICT=userpriv
Product: Gentoo Linux Reporter: Michał Górny <mgorny>
Component: Current packagesAssignee: Gentoo Games <games>
Status: CONFIRMED ---    
Severity: normal CC: hasufell, jstein, qa, zerochaos
Priority: Normal Keywords: Tracker
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://bugs.gentoo.org/show_bug.cgi?id=419331
https://bugs.gentoo.org/show_bug.cgi?id=112898
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on: 838295, 838298    
Bug Blocks: 516568    

Description Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2014-07-07 07:21:17 UTC
Looks like it's generic issue with the 'games' group design. Doesn't look anywhere near a good idea.

games-board/gnuchess-book
games-fps/quakeforge
games-rpg/wastesedge
games-strategy/wargus-data

Please keep this open as long as any of the games has RESTRICT=userpriv.
Comment 1 Mr. Bones. (RETIRED) gentoo-dev 2014-07-07 07:26:29 UTC
file a bug report that means something.  This is just a generic waste of everyone's time.
Comment 2 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2014-07-07 07:41:11 UTC
As long as a game requests root permissions to build, it is an issue. I will opt for masking all affected packages shortly.
Comment 3 Mr. Bones. (RETIRED) gentoo-dev 2014-07-07 07:42:32 UTC
That isn't really up to you.  Again, stop wasting my time.
Comment 4 Rick Farina (Zero_Chaos) gentoo-dev 2014-07-07 18:03:51 UTC
QA is also unimpressed with the abuse of RESTRICT=userpriv, please stop closing our bug or we might not notice this breakage when we/if disallow RESTRICT=userpriv.
Comment 5 Rick Farina (Zero_Chaos) gentoo-dev 2014-07-07 18:05:01 UTC
s#when we/if#when/if we# c4
Comment 6 Mr. Bones. (RETIRED) gentoo-dev 2014-07-07 18:22:40 UTC
This is not a QA issue.  Look at why userpriv is being used.  Patches welcome but mindless assertions are just a waste of everyone's time.
Comment 7 Rick Farina (Zero_Chaos) gentoo-dev 2014-07-07 18:25:23 UTC
(In reply to Mr. Bones. from comment #6)
> This is not a QA issue.  Look at why userpriv is being used.  Patches
> welcome but mindless assertions are just a waste of everyone's time.

This is part of a tracker working on possibly better solutions.  There are no mindless assertions here except for the constant closing of the bug.  Please stop doing that.
Comment 8 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-04-14 06:13:56 UTC
(In reply to Michał Górny from comment #0)
> Looks like it's generic issue with the 'games' group design. Doesn't look
> anywhere near a good idea.
> 
> games-board/gnuchess-book
> games-fps/quakeforge
> games-rpg/wastesedge
> games-strategy/wargus-data
> 
> Please keep this open as long as any of the games has RESTRICT=userpriv.

In 2022:

$ grep -rsin "userpriv" games-*
games-board/gnuchess-book/gnuchess-book-1.02-r1.ebuild:14:RESTRICT="userpriv" # bug #112898
games-strategy/wargus-data/wargus-data-0-r1.ebuild:24:RESTRICT="userpriv"