Bug 2088030
| Summary: | SELinux is preventing /usr/lib/frr/watchfrr from using the setpgid access on a process. | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 8 | Reporter: | Brian J. Murrell <brian> |
| Component: | selinux-policy | Assignee: | Zdenek Pytela <zpytela> |
| Status: | CLOSED DUPLICATE | QA Contact: | Milos Malik <mmalik> |
| Severity: | high | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 8.5 | CC: | lvrabec, mmalik, ssekidde |
| Target Milestone: | rc | ||
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2022-05-25 10:03:32 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: | |||
I believe this bug is a duplicate of BZ#1941765. *** This bug has been marked as a duplicate of bug 1941765 *** |
SELinux is preventing /usr/lib/frr/watchfrr from using the setpgid access on a process. ***** Plugin catchall (100. confidence) suggests ************************** If you believe that watchfrr should be allowed setpgid access on processes labeled init_t by default. Then you should report this as a bug. You can generate a local policy module to allow this access. Do allow this access for now by executing: # ausearch -c 'watchfrr' --raw | audit2allow -M my-watchfrr # semodule -X 300 -i my-watchfrr.pp Additional Information: Source Context system_u:system_r:init_t:s0 Target Context system_u:system_r:init_t:s0 Target Objects Unknown [ process ] Source watchfrr Source Path /usr/lib/frr/watchfrr Port <Unknown> Host server.interlinx.bc.ca Source RPM Packages frr-7.5-4.el8_5.2.x86_64 Target RPM Packages SELinux Policy RPM selinux-policy-targeted-3.14.3-80.el8_5.2.noarch Local Policy RPM selinux-policy-targeted-3.14.3-80.el8_5.2.noarch Selinux Enabled True Policy Type targeted Enforcing Mode Enforcing Host Name server.interlinx.bc.ca Platform Linux server.interlinx.bc.ca 4.18.0-348.12.2.el8_5.x86_64 #1 SMP Wed Jan 19 14:35:04 EST 2022 x86_64 x86_64 Alert Count 7 First Seen 2022-01-30 12:07:20 EST Last Seen 2022-05-18 11:25:50 EDT Local ID b75c53d2-5645-4daa-a021-9a179f1a9104 Raw Audit Messages type=AVC msg=audit(1652887550.186:38): avc: denied { setpgid } for pid=1336 comm="watchfrr" scontext=system_u:system_r:init_t:s0 tcontext=system_u:system_r:init_t:s0 tclass=process permissive=0 type=SYSCALL msg=audit(1652887550.186:38): arch=x86_64 syscall=setpgid success=no exit=EACCES a0=0 a1=0 a2=1 a3=7f716685d940 items=0 ppid=1264 pid=1336 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) Hash: watchfrr,init_t,init_t,process,setpgid