Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
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 for remaining issues from bug bz#1326726. Still not fully fixed. Tested on
iproute-3.10.0-87.el7
+++ This bug was initially created as a clone of Bug #1326726 +++
--- Additional comment from Phil Sutter on 2017-05-18 14:19:34 EDT ---
Hi Jaroslav,
(In reply to Jaroslav Aster from comment #6)
> Hi Phil,
>
> unfortunately I see still a lot of fails and segfaults in my test case. Yes,
> there is some progress, but it is not definitely fixed. See
>
> http://beaker-archive.app.eng.bos.redhat.com/beaker-logs/2017/04/18159/
> 1815921/3752192/54687568/TESTOUT.log
Yes, xt action is still buggy. The segfaults are all related to using any of the NAT targets (SNAT, DNAT, MASQUERADE and REDIRECT). I found the reason why it segfaults (which happens in libipt, BTW) and I have a workaround at hand. Problem is, these targets will still refuse to work then, just the segfault does not happen anymore.
Other non-functional targets are internal ones (ACCEPT, DROP, RETURN). This is also a known issue upstream.
You see, xt action has very limited use even upstream and so I don't see much sense in trying to get all these things functional.
Upstream commit to backport (which prevents the segfault at least):
commit f6fc1055e41a8a924313c336b39b9ffe0c86938b
Author: Phil Sutter <psutter>
Date: Tue May 23 15:40:57 2017 +0200
tc: m_xt: Prevent a segfault in libipt
This happens with NAT targets, such as SNAT, DNAT and MASQUERADE. These
are still not usable with this patch, but at least tc doesn't crash
anymore when one tries to use them.
Signed-off-by: Phil Sutter <phil>
Hi Phil,
I can confirm that there are no segfaults anymore, but there are still a lot of issues to solve.
I'm not sure what we should do with this bug.
Hi Jaroslav,
(In reply to Jaroslav Aster from comment #3)
> Hi Phil,
>
> I can confirm that there are no segfaults anymore, but there are still a lot
> of issues to solve.
>
> I'm not sure what we should do with this bug.
There are conceptual problems with xt action, I don't think it is even possible to address all of them. Assuming that anyone using it should be aware of its limitations, I'd say making sure tc doesn't crash is about the best we can do.
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.
https://access.redhat.com/errata/RHEA-2018:0815