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.
lisa: how does this fit in with your distcc scheme ?
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.
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
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.
DISTCC_DIR does not change where distcc client looks for /etc/distcc/hosts.