| Summary: | distcc 2.5-r1: distcc-config does not update DISTCC_HOSTS in /etc/env.d/02distcc | ||
|---|---|---|---|
| Product: | Portage Development | Reporter: | Thomas Matthijs (RETIRED) <axxo> |
| Component: | Unclassified | Assignee: | Lisa Seelye (RETIRED) <lisa> |
| Status: | RESOLVED INVALID | ||
| Severity: | minor | CC: | bcowan, mr_bones_, seemant, zwelch |
| Priority: | High | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
|
Description
Thomas Matthijs (RETIRED)
2003-06-27 14:24:55 UTC
As near as I can tell, having /etc/env.d/02distcc containing the DISTCC_HOSTS envvar is not needed.
`distcc` checks the following places for your 'DISTCC_HOSTS' -
/etc/distcc/hosts
${HOME}/.distcc/hosts
envvar $DISTCC_HOSTS
The best course of action, from where I sit now, is to put any custom, or user-specific hosts into a ~/.bashrc or some other "start-up" file. The system wide envvar $DISTCC_HOSTS isn't needed and is redundant.
Did I miss anything, or a reason why the /etc/env.d/02distcc setting is needed?
This is not a bug - hosts should go into /etc/distcc/hosts by default. this allows the system's users to specify hosts (with DISTCC_HOSTS) on their own - even limiting it to localhost/1. |