Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 24972 - distcc-config improperly creates /etc/env.d/02distcc
Summary: distcc-config improperly creates /etc/env.d/02distcc
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: High critical (vote)
Assignee: Lisa Seelye (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-07-21 08:51 UTC by Jason Clinton
Modified: 2003-07-21 13:04 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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>