Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 293709 - sys-apps/iproute2 has wrong hardcoded netfilter path
Summary: sys-apps/iproute2 has wrong hardcoded netfilter path
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-11-19 08:42 UTC by Vitaliy V. Osypenko
Modified: 2009-11-29 15:53 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Vitaliy V. Osypenko 2009-11-19 08:42:09 UTC
iproute2 has wrong hardcoded netfilter path with iptables-1.4.5 and iproute2-2.6.29.1-r1

 tc filter add dev ifb0 parent 10:0 protocol ip prio 1 u32 \
 match ip protocol 6 0xff \
 match u8 0x05 0x0f at 0 \
 match u16 0x0000 0xffc0 at 2 \
 match u8 0x10 0xff at 33 \
 flowid 10:1 \
 action ipt -j MARK --set-mark 1

/usr/lib64/iptables/libipt_mark.so: cannot open shared object file: No such file or directory
 failed to find target MARK
Comment 1 Vitaliy V. Osypenko 2009-11-19 08:45:19 UTC
This lib is in:

/lib/xtables/libxt_mark.so
Comment 2 SpanKY gentoo-dev 2009-11-27 21:34:59 UTC
this was fixed at some point, but then broken along the way.  changed 2.6.29.1-r2 to use a different method of setting the path.
Comment 3 Vitaliy V. Osypenko 2009-11-29 01:23:07 UTC
It's not fixed, file name is wrong, it's libxt_mark.so now. It's possible that it won't be enough just to rename reference in iproute2 source.

/lib64/xtables/libipt_mark.so: cannot open shared object file: No such file or directory
Comment 4 SpanKY gentoo-dev 2009-11-29 15:53:29 UTC
that is a different issue.  ignoring that, the iproute2 code already has fallback logic to specifically handle the different named libraries.  it only displays an error for the last tried file (which is what you showed).

run things through strace to figure out why it's failing on your system.