<?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>4242</bug_id>
          
          <creation_ts>2013-04-10 19:14:59 +0000</creation_ts>
          <short_desc>ifconfig should be in the user&apos;s path</short_desc>
          <delta_ts>2013-04-11 16:19:25 +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>1.4</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>NOTABUG</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Undecided</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Darren Hart">dvhart</reporter>
          <assigned_to name="Saul Wold">sgw</assigned_to>
          <cc>bluelightning</cc>
    
    <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</cc>
    
    <cc>richard.purdie</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>31858</commentid>
    <comment_count>0</comment_count>
    <who name="Darren Hart">dvhart</who>
    <bug_when>2013-04-10 19:14:59 +0000</bug_when>
    <thetext>Build Configuration:
BB_VERSION        = &quot;1.17.1&quot;
BUILD_SYS         = &quot;x86_64-linux&quot;
NATIVELSBSTRING   = &quot;Ubuntu-11.10&quot;
TARGET_SYS        = &quot;i586-poky-linux&quot;
MACHINE           = &quot;atom-pc&quot;
DISTRO            = &quot;poky&quot;
DISTRO_VERSION    = &quot;1.3+snapshot-20130410&quot;
TUNE_FEATURES     = &quot;m32 core2&quot;
TARGET_FPU        = &quot;&quot;
meta-yocto        
meta-yocto-bsp    
meta              = &quot;master:c31721e6372a52f8dfc516173e18f62266ac461f&quot;
meta-kernel-dev   = &quot;master:9df95d49188bacbe180bfac67edfaa682d542ed3&quot;


Running as xuser the ifconfig binary is not in the users path. It should be.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>31895</commentid>
    <comment_count>1</comment_count>
    <who name="Paul Eggleton">bluelightning</who>
    <bug_when>2013-04-11 10:38:37 +0000</bug_when>
    <thetext>This is perhaps debatable since it is in /sbin - different distros handle this differently. CentOS (and therefore presumably RHEL) don&apos;t do this for example.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>31917</commentid>
    <comment_count>2</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2013-04-11 11:34:33 +0000</bug_when>
    <thetext>Agreed, this is highly debatable and not common place on most desktop systems these days so I don&apos;t think this is actually a bug. Its installed into sbin and we shouldn&apos;t put sbin in the user&apos;s path. Obviously the user can still get to them if needed.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>31978</commentid>
    <comment_count>3</comment_count>
    <who name="Darren Hart">dvhart</who>
    <bug_when>2013-04-11 15:30:20 +0000</bug_when>
    <thetext>What do you include in &quot;most desktop systems&quot; Richard? It is in my path on Fedora 18, Ubuntu 11.10, and Ubuntu 12.04. I would expect that to cover most Linux desktop systems. I could boot the VMs for OpenSuse and test that....

If you want to ignore it OK, but the logic presented for doing so here doesn&apos;t appear to hold up to even moderate scrutiny.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>31984</commentid>
    <comment_count>4</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2013-04-11 15:52:59 +0000</bug_when>
    <thetext>I&apos;m not imagining this according to goodle, for example, http://askubuntu.com/questions/134641/why-do-i-have-to-be-root-to-run-the-command-ifconfig

however it seems some systems have this and some do not. I&apos;m having trouble figuring out if this was something they did and then change back or what exactly happened. Google suggests Fedora didn&apos;t have /sbin in PATH either at some point too.

So perhaps most desktop distros tried this, then swicthed back but it was certainly the impression I&apos;d had in my mind.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>31985</commentid>
    <comment_count>5</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2013-04-11 15:54:07 +0000</bug_when>
    <thetext>opensuse too: http://forums.opensuse.org/english/get-technical-help-here/network-internet/440209-ifconfig.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>31995</commentid>
    <comment_count>6</comment_count>
    <who name="Darren Hart">dvhart</who>
    <bug_when>2013-04-11 16:19:25 +0000</bug_when>
    <thetext>OK, thanks for the references. Those will be good to have recorded here in the bug in case someone else reports this as an issue.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>