<?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>838</bug_id>
          
          <creation_ts>2011-03-09 23:41:43 +0000</creation_ts>
          <short_desc>user need to type absolute path to execute some commands</short_desc>
          <delta_ts>2011-03-10 09:14:11 +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>unspecified</version>
          <rep_platform>Netbook</rep_platform>
          <op_sys>x86</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>NOTABUG</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Low</priority>
          <bug_severity>minor</bug_severity>
          <target_milestone>1.0 M4</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Dongxiao Xu">dongxiao.xu</reporter>
          <assigned_to name="Saul Wold">sgw</assigned_to>
          <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>---</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>12441</commentid>
    <comment_count>0</comment_count>
    <who name="Dongxiao Xu">dongxiao.xu</who>
    <bug_when>2011-03-09 23:41:43 +0000</bug_when>
    <thetext>In netbook, user needs to type the absolute path to execute certain commands. For example:

xuser@atom-pc:~$ ifconfig
/bin/sh: ifconfig: not found

xuser@atom-pc:~$ /sbin/ifconfig
eth0      Link encap:Ethernet  HWaddr C8:0A:A9:36:F8:2C
          inet addr:10.239.36.102  Bcast:10.239.36.255  Mask:255.255.255.0
          inet6 addr: fe80::ca0a:a9ff:fe36:f82c/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:231 errors:0 dropped:0 overruns:0 frame:0
          TX packets:120 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:30217 (29.5 KiB)  TX bytes:17764 (17.3 KiB)
          Interrupt:16 Base address:0x8000

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:25 errors:0 dropped:0 overruns:0 frame:0
          TX packets:25 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:3540 (3.4 KiB)  TX bytes:3540 (3.4 KiB)

wlan0     Link encap:Ethernet  HWaddr F0:7B:CB:19:1A:BD
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

The cause should be that, some certain paths, like sbin, are not added into PATH environement variable.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>12443</commentid>
    <comment_count>1</comment_count>
    <who name="Dongxiao Xu">dongxiao.xu</who>
    <bug_when>2011-03-10 00:28:57 +0000</bug_when>
    <thetext>I use the following commit to reproduce the bug.

a778fb311540580476976e43f9c0576284f8dc38

Thanks,
Dongxiao</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>12453</commentid>
    <comment_count>2</comment_count>
    <who name="Saul Wold">sgw</who>
    <bug_when>2011-03-10 09:14:11 +0000</bug_when>
    <thetext>This is a standard convention for non-root user accounts to not /sbin and /usr/sbin in the default path.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>