iproute missing q_netem.so

Bug #17971 reported by Tony Lewis
4
Affects Status Importance Assigned to Milestone
iproute (Ubuntu)
Fix Released
Medium
Unassigned

Bug Description

iproute package is missing /usr/lib/tc/q_netem.so, and so is unable to do
network emulation.

Running the example command from
http://developer.osdl.org/shemminger/netem/example.html I get:
root@halogen:~ # tc qdisc change dev eth0 root netem latency 100ms 10ms
Unknown qdisc "netem", hence option "latency" is unparsable

Workaround: the debian version has q_netem.so, so I installed libatm1 and then
Debian's iproute package. The Debian package looks like it is built from the
same codebase (20041019) but is "-3" rather than ubuntu's "-1"

The source file, q_netem.c exists in the source file used to build the package:
tony@halogen:~$ wget
http://archive.ubuntu.com/ubuntu/pool/main/i/iproute/iproute_20041019.orig.tar.gz
tony@halogen:~$ tar tvfz iproute_20041019.orig.tar.gz | grep netem
-r--r--r-- shemminger/users 6394 2004-10-20 06:49:02 iproute2-2.6.9/tc/q_netem.c

There is nothing in the diff file that looks like it alters anything to do with
netem:
tony@halogen:~$ wget
http://archive.ubuntu.com/ubuntu/pool/main/i/iproute/iproute_20041019-1.diff.gz
tony@halogen:~$ gunzip -c iproute_20041019-1.diff.gz | grep netem
tony@halogen:~$

So maybe it's just not being packaged up after building?

Revision history for this message
Matt Zimmerman (mdz) wrote :

The fixed version has been merged into Breezy:

mizar:[~] apt-cache madison iproute
   iproute | 20041019-3 | http://us.archive.ubuntu.com breezy/main Packages
[...]
mizar:[~] dpkg -L iproute | grep q_netem
/usr/lib/tc/q_netem.so

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.