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.
For RHEL8, we decided to go with iptables-nft as a full replacement to legacy
iptables. Sadly, doing so we forgot about libiptc. This means that applications
creating rules via libiptc add them to legacy xtables hooks in kernel which are
not manageable from iptables-nft and probably don't work as expected, either.
I searched systemd package dist-git history and it seems libiptc support was
never explicitly enabled but came in via a rebase. Is this correct or do you
have a use-case requiring libiptc (and the associated firewalling
functionality)?
Considering the next steps, did you consider interfacing with firewalld once?
It seems libiptc is only needed for networkd, which we disable, and systemd-nspawn, where it's used to implement the --port= option. This is no change compared to RHEL7, so I think libiptc should continue to be disabled.
Hi David,
(In reply to David Tardon from comment #1)
> It seems libiptc is only needed for networkd, which we disable, and
> systemd-nspawn, where it's used to implement the --port= option. This is no
> change compared to RHEL7, so I think libiptc should continue to be disabled.
Thanks for the clarification. I don't comprehend what you mean with "continue
to be disabled", though: In RHEL8.2, systemd is configured with
'-Dlibiptc=true'. Are you suggesting to set that to 'false'? I would welcome
that change but can we tell if someone would miss the functionality?
Cheers, Phil
Hi David,
(In reply to David Tardon from comment #3)
> I meant "continue to be disabled, as it was in RHEL-7". Or, in other words,
> to disable it again starting with RHEL-8.3.
Ah, I wasn't aware it is disabled in RHEL7. Hereby updating the ticket to emphasize the request.
Thanks, Phil
What's the status here please? I would like to eliminate libiptc from RHEL9 entirely. Are you still positive about removing said dependency from systemd?
(In reply to Phil Sutter from comment #6)
> What's the status here please? I would like to eliminate libiptc from RHEL9
> entirely. Are you still positive about removing said dependency from systemd?
I don't think anything has changed since comment 1, so I'm pretty sure we are. In addition, current upstream code already uses nftables by default, with iptables just as a fallback, so libiptc will be even less needed in near future than it is now...
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 (systemd 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-2021:4469