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

Bug 351086

Summary: CONFIG_PROTECT is not prefixed in make.globals
Product: Gentoo/Alt Reporter: Ruslan U. Zakirov <Ruslan.Zakirov>
Component: Prefix SupportAssignee: Gentoo Prefix <prefix>
Status: RESOLVED INVALID    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: All   
URL: http://portage.prefix.freens.org/prefix/rev/4733cb2bd831
Whiteboard:
Package list:
Runtime testing required: ---

Description Ruslan U. Zakirov 2011-01-08 05:22:25 UTC
Here is what I found in make.globals after in a fresh prefix

CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/env.d"
Comment 1 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2011-01-08 05:28:12 UTC
Do you have proof that it DOES NOT work as you think it should? If so, that would be news to me (and a regression)

(There is magic behind the scenes so that CONFIG_PROTECT doesn't need to be prefixed)
Comment 2 Ruslan U. Zakirov 2011-01-08 05:56:52 UTC
Sorry for bothering then. Most options containing a path have prefix, except this one. A comment in the file would clear things.
Comment 3 Fabian Groffen gentoo-dev 2011-01-08 10:54:07 UTC
CONFIG_PROTECT is on purpose not prefixed, because it is defined in the profiles, and hence cannot contain the right prefix.  I'll add a comment.  Thanks.