<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>24972</bug_id>
          
          <creation_ts>2003-07-21 08:51 0000</creation_ts>
          <short_desc>distcc-config improperly creates /etc/env.d/02distcc</short_desc>
          <delta_ts>2003-07-21 13:04:06 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>Development</component>
          <version>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>critical</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>me@jasonclinton.com</reporter>
          <assigned_to>lisa@gentoo.org</assigned_to>
          <cc>hduston@speedscript.com</cc>
    
    <cc>mr_bones_@gentoo.org</cc>

      

      
          <long_desc isprivate="0">
            <who>me@jasonclinton.com</who>
            <bug_when>2003-07-21 08:51:20 0000</bug_when>
            <thetext>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=&quot;localhost&quot; that
overrides whatever is in /etc/distcc/hosts.

Any future call to distcc-config --set-hosts &quot;whatever&quot; 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 &quot;export
|grep DISTCC&quot;.

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=&quot;localhost&quot; to /etc/env.d/02distcc</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>lisa@gentoo.org</who>
            <bug_when>2003-07-21 10:58:24 0000</bug_when>
            <thetext>Thank you.

This is on my list of things to rewrite from my distcc inheritance.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>lisa@gentoo.org</who>
            <bug_when>2003-07-21 13:04:06 0000</bug_when>
            <thetext>With the addition of distcc-2.9 to the tree, the offending line has been removed pending a rewrite. 

That said, I&apos;ll mark this as fixed.  If my bash skills are that feeble, please reopen this bug and give a verbal lashing.

&lt;shameless plug&gt; Don&apos;t forget to give distcc 2.9 a go! &lt;/shameless plug&gt;</thetext>
          </long_desc>
      
    </bug>

</bugzilla>