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 2120253 - Please add bfd_multi port in corenetwork
Summary: Please add bfd_multi port in corenetwork
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: selinux-policy
Version: 8.7
Hardware: All
OS: Linux
medium
medium
Target Milestone: rc
: 8.8
Assignee: Zdenek Pytela
QA Contact: Milos Malik
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-08-22 10:52 UTC by Michal Ruprich
Modified: 2023-05-16 11:00 UTC (History)
2 users (show)

Fixed In Version: selinux-policy-3.14.3-109.el8
Doc Type: No Doc Update
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-05-16 09:03:52 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-131825 0 None None None 2022-08-22 10:58:47 UTC
Red Hat Product Errata RHBA-2023:2965 0 None None None 2023-05-16 09:04:05 UTC

Description Michal Ruprich 2022-08-22 10:52:24 UTC
Description of problem:

Currently I am working to get new SELinux policy to RHEL8 in a similar fashion as it was done in Fedora. I would like to ask you to add bfd_multi in the selinux-policy corenetwork so that BFD daemon from FRR can bind to it:

network_port(bfd_multi, tcp,4784,s0, udp,4784,s0)

Comment 1 Zdenek Pytela 2022-08-22 12:46:35 UTC
Michale,

It's quite late in RHEL 8.7 life cycle now, is it okay to deliver in 8.8?

Comment 2 Michal Ruprich 2022-08-22 13:33:08 UTC
Hi Zdenek,

I know it is late, creating the policy for FRR took longer than I thought it would. Sure we can do this in 8.8, I was just hoping to push the new selinux policy with frr to 8.7. I think the policy is ready but the only problem is the bfdd port which effectively makes bfdd unusable, because it won't start without the port. I don't suppose there is a way around this, is there?

Comment 3 Michal Ruprich 2022-08-23 05:42:55 UTC
Solved for now by using corenet_udp_bind_all_unreserved_ports, let's move this one to 8.8.

Comment 4 Zdenek Pytela 2022-08-26 08:58:10 UTC
Commit to backport:
commit eccebdd167cc32e87c9b23b5b07e96e13f7a7568
Author: Zdenek Pytela <zpytela>
Date:   Thu May 12 11:23:12 2022 +0200

    Label port 4784/tcp and 4784/udp with bfd_multi

Comment 15 errata-xmlrpc 2023-05-16 09:03:52 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 (selinux-policy 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-2023:2965


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