ip rule show/list runs on and on after software update

Bug #1518715 reported by Michael Fox
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
iproute2 (Ubuntu)
New
Undecided
Unassigned

Bug Description

I have the iproute2 package installed on a 14.04 LTS system. Everything was operating just fine. I had not done a software update in a while. I used the Software Updater from Dash and updated the system. It updated a couple hundred megabytes. The update completed without error (as far as I know). It said a reboot was needed. So I rebooted.

After that, I had problems.

Specifically, when I type "ip rule list", the output runs on and on and on, seemingly without end.
0: from all lookup local
0: from all lookup local
0: from all lookup local
0: from all lookup local
0: from all lookup local
0: from all lookup local
...

I tried "ip rule flush" which seems to hang.
I was eventually able to clear out the rules with:
ip rule del pref 0
ip rule del pref 32766
ip rule del pref 32767

But that leaves me without even the 3 standard rules, which are:
0: from all lookup local
32766: from all lookup main
32767: from all lookup default

So I need to add those back
But as soon as I try to add the first of the 3 standard ip rules, the problem occurs again:
ip rule add from all table local pref 0
ip rule list
0: from all lookup local
0: from all lookup local
0: from all lookup local
0: from all lookup local
0: from all lookup local
0: from all lookup local
...

The same thing occurs if I try to add any of the other standard rules.

I tried updating a second 14.04 LTS machine. The same thing happened to that one.

Now what?

Michael Fox (news-9)
affects: ubuntu → iproute2 (Ubuntu)
Revision history for this message
Michael Fox (news-9) wrote :

Kernel version 3.16.0-53.

This may be the same as bug #1514785, which I found after submitting this bug. The other bug has lots of comments about which kernels are affected.

Revision history for this message
Markus Neubauer (mn-ubuntu) wrote :

Michael, thanks for your extended description - that's in deed the same PBR prob , thus marked as duplicate.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.