Bug 1383519 - Is the iproute package missing support for netem ?
Summary: Is the iproute package missing support for netem ?
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: iproute
Version: 24
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Phil Sutter
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-10-10 22:30 UTC by Leif Hedstrom
Modified: 2016-10-10 23:08 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-10-10 23:08:04 UTC
Type: Bug


Attachments (Terms of Use)

Description Leif Hedstrom 2016-10-10 22:30:57 UTC
I'm trying to setup some traffic shaping (using tc qdisc), but it's failing like this:

[root@haddock leif]# strace -e open tc qdisc add dev eno1 root netem delay 200ms
open("/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3
open("/lib64/libelf.so.1", O_RDONLY|O_CLOEXEC) = 3
open("/lib64/libm.so.6", O_RDONLY|O_CLOEXEC) = 3
open("/lib64/libdl.so.2", O_RDONLY|O_CLOEXEC) = 3
open("/lib64/libc.so.6", O_RDONLY|O_CLOEXEC) = 3
open("/lib64/libz.so.1", O_RDONLY|O_CLOEXEC) = 3
open("/proc/net/psched", O_RDONLY)      = 3
open("//usr/lib64/tc//q_netem.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
RTNETLINK answers: No such file or directory


There is a man-page for tc-netem, which shows basically the same command as above in the synopsis.

qdisc seems properly setup (I think, not an expert on this area):

[root@haddock leif]# tc qdisc
qdisc noqueue 0: dev lo root refcnt 2
qdisc fq_codel 0: dev eno1 root refcnt 2 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms ecn


The package does not seem to provide a q_netem.so shared library:

[root@haddock leif]# rpm -q -l iproute | grep lib
/usr/lib64/tc
/usr/lib64/tc/experimental.dist
/usr/lib64/tc/m_ipt.so
/usr/lib64/tc/m_xt.so
/usr/lib64/tc/normal.dist
/usr/lib64/tc/pareto.dist
/usr/lib64/tc/paretonormal.dist
/usr/lib64/tc/q_atm.so

Comment 1 Leif Hedstrom 2016-10-10 22:52:14 UTC
Oh, this seems like a red-herring, I'm missing the kernel-modules-extra-4.7.6-200.fc24.x86_64  package.

Sorry.


Note You need to log in before you can comment on or make changes to this bug.