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 1941765

Summary: AVCs while running frr tests on RHEL 8.4.0 Beta-1.2
Product: Red Hat Enterprise Linux 8 Reporter: Daniel Rusek <drusek>
Component: frrAssignee: Michal Ruprich <mruprich>
Status: CLOSED ERRATA QA Contact: František Hrdina <fhrdina>
Severity: unspecified Docs Contact: Šárka Jana <sjanderk>
Priority: unspecified    
Version: 8.4CC: brian, fhrdina, lvrabec, mmalik, plautrba, psklenar, sjanderk, ssekidde, svenvd
Target Milestone: rcKeywords: AutoVerified, Triaged
Target Release: ---Flags: pm-rhel: mirror+
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: frr-7.5.1-3.el8 Doc Type: Bug Fix
Doc Text:
.The `frr` binary files and scripts have a new location Previously, the `frr` package for managing dynamic routing stack contained its binary files and scripts in the `/usr/lib/frr` directory, which caused certain issues when applying the new targeted SELinux policy. Consequently, SELinux logged denial messages in access vector cache (AVC) and prevented `frr` from starting properly. With this update, `/usr/libexec/frr` is the new location of the `frr` binary files and scripts. As a result, SELinux applies rules for binaries and scripts in `/usr/libexec/frr` and for other `frr` libraries in `/usr/lib64/frr` separately, and no longer produces denial messages.
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-11-08 09:39:31 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:
Bug Depends On:    
Bug Blocks: 1903942    

Comment 1 Petr Sklenar 2021-03-23 08:00:20 UTC
It looks like fedora bug exists too.
https://bugzilla.redhat.com/show_bug.cgi?id=1749251

Comment 2 Zdenek Pytela 2021-03-23 12:48:18 UTC
Confining the frr service in its own selinux policy module is being worked on in bz#1714984, we expect the fix be delivered in RHEL 8.5.

Comment 3 Milos Malik 2021-04-21 12:45:53 UTC
The SELinux denials say /usr/lib/frr/watchfrr process was running under init_t and did something unexpected. Is watchfrr a service which should be running for a long time, or is it a one-time script that finishes quickly?

Comment 5 František Hrdina 2021-04-23 06:09:18 UTC
(In reply to Milos Malik from comment #3)
> The SELinux denials say /usr/lib/frr/watchfrr process was running under
> init_t and did something unexpected. Is watchfrr a service which should be
> running for a long time, or is it a one-time script that finishes quickly?

Hi, according to the user manual:

"WATCHFRR is a daemon that handles failed daemon processes and intelligently restarts them as needed."

http://docs.frrouting.org/en/latest/watchfrr.html

Comment 6 František Hrdina 2021-09-16 13:34:18 UTC
Any update on this?

Comment 10 Zdenek Pytela 2022-05-25 10:03:32 UTC
*** Bug 2088030 has been marked as a duplicate of this bug. ***

Comment 11 Zdenek Pytela 2022-06-14 16:06:56 UTC
Switching the component to frr based on preliminary agreement with the team.

Comment 12 Zdenek Pytela 2022-06-14 16:10:06 UTC
*** Bug 2091615 has been marked as a duplicate of this bug. ***

Comment 13 Michal Ruprich 2022-08-10 08:07:21 UTC
*** Bug 2043120 has been marked as a duplicate of this bug. ***

Comment 29 errata-xmlrpc 2022-11-08 09:39:31 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 (frr 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:7560