Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 24972

Summary: distcc-config improperly creates /etc/env.d/02distcc
Product: Gentoo Linux Reporter: Jason Clinton <me>
Component: [OLD] DevelopmentAssignee: Lisa Seelye (RETIRED) <lisa>
Status: RESOLVED FIXED    
Severity: critical CC: hduston, mr_bones_
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Jason Clinton 2003-07-21 08:51:20 UTC
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 Lisa Seelye (RETIRED) gentoo-dev 2003-07-21 10:58:24 UTC
Thank you.

This is on my list of things to rewrite from my distcc inheritance.
Comment 2 Lisa Seelye (RETIRED) gentoo-dev 2003-07-21 13:04:06 UTC
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>