<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugzilla.yoctoproject.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugzilla.yoctoproject.org/"
          
          maintainer="it-coreprojects-helpdesk@linuxfoundation.org"
>

    <bug>
          <bug_id>132</bug_id>
          
          <creation_ts>2010-07-20 19:34:57 +0000</creation_ts>
          <short_desc>dhcp fails in netbook</short_desc>
          <delta_ts>2010-12-21 06:09:42 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>7</classification_id>
          <classification>Build System, Metadata &amp; Runtime</classification>
          <product>OE-Core</product>
          <component>core</component>
          <version>0.9</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>VERIFIED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>0.9 M3</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="liping Ke">liping.ke</reporter>
          <assigned_to name="Qing He">qing.he</assigned_to>
          <cc>dongxiao.xu</cc>
    
    <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</cc>
    
    <cc>sgw</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          <cf_verified>Program Management</cf_verified>
          <cf_docchange>---</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>9027</commentid>
    <comment_count>0</comment_count>
    <who name="liping Ke">liping.ke</who>
    <bug_when>2010-07-20 19:34:57 +0000</bug_when>
    <thetext>Hi, after I installed realtek netbook driver, still I can&apos;t see ip is setup.
I have to mannually setup ip by ifconfig eth0 10.239.XX.XX.
It&apos;s said dhcclient does not work.

Could somebody help to have a look at the problem?

Thanks a lot!
criping</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>9125</commentid>
    <comment_count>1</comment_count>
    <who name="Qing He">qing.he</who>
    <bug_when>2010-07-28 17:52:56 +0000</bug_when>
    <thetext>I&apos;ve reproduced the bug on Dongxiao&apos;s box

the error is that /sbin/dhclient-script reports that it can&apos;t find ifconfig and route, with the following manual fix it passed and obtained IP correctly.
   s|\&lt;ifconfig\&gt;|/sbin/ifconfig|   s|\&lt;route\&gt;|/sbin/route|

It seems that /sbin/ isn&apos;t in the script search path. It can be added in the script directly, but should it be in the env?

btw, why the bug is marked closed? I checked the source repo but didn&apos;t find some commit addressing it.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>9127</commentid>
    <comment_count>2</comment_count>
    <who name="liping Ke">liping.ke</who>
    <bug_when>2010-07-28 18:02:09 +0000</bug_when>
    <thetext>I will verify the bug status after I pull down the latest change this week when I have some time.

criping</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>9133</commentid>
    <comment_count>3</comment_count>
    <who name="Saul Wold">sgw</who>
    <bug_when>2010-07-28 19:10:13 +0000</bug_when>
    <thetext>Accidently marked as fixed, this need to be fixed and verified</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>9139</commentid>
    <comment_count>4</comment_count>
    <who name="Qing He">qing.he</who>
    <bug_when>2010-07-28 22:31:24 +0000</bug_when>
    <thetext>root cauesd, the problem is a bug in dhcp4

when dhclient/dhc6 invokes /sbin/dhclient-script, it clears all environment variables but set only CLIENT_PATH, in dhcp-3.1.3, it reads in Makefile.conf:
    CLIENT_PATH = &apos;&quot;PATH=/usr/ucb:/usr/bin:/usr/sbin:/bin:/sbin&quot;&apos;

but in dhcp-4.1.1-P1, it looks in client/Makefile.am:
    $(COMPILE) -DCLIENT_PATH=&apos;&quot;$(sbindir)&quot;&apos;

since we only copy dhclient into /sbin/ after installation, at build time, sbindir is still /usr/sbin, so search of ifconfig and route fails; further more, it should rather be -DCLIENT_PATH=&apos;&quot;PATH=...&quot;&apos; to work properly</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>9288</commentid>
    <comment_count>5</comment_count>
    <who name="Qing He">qing.he</who>
    <bug_when>2010-08-11 19:57:27 +0000</bug_when>
    <thetext>fixed in 5fba534b15baa3778bbce2952ac7664bcda4e73c</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>9290</commentid>
    <comment_count>6</comment_count>
    <who name="liping Ke">liping.ke</who>
    <bug_when>2010-08-11 20:04:57 +0000</bug_when>
    <thetext>verified on M2 image:
http://yoctobuild01.jf.intel.com/milestone/20100731-1/netbook/x86_32/

Thanks&amp; Regards,
criping</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>