Bug 2417868
| Summary: | SELinux is preventing bwrap from 'sys_admin' accesses on the cap_userns labeled thumb_t. | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | adamkis750alt | ||||||
| Component: | selinux-policy | Assignee: | Zdenek Pytela <zpytela> | ||||||
| Status: | CLOSED DUPLICATE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||
| Severity: | unspecified | Docs Contact: | |||||||
| Priority: | unspecified | ||||||||
| Version: | 43 | CC: | adamkis750alt, dwalsh, lvrabec, mmalik, omosnacek, pkoncity, vmojzis, zpytela | ||||||
| Target Milestone: | --- | ||||||||
| Target Release: | --- | ||||||||
| Hardware: | x86_64 | ||||||||
| OS: | Unspecified | ||||||||
| Whiteboard: | abrt_hash:d1b6261164e00f7c55cc7295c2bf342dafc5ae09d1e88d314478895bf06cfce1;VARIANT_ID=xfce; | ||||||||
| Fixed In Version: | Doc Type: | --- | |||||||
| Doc Text: | Story Points: | --- | |||||||
| Clone Of: | Environment: | ||||||||
| Last Closed: | 2025-12-03 16:38:13 UTC | Type: | --- | ||||||
| Regression: | --- | Mount Type: | --- | ||||||
| Documentation: | --- | CRM: | |||||||
| Verified Versions: | Category: | --- | |||||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||||
| Embargoed: | |||||||||
| Attachments: |
|
||||||||
Created attachment 2116777 [details]
File: description
Created attachment 2116778 [details]
File: os_info
*** This bug has been marked as a duplicate of bug 2415016 *** |
Description of problem: I searched up what bwrap is, and it said that it is an authorized core Linux app, so SELinux shouldn't block it. SELinux is preventing bwrap from 'sys_admin' accesses on the cap_userns labeled thumb_t. ***** Plugin catchall (100. confidence) suggests ************************** If you believe that bwrap should be allowed sys_admin access on cap_userns labeled thumb_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 'bwrap' --raw | audit2allow -M my-bwrap # semodule -X 300 -i my-bwrap.pp Additional Information: Source Context unconfined_u:unconfined_r:thumb_t:s0-s0:c0.c1023 Target Context unconfined_u:unconfined_r:thumb_t:s0-s0:c0.c1023 Target Objects Unknown [ cap_userns ] Source bwrap Source Path bwrap Port <Unknown> Host (removed) Source RPM Packages Target RPM Packages SELinux Policy RPM selinux-policy-targeted-42.16-1.fc43.noarch Local Policy RPM selinux-policy-targeted-42.16-1.fc43.noarch Selinux Enabled True Policy Type targeted Enforcing Mode Enforcing Host Name (removed) Platform Linux (removed) 6.17.8 #1 SMP PREEMPT_DYNAMIC Sun Nov 23 19:36:45 CET 2025 x86_64 Alert Count 9 First Seen 2025-11-14 15:51:15 CET Last Seen 2025-11-30 09:55:19 CET Local ID d2db149e-2e91-42e0-a661-7e9b9aaf317b Raw Audit Messages type=AVC msg=audit(1764492919.26:662): avc: denied { sys_admin } for pid=203630 comm="bwrap" capability=21 scontext=unconfined_u:unconfined_r:thumb_t:s0-s0:c0.c1023 tcontext=unconfined_u:unconfined_r:thumb_t:s0-s0:c0.c1023 tclass=cap_userns permissive=0 Hash: bwrap,thumb_t,thumb_t,cap_userns,sys_admin Version-Release number of selected component: selinux-policy-targeted-42.16-1.fc43.noarch Additional info: reporter: libreport-2.17.15 reason: SELinux is preventing bwrap from 'sys_admin' accesses on the cap_userns labeled thumb_t. package: selinux-policy-targeted-42.16-1.fc43.noarch component: selinux-policy hashmarkername: setroubleshoot type: libreport kernel: 6.17.8 comment: I searched up what bwrap is, and it said that it is an authorized core Linux app, so SELinux shouldn't block it. component: selinux-policy