Hide Forgot
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
Oh, this seems like a red-herring, I'm missing the kernel-modules-extra-4.7.6-200.fc24.x86_64 package. Sorry.