RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 2100881 - testsuite incompatible with ipv6-icmp protocol name
Summary: testsuite incompatible with ipv6-icmp protocol name
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 9
Classification: Red Hat
Component: firewalld
Version: 9.1
Hardware: All
OS: Unspecified
medium
medium
Target Milestone: rc
: ---
Assignee: Eric Garver
QA Contact: Tomas Dolezal
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-06-24 14:48 UTC by Tomas Dolezal
Modified: 2022-11-15 13:21 UTC (History)
2 users (show)

Fixed In Version: firewalld-1.1.1-2.el9
Doc Type: No Doc Update
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-11-15 11:22:54 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHELPLAN-126244 0 None None None 2022-06-24 14:52:31 UTC
Red Hat Product Errata RHBA-2022:8389 0 None None None 2022-11-15 11:22:58 UTC

Description Tomas Dolezal 2022-06-24 14:48:23 UTC
Description of problem:
on current rhel the protocol name for icmpv6 is ipv6-icmp which, when reported by iptables-save, breaks parsing within tests.

I wasn't able to track down the external change which causes these tests to fail in reasonable time.

Version-Release number of selected component (if applicable):
firewalld-1.0.0-4.el9.noarch
selinux-policy-34.1.34-1.el9.noarch
nftables-0.9.8-12.el9.aarch64
libnftnl-1.2.2-1.el9.aarch64
libmnl-1.0.4-15.el9.aarch64
iptables-nft-1.8.8-2.el9.aarch64
ipset-7.11-6.el9.aarch64
NetworkManager-1.39.6-1.el9.aarch64
kernel-5.14.0-115.el9.aarch64
setup-2.13.7-6.el9.noarch

How reproducible:
always

Steps to Reproduce:

Actual results:
# getent protocols 58
ipv6-icmp             58 IPv6-ICMP

# tail -n 17 */testsuite.log | egrep '^[+-]|FAILED'
--- -   2022-06-23 15:09:11.618277758 -0400
+++ /tmp/tmp.37rZRpWYp3/rpmbuild/BUILD/firewalld-1.0.0/src/tests/testsuite.dir/at-groups/195/stdout     2022-06-23 15:09:11.584224483 -0400
-ACCEPT icmpv6 ::/0 ::/0
+ACCEPT ipv6-icmp ::/0 ::/0
195. firewall-cmd.at:1369: 195. rich rules priority (firewall-cmd.at:1369): FAILED (firewall-cmd.at:1425)
--- -   2022-06-23 15:11:32.976231616 -0400
+++ /tmp/tmp.37rZRpWYp3/rpmbuild/BUILD/firewalld-1.0.0/src/tests/testsuite.dir/at-groups/218/stdout     2022-06-23 15:11:32.943538618 -0400
-ACCEPT icmpv6 ::/0 ::/0 ipv6-icmptype 134
-ACCEPT icmpv6 ::/0 ::/0 ipv6-icmptype 135
+ACCEPT ipv6-icmp ::/0 ::/0 ipv6-icmptype 134
+ACCEPT ipv6-icmp ::/0 ::/0 ipv6-icmptype 135
218. gh258.at:1: 218. zone dispatch layout (gh258.at:1): FAILED (gh258.at:241)
--- -   2022-06-23 15:13:29.775179902 -0400
+++ /tmp/tmp.37rZRpWYp3/rpmbuild/BUILD/firewalld-1.0.0/src/tests/testsuite.dir/at-groups/233/stdout     2022-06-23 15:13:29.722948912 -0400
-MARK icmpv6 ::/0 ::/0 ipv6-icmptype 4 code 0 MARK or 0x86
+MARK ipv6-icmp ::/0 ::/0 ipv6-icmptype 4 code 0 MARK or 0x86
233. rhbz1855140.at:1: 233. rich rule icmptypes with one family (rhbz1855140.at:1): FAILED (rhbz1855140.at:35)
--- -   2022-06-23 15:16:30.575055836 -0400
+++ /tmp/tmp.37rZRpWYp3/rpmbuild/BUILD/firewalld-1.0.0/src/tests/testsuite.dir/at-groups/265/stdout     2022-06-23 15:16:30.532035178 -0400
-ACCEPT icmpv6-- 0.0.0.0/0 0.0.0.0/0 ctstate NEW,UNTRACKED
+ACCEPT ipv6-icmp-- 0.0.0.0/0 0.0.0.0/0 ctstate NEW,UNTRACKED
265. protocols.at:1: 265. protocols (protocols.at:1): FAILED (protocols.at:32)
--- -   2022-06-23 15:17:27.958285612 -0400
+++ /tmp/tmp.37rZRpWYp3/rpmbuild/BUILD/firewalld-1.0.0/src/tests/testsuite.dir/at-groups/266/stdout     2022-06-23 15:17:27.931744427 -0400
-ACCEPT icmpv6 ::/0 ::/0 ipv6-icmptype 128
-ACCEPT icmpv6 ::/0 ::/0 ipv6-icmptype 136
+ACCEPT ipv6-icmp ::/0 ::/0 ipv6-icmptype 128
+ACCEPT ipv6-icmp ::/0 ::/0 ipv6-icmptype 136
266. rich_rules.at:1: 266. rich rules (rich_rules.at:1): FAILED (rich_rules.at:162)
--- -   2022-06-23 15:17:21.976680215 -0400
+++ /tmp/tmp.37rZRpWYp3/rpmbuild/BUILD/firewalld-1.0.0/src/tests/testsuite.dir/at-groups/267/stdout     2022-06-23 15:17:21.951774837 -0400
-REJECT icmpv6 ::/0 ::/0 ipv6-icmptype 128 reject-with icmp6-adm-prohibited
-REJECT icmpv6 ::/0 ::/0 ipv6-icmptype 129 reject-with icmp6-adm-prohibited
-REJECT icmpv6 ::/0 ::/0 ipv6-icmptype 137 reject-with icmp6-adm-prohibited
-REJECT icmpv6 1234:5678::/64 ::/0 ipv6-icmptype 137 reject-with icmp6-adm-prohibited
+REJECT ipv6-icmp ::/0 ::/0 ipv6-icmptype 128 reject-with icmp6-adm-prohibited
+REJECT ipv6-icmp ::/0 ::/0 ipv6-icmptype 129 reject-with icmp6-adm-prohibited
+REJECT ipv6-icmp ::/0 ::/0 ipv6-icmptype 137 reject-with icmp6-adm-prohibited
+REJECT ipv6-icmp 1234:5678::/64 ::/0 ipv6-icmptype 137 reject-with icmp6-adm-prohibited
267. icmp_blocks.at:1: 267. ICMP blocks (icmp_blocks.at:1): FAILED (icmp_blocks.at:56)
--- -   2022-06-23 15:17:48.014522018 -0400
+++ /tmp/tmp.37rZRpWYp3/rpmbuild/BUILD/firewalld-1.0.0/src/tests/testsuite.dir/at-groups/270/stdout     2022-06-23 15:17:48.001642363 -0400
-ACCEPT icmpv6 ::/0 ::/0
+ACCEPT ipv6-icmp ::/0 ::/0
270. zone.at:1: 270. zone - target (zone.at:1): FAILED (zone.at:117)
--- -   2022-06-23 15:17:40.546399671 -0400
+++ /tmp/tmp.37rZRpWYp3/rpmbuild/BUILD/firewalld-1.0.0/src/tests/testsuite.dir/at-groups/271/stdout     2022-06-23 15:17:40.531680351 -0400
-ACCEPT icmpv6 ::/0 ::/0 ipv6-icmptype 134
-ACCEPT icmpv6 ::/0 ::/0 ipv6-icmptype 135
+ACCEPT ipv6-icmp ::/0 ::/0 ipv6-icmptype 134
+ACCEPT ipv6-icmp ::/0 ::/0 ipv6-icmptype 135
271. rpfilter.at:1: 271. rpfilter (rpfilter.at:1): FAILED (rpfilter.at:22)

Expected results:
ipv6-icmp is accepted on systems that use this name

Additional info:

Comment 5 Eric Garver 2022-07-05 20:56:26 UTC
Upstream:

c54ea7b5e492 ("test(functions): normalize iptables ipv6-icmp/icmpv6")
54e761a0fe2d ("test(functions): commonize iptables output normalization")

Comment 13 errata-xmlrpc 2022-11-15 11:22:54 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 (firewalld bug fix and enhancement update), and where to find the updated
files, follow the link below.

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

https://access.redhat.com/errata/RHBA-2022:8389


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