<?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>120874</bug_id>
          
          <creation_ts>2006-01-29 14:48 0000</creation_ts>
          <short_desc>iproute2-051007 - ip doesn&apos;t support command shortening anymore</short_desc>
          <delta_ts>2006-01-29 19:10:55 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>Core system</component>
          <version>2005.1</version>
          <rep_platform>All</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>jjminar+bgo@fastmail.fm</reporter>
          <assigned_to>base-system@gentoo.org</assigned_to>
          

      

      
          <long_desc isprivate="0">
            <who>jjminar+bgo@fastmail.fm</who>
            <bug_when>2006-01-29 14:48:26 0000</bug_when>
            <thetext>ip(8) used to support command shortening, so one could do things like ``ip r&apos;&apos; or ``ip r a default via 10.0.0.2&apos;&apos;.  I use it in all my scripts, so now not even the loop device is set up after bootup.  Gosh this was just about the sexiest feature of the FLOSS world.

Example of what should work but doesn&apos;t:

$ ip r
Object &quot;r&quot; is unknown, try &quot;ip help&quot;.

Instead, one has to say:

$ ip route
10.0.0.0/24 dev eth0  proto kernel  scope link  src 10.0.0.13 
default via 10.0.0.2 dev eth0</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>jakub@gentoo.org</who>
            <bug_when>2006-01-29 14:52:18 0000</bug_when>
            <thetext>Reopen with iproute2 version...</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>jjminar+bgo@fastmail.fm</who>
            <bug_when>2006-01-29 15:52:10 0000</bug_when>
            <thetext>(In reply to comment #1)
&gt; Reopen with iproute2 version...

$  eix iproute | grep Installed:
     Installed:           051007
$ ip -V
ip utility, iproute2-ss051007
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>vapier@gentoo.org</who>
            <bug_when>2006-01-29 16:40:16 0000</bug_when>
            <thetext>well `ip r` wouldnt work now anyways as there is &apos;route&apos; and &apos;rule&apos; ...</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>jjminar+bgo@fastmail.fm</who>
            <bug_when>2006-01-29 17:15:49 0000</bug_when>
            <thetext>(In reply to comment #3)
&gt; well `ip r` wouldnt work now anyways as there is &apos;route&apos; and &apos;rule&apos; ...

I&apos;ve seen the shortened versions so many times it didn&apos;t occur to me the interface could change.  Is this a feature then?  So that it&apos;s clear the syntax is ``ip route&apos;&apos;, not ``ip r&apos;&apos;, and scripts I write today will work forever without alterations?

I would prefere whatever worked yesterday would work today, the new keywords *addign* to the syntax, not *replacing* parts of it.  E.g.:

    r -&gt; route
    ru -&gt; rule</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>vapier@gentoo.org</who>
            <bug_when>2006-01-29 18:00:03 0000</bug_when>
            <thetext>looks like a bad example

iproute2-2.6.10.20050112-r1 supports both &apos;rule&apos; and &apos;route&apos; but &apos;ip r&apos; defaults to route as you showed</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>vapier@gentoo.org</who>
            <bug_when>2006-01-29 19:10:55 0000</bug_when>
            <thetext>aaaaaand this is a bug as newer versions support `ip r` again ;)

upgrade to 2.6.15.20060110</thetext>
          </long_desc>
      
    </bug>

</bugzilla>