Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 28079 - DISTCC_HOSTS should be added to /etc/make.conf
Summary: DISTCC_HOSTS should be added to /etc/make.conf
Status: RESOLVED WONTFIX
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Enhancement/Feature Requests (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Lisa Seelye (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-09-06 15:15 UTC by Bjarke Istrup Pedersen (RETIRED)
Modified: 2011-10-30 22:35 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 Bjarke Istrup Pedersen (RETIRED) gentoo-dev 2003-09-06 15:15:26 UTC
DISTCC_HOSTS should be added to /etc/make.conf as an example, so people knows 
how to set thier distcc hosts in there, so they don't have to run distcc-
config --set-hosts every time they reboot.

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 SpanKY gentoo-dev 2003-09-06 19:33:23 UTC
lisa: how does this fit in with your distcc scheme ?
Comment 2 Lisa Seelye (RETIRED) gentoo-dev 2003-09-06 19:54:54 UTC
Bad idea,IMHO. Though I think a note in the make.conf should instruct the user to use distcc-config, though.

The reason distcc-config (now) uses /etc/distcc/hosts is so that the hosts is set in _one_ place.  The usage of this file is also so that each user of the system can use it, and overwrite it with ~/.distcc/hosts or DISTCC_HOSTS envvar.



----

Unless there's a *really* good reason to put the hosts in the make.conf, I'll listen, but now I'm more inclined to leave it in /etc/distcc/hosts.
Comment 3 SpanKY gentoo-dev 2003-09-09 09:43:24 UTC
well, you heard her ;)

distcc management is a much bigger task than setting 1 var in make.conf ...
also, you shouldnt have to run --set-hosts after every reboot ... if you do, you should file another bug
Comment 4 Haggai Eran 2004-09-05 15:44:43 UTC
Problem is DISTCC_DIR is set in make.conf by default to something else than /etc/distcc, so /etc/distcc/hosts isn't being read at all when using emerge.
Comment 5 Lisa Seelye (RETIRED) gentoo-dev 2004-09-05 15:52:15 UTC
DISTCC_DIR does not change where distcc client looks for /etc/distcc/hosts.