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 1691380

Summary: Missing warning for "-t" option in man iptables-save(8)
Product: Red Hat Enterprise Linux 7 Reporter: Rastislav Hepner <rhepner>
Component: iptablesAssignee: Phil Sutter <psutter>
Status: CLOSED ERRATA QA Contact: Jiri Peska <jpeska>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 7.7CC: iptables-maint-list, jpeska, todoleza
Target Milestone: rcKeywords: ManPageChange
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: iptables-1.4.21-33.el7 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-08-06 13:06:28 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 Rastislav Hepner 2019-03-21 14:06:19 UTC
Description of problem:
man iptables(8) on RHEL 7.6 have following warning about possibility that option "-t" might load some modules as depedencies.
 
"
-t, --table table
              This option specifies the packet matching table which the command should operate on.  If the kernel is configured with automatic module loading, an attempt will be made to load the appropriate
              module for that table if it is not already there.

              The tables are as follows:
...
"

While iptables-save(8) contain much more brief explanation without explicitly stating such possibility.

Version-Release number of selected component (if applicable):
iptables-1.4.21-28.el7.x86_64

Expected results:
iptables-save(8) contains explicit warning that "-t" option might load additional modules as dependencies.

Comment 3 Phil Sutter 2019-03-26 18:04:25 UTC
Patch sent upstream: https://marc.info/?l=netfilter-devel&m=155362342801518&w=2

Comment 4 Phil Sutter 2019-04-03 18:06:18 UTC
Upstream commit to backport:

commit 3390007a11cbc45de1522f99ae751a3c5d55dd6f (origin/master, origin/HEAD)
Author: Phil Sutter <phil>
Date:   Tue Mar 26 19:03:43 2019 +0100

    man: iptables-save: Add note about module autoloading
    
    Using '-t' parameter in iptables-save might lead to kernel module
    loading, just like with iptables itself. Copy the hint from iptables.8
    to inform users.
    
    Signed-off-by: Phil Sutter <phil>
    Signed-off-by: Pablo Neira Ayuso <pablo>

Comment 9 errata-xmlrpc 2019-08-06 13:06:28 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.

https://access.redhat.com/errata/RHBA-2019:2218