Bug 483484 - iproute2 bundles statistical distribution files (normal, pareto, paretonormal) in /usr/share/tc instead of /usr/lib/tc
Summary: iproute2 bundles statistical distribution files (normal, pareto, paretonormal...
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: iproute
Version: 10
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Marcela Mašláňová
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-02-01 17:59 UTC by John Beredimas
Modified: 2009-09-21 13:23 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2009-09-21 13:23:43 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description John Beredimas 2009-02-01 17:59:58 UTC
Description of problem:

The iproute2 bundles statistical distribution files (normal, pareto, paretonormal) in /usr/share/tc instead of /usr/lib/tc. This results in a segmentation fault whenever someone issues a tc command that references one of those files. 

Version-Release number of selected component (if applicable):

iproute-2.6.27-2.fc10.i386

How reproducible:

Just issue a tc command that should leverage the offending files: 

# tc qdisc change dev eth0 root netem delay 100ms 20ms distribution normal

  
Actual results:

tc segfaults 

[root@taxi www]# tc qdisc change dev eth0 root netem delay 100ms 20ms distribution normal
No distribution data for normal (/usr/lib//tc//normal.dist: No such file or directory)
Segmentation fault
[root@taxi www]#


Expected results:

The tc should not segfault

Additional info:

Comment 1 Marcela Mašláňová 2009-02-04 08:24:28 UTC
Hello,
thank you for you bug report. These files have to be correctly installed into /usr/share according to FHS (http://www.pathname.com/fhs/pub/fhs-2.3.html#USRSHAREARCHITECTUREINDEPENDENTDATA)
It will be fixed in iproute-2.6.28-2.fc10 and pushed to stable after kernel will be at 2.6.28.

Comment 2 Fedora Update System 2009-02-05 02:11:04 UTC
iproute-2.6.28-2.fc10 has been pushed to the Fedora 10 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update iproute'.  You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F10/FEDORA-2009-1237

Comment 3 Christopher Blizzard 2009-05-15 22:46:05 UTC
It's been a few months and this package still hasn't been pushed to the main updates repo.

Comment 4 Marcela Mašláňová 2009-05-18 06:24:05 UTC
I was waiting for the same version of kernel as the iproute is. I'll update to iproute-2.6.29.

Comment 5 Marcela Mašláňová 2009-05-18 07:39:21 UTC
Since release 2.6.28 there is a bug 497344 which has no solution yet. I'd rather don't break more things and stay with 2.6.27 release. If you want you can download rpm from koji http://koji.fedoraproject.org/koji/buildinfo?buildID=81473
in case you are not dependent on ipt.

Comment 6 Marcela Mašláňová 2009-09-21 13:23:43 UTC
The new release of iproute has different requirement. I'd rather not update to new versions in this release.


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