Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 128842 - real USE flag needs to be unmasked in hardened and selinux x86 profiles
Summary: real USE flag needs to be unmasked in hardened and selinux x86 profiles
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Eclasses (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: The Gentoo Linux Hardened Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-04-04 17:33 UTC by Sascha G.
Modified: 2006-06-09 10:42 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 Sascha G. 2006-04-04 17:33:35 UTC
I have been successfully using the real USE flag in a hardened profile a while ago and in the hardened selinux profile for a few months now. A few days ago this USE flag vanished. I guess because it has been put in base/use.mask.

Please unmask it for the above-mentioned profiles. I have only tested x86, but amd64 should work fine, too.
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-04-05 02:23:24 UTC
# grep -Rni real /usr/portage/profiles/hardened
#

# grep -Rni real /usr/portage/profiles/selinux
/usr/portage/profiles/selinux/2005.1/alpha/use.mask:43:# I don't think that openafs really works on other architectures,
Comment 2 Sascha G. 2006-04-05 10:04:54 UTC
I don't know what exactly you tested that you marked this as "worksforme", but it simply cannot work.
I now tracked the reason down.

from: http://www.gentoo.org/cgi-bin/viewcvs.cgi/profiles/base/
[...]
use.mask 	(graph) 	 1.13 	 4 days 	 flameeyes 	 Mask real useflag on all but Linux/x86 systems.

And in the hardened and selinux profiles this has not been unmasked.
Comment 3 solar (RETIRED) gentoo-dev 2006-04-05 10:16:51 UTC
flameeyes,
Per user comments it looks as if you broke the behavior of some sub profiles.
Care to verify and fix?
Comment 4 Diego Elio Pettenò (RETIRED) gentoo-dev 2006-04-05 10:29:17 UTC
Sorry, I forgot that we don't have multiple inheritance in profiles.

I've unmasked real on hardened and selinux on x86, not on amd64 as the realplayer is only 32-bit and nothing can link to it on amd64.

I haven't unmasked on uclibc as I suppose it's built against glibc.
Comment 5 Sascha G. 2006-04-05 11:21:07 UTC
(In reply to comment #4)

> I've unmasked real on hardened and selinux on x86, not on amd64 as the
> realplayer is only 32-bit and nothing can link to it on amd64.

Sorry, I didn't know that.

But vlc uses the real USE flag only to enable streaming via the rtsp protocol.
Doesn't this work on amd64, too? It does not use realplayer for anything.
But maybe this is not interesting if it cannot play real video.
Comment 6 Diego Elio Pettenò (RETIRED) gentoo-dev 2006-04-05 11:29:56 UTC
Hmm I suppose that should be changed then to another useflag, I'll take a look after dinner.
Comment 7 Sascha G. 2006-06-09 10:42:37 UTC
Has been fixed a while ago (including the vlc USE flag).