Bug 483484

Summary: iproute2 bundles statistical distribution files (normal, pareto, paretonormal) in /usr/share/tc instead of /usr/lib/tc
Product: [Fedora] Fedora Reporter: John Beredimas <mperedim>
Component: iprouteAssignee: Marcela Mašláňová <mmaslano>
Status: CLOSED WONTFIX QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 10CC: blizzard, mmaslano, rvokal
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-09-21 13:23:43 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

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.