If you invoke distcc-config --set-verbose 0 on a machine that does not yet have
a /etc/env.d/02distcc, it will improperly add a DISTCC_HOSTS="localhost" that
overrides whatever is in /etc/distcc/hosts.
Any future call to distcc-config --set-hosts "whatever" modifies
/etc/distcc/hosts leaving /etc/env.d/02distcc intact. A user would only know
that their host settings had been overridden by checking the output of "export
|grep DISTCC".
Further, fixing the problem requires intimate knowledge of /etc/env.d,
/etc/profile and /etc/profile.env and their workings.
Reproducible: Always
Steps to Reproduce:
Expected Results:
DISTCC_CONFIG should NOT add DISTCC_HOST="localhost" to /etc/env.d/02distcc
With the addition of distcc-2.9 to the tree, the offending line has been
removed pending a rewrite.
That said, I'll mark this as fixed. If my bash skills are that feeble, please
reopen this bug and give a verbal lashing.
<shameless plug> Don't forget to give distcc 2.9 a go! </shameless plug>