Bug 24972 - distcc-config improperly creates /etc/env.d/02distcc
Bug#: 24972 Product:  Gentoo Linux Version: unspecified Platform: All
OS/Version: Linux Status: RESOLVED Severity: critical Priority: P2
Resolution: FIXED Assigned To: lisa@gentoo.org Reported By: me@jasonclinton.com
Component: Development
URL: 
Summary: distcc-config improperly creates /etc/env.d/02distcc
Keywords:  
Status Whiteboard: 
Opened: 2003-07-21 08:51 0000
Description:   Opened: 2003-07-21 08:51 0000
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

------- Comment #1 From Lisa Seelye (RETIRED) 2003-07-21 10:58:24 0000 -------
Thank you.

This is on my list of things to rewrite from my distcc inheritance.

------- Comment #2 From Lisa Seelye (RETIRED) 2003-07-21 13:04:06 0000 -------
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>