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.
I know about this for some time and I would like to fix this in RHEL-8.7.0. In this case I will create a Decentralized SELinux Policy for the package that should cover up most of the use cases for frr.
I am closing this as a duplicate of bug #1941765. I am now in a process of finishing the mentioned bug and all the aforementioned AVCs should go away.
*** This bug has been marked as a duplicate of bug 1941765 ***
Description of problem: watchfrr triggers selinux violations time->Thu Jan 20 17:33:03 2022 type=PROCTITLE msg=audit(1642696383.603:28262): proctitle=2F7573722F6C69622F6672722F7761746368667272002D64002D4600747261646974696F6E616C007A6562726100626770640073746174696364 type=MMAP msg=audit(1642696383.603:28262): fd=9 flags=0x1 type=SYSCALL msg=audit(1642696383.603:28262): arch=c000003e syscall=9 success=yes exit=140627744976896 a0=0 a1=2000 a2=3 a3=1 items=0 ppid=184611 pid=184617 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm="watchfrr" exe="/usr/lib/frr/watchfrr" subj=system_u:system_r:init_t:s0 key=(null) type=AVC msg=audit(1642696383.603:28262): avc: denied { map } for pid=184617 comm="watchfrr" path="/var/tmp/frr/watchfrr.184611/logbuf.184617" dev="dm-3" ino=8508560 scontext=system_u:system_r:init_t:s0 tcontext=system_u:object_r:init_tmp_t:s0 tclass=file permissive=1 ---- time->Thu Jan 20 17:33:03 2022 type=PROCTITLE msg=audit(1642696383.607:28263): proctitle=2F7573722F6C69622F6672722F7761746368667272002D64002D4600747261646974696F6E616C007A6562726100626770640073746174696364 type=SYSCALL msg=audit(1642696383.607:28263): arch=c000003e syscall=109 success=yes exit=0 a0=0 a1=0 a2=1 a3=7fe672c7e940 items=0 ppid=184617 pid=184621 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm="watchfrr" exe="/usr/lib/frr/watchfrr" subj=system_u:system_r:init_t:s0 key=(null) type=AVC msg=audit(1642696383.607:28263): avc: denied { setpgid } for pid=184621 comm="watchfrr" scontext=system_u:system_r:init_t:s0 tcontext=system_u:system_r:init_t:s0 tclass=process permissive=1 How reproducible: systemctl restart frr Expected results: no selinux violations