First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 120874
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo's Team for Core System packages <base-system@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Jan Minar <jjminar+bgo@fastmail.fm>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 120874 depends on: Show dependency tree
Bug 120874 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2006-01-29 14:48 0000
ip(8) used to support command shortening, so one could do things like ``ip r''
or ``ip r a default via 10.0.0.2''.  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't:

$ ip r
Object "r" is unknown, try "ip help".

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

------- Comment #1 From Jakub Moc (RETIRED) 2006-01-29 14:52:18 0000 -------
Reopen with iproute2 version...

------- Comment #2 From Jan Minar 2006-01-29 15:52:10 0000 -------
(In reply to comment #1)
> Reopen with iproute2 version...

$  eix iproute | grep Installed:
     Installed:           051007
$ ip -V
ip utility, iproute2-ss051007

------- Comment #3 From SpanKY 2006-01-29 16:40:16 0000 -------
well `ip r` wouldnt work now anyways as there is 'route' and 'rule' ...

------- Comment #4 From Jan Minar 2006-01-29 17:15:49 0000 -------
(In reply to comment #3)
> well `ip r` wouldnt work now anyways as there is 'route' and 'rule' ...

I've seen the shortened versions so many times it didn't occur to me the
interface could change.  Is this a feature then?  So that it's clear the syntax
is ``ip route'', not ``ip r'', 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 -> route
    ru -> rule

------- Comment #5 From SpanKY 2006-01-29 18:00:03 0000 -------
looks like a bad example

iproute2-2.6.10.20050112-r1 supports both 'rule' and 'route' but 'ip r'
defaults to route as you showed

------- Comment #6 From SpanKY 2006-01-29 19:10:55 0000 -------
aaaaaand this is a bug as newer versions support `ip r` again ;)

upgrade to 2.6.15.20060110

First Last Prev Next    No search results available      Search page      Enter new bug