Bug 1037770

Summary: Recent -rt kernels compiled without CONFIG_NETFILTER_XT_MATCH_ADDRTYPE
Product: Red Hat Enterprise MRG Reporter: Karl Hastings <kazen>
Component: realtime-kernelAssignee: John Kacur <jkacur>
Status: CLOSED ERRATA QA Contact: MRG Quality Engineering <mrgqe-bugs>
Severity: medium Docs Contact:
Priority: medium    
Version: 2.4CC: bhu, jkacur, jkastner, jumanjiman, kazen, lgoncalv, williams
Target Milestone: 2.4.3   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Cause: rt kernels compiled without CONFIG_NETFILTER_XT_MATCH_ADDRTYPE Consequence: Necessary module in order to add an iptables rule matching on an addrtype is not available Fix: CONFIG_NETFILTER_XT_MATCH_ADDRTYPE=m added to config files Result: ipt_addrtype is available and it is possible to create an iptables rule matching on addrtype
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-01-28 17:41:37 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Karl Hastings 2013-12-03 19:03:31 UTC
Description of problem:
kernel-rt does not set CONFIG_NETFILTER_XT_MATCH_ADDRTYPE in kernel config, therefore the necessary module (ipt_addrtype) is missing from /lib/modules

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


How reproducible:
100%

Steps to Reproduce:
1. Install and boot into recent kernel-rt
2. Attempt to add a iptables rule matching on addrtype:
     # iptables -t nat -N blah
     # iptables -t nat -A PREROUTING -m addrtype --dst-type LOCAL -j blah


Actual results:
iptables: No chain/target/match by that name."

Expected results:
iptable rule should be accepted.

Additional info:
[root@td-lss05:~]# egrep '(CONFIG_IP_NF_MATCH_ADDRTYPE|CONFIG_NETFILTER_XT_MATCH_ADDRTYPE)' /boot/config-*
/boot/config-2.6.32-358.el6.x86_64:CONFIG_IP_NF_MATCH_ADDRTYPE=m
/boot/config-2.6.32-431.el6.x86_64:CONFIG_IP_NF_MATCH_ADDRTYPE=m
/boot/config-3.0.36-rt57.66.el6rt.x86_64:# CONFIG_NETFILTER_XT_MATCH_ADDRTYPE is not set
/boot/config-3.8.13-rt14.20.el6rt.x86_64:# CONFIG_NETFILTER_XT_MATCH_ADDRTYPE is not set

Comment 2 Paul Morgan 2013-12-04 16:22:15 UTC
please remove this bug from private group. it was marked private initially because it has a hostname in the additional info. i am the original submitter via red hat portal case 00990400. tia.

Comment 3 Karl Hastings 2013-12-05 15:40:30 UTC
Removing from private group at customer request.

Comment 4 John Kacur 2013-12-05 22:38:34 UTC
Fixed in 3.8.13.13-rt25.29 and above

Comment 9 errata-xmlrpc 2014-01-28 17:41:37 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHSA-2014-0100.html