Linked branches for quantal/precise to fix this issue.

** Branch linked: lp:~arges/ubuntu/quantal/iptables/fix-lp982961

** Description changed:

+ [Impact]
+ The RATEEST and statistic modules in iptables do not work correctly because 
they were not built properly. By linking these modules against -lm the modules 
work correctly.
+ 
+ [Test Case]
+ Run the following:
+ 
+ # iptables -m RATEEST
+ /lib/xtables/libxt_RATEEST.so: /lib/xtables/libxt_RATEEST.so: undefined 
symbol: log
+ iptables v1.4.12: Couldn't load match `RATEEST':Success
+ 
+ Try `iptables -h' or 'iptables --help' for more information.
+ 
+ # iptables -m statistic
+ /lib/xtables/libxt_statistic.so: /lib/xtables/libxt_statistic.so: undefined 
symbol: lround
+ iptables v1.4.12: Couldn't load match `statistic':Success
+ 
+ To pass the test we shouldn't see 'undefined symbol' for lround/log.
+ 
+ [Regression Potential]
+ These patches are cherry-picked from upstream iptables. 
+ They only add -lm when building RATEEST and statistics modules.
+ 
+ --
+ 
  # iptables -m RATEEST
  /lib/xtables/libxt_RATEEST.so: /lib/xtables/libxt_RATEEST.so: undefined 
symbol: log
  iptables v1.4.12: Couldn't load match `RATEEST':Success
  
  Try `iptables -h' or 'iptables --help' for more information.
  
  # iptables -m statistic
  /lib/xtables/libxt_statistic.so: /lib/xtables/libxt_statistic.so: undefined 
symbol: lround
  iptables v1.4.12: Couldn't load match `statistic':Success
  
  Try `iptables -h' or 'iptables --help' for more information.
  
  This two modules should be linked against -lm

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/982961

Title:
  "RATEEST" and "statistic" modules are broken

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/iptables/+bug/982961/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to