FS#17094 - [iproute2] installs dist files in wrong location; tc cannot find them

Attached to Project: Arch Linux
Opened by Marti (intgr) - Wednesday, 11 November 2009, 09:33 GMT
Last edited by Ronald van Haren (pressh) - Wednesday, 11 November 2009, 21:37 GMT
Task Type Bug Report
Category Packages: Core
Status Closed
Assigned To Ronald van Haren (pressh)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:
The traffic control (tc) utility in the iproute2 package contains a feature called netem (network emulation). This feature can be used to, among other things, emulate a variable network latency.

To emulate more complex random variation patterns, it looks for "distribution files" under /usr/lib/tc/*.dist

These files, however, are not included in the Arch Linux release of iproute2.

Additional info:
* package version(s)
core/iproute2 2.6.29-2


Steps to reproduce:

% sudo tc qdisc change dev eth0 root netem delay 100ms 50ms distribution normal
No distribution data for normal (/usr/lib//tc//normal.dist: No such file or directory)
zsh: segmentation fault sudo tc qdisc change dev eth0 root netem delay 100ms 50ms distribution normal
% ls -la /usr/lib/tc/
total 156
drwxr-xr-x 2 root root 4096 2009-09-26 13:58 .
drwxr-xr-x 181 root root 135168 2009-11-11 11:32 ..
-rwxr-xr-x 1 root root 12473 2009-09-26 13:58 q_atm.so
This task depends upon

Closed by  Ronald van Haren (pressh)
Wednesday, 11 November 2009, 21:37 GMT
Reason for closing:  Fixed
Additional comments about closing:  2.6.29-3
Comment by Ronald van Haren (pressh) - Wednesday, 11 November 2009, 20:24 GMT
these files are at the moment wrongly installed under /lib, they should be under /usr/share. tc should probably patched for it too.

Loading...