Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 2918 - Portage Manual doesn't describe config file precedence accurately
Summary: Portage Manual doesn't describe config file precedence accurately
Alias: None
Product: [OLD] Docs-user
Classification: Unclassified
Component: Portage Manual (show other bugs)
Hardware: x86 All
: High normal (vote)
Assignee: Stoyan Zhekov (RETIRED)
Depends on: 1591
  Show dependency tree
Reported: 2002-05-22 11:32 UTC by Kurt Lieber
Modified: 2003-02-04 19:42 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Note You need to log in before you can comment on or make changes to this bug.
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?

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 ;-)