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

Bug 2918

Summary: Portage Manual doesn't describe config file precedence accurately
Product: [OLD] Docs-user Reporter: Kurt Lieber <gentoo>
Component: Portage ManualAssignee: Stoyan Zhekov (RETIRED) <zhware>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: All   
URL: http://www.gentoo.org/doc/portage-manual.html
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on: 1591    
Bug Blocks:    

Description Kurt Lieber 2002-05-22 11:32:45 UTC
The Portage Manual doesn't describe the complete pecking order regarding config 
files.  It talks about /etc/make.conf vs. /etc/make.globals, but does not take 
into account environmental variables or /etc/make.profile/make.defaults.

The make.conf man page does a good job of describing this pecking order:

"This  file  contains  various  variables  that are used by Portage.  Portage 
will check the  currently-defined  environment  variables first for any 
settings.  If no environment settings are found, Portage  then 
checks /etc/make.conf.  If no setting is found in /etc/make.conf, Portage  
checks /etc/make.profile/make.defaults.   If no setting is found there, the 
default setting is grabbed from /etc/make.globals.  Please note that all user 
settings should be made in the environment or  in /etc/make.conf, which is 
intended to be customized by the user."

The Portage Manual should be updated to include a similar description.
Comment 1 John Davis (zhen) (RETIRED) gentoo-dev 2002-10-03 14:05:47 UTC
Could you check this out please?

//ZhEN
Comment 2 Stoyan Zhekov (RETIRED) gentoo-dev 2002-10-27 00:08:29 UTC
Fixed in the CVS.
Comment 3 John Davis (zhen) (RETIRED) gentoo-dev 2002-10-31 20:36:57 UTC
Closing the bug then, thanks Stoyan ;-)

//ZhEN