Bug 2416997 - SELinux is preventing bwrap from 'sys_admin' accesses on the cap_userns labeled thumb_t.
Summary: SELinux is preventing bwrap from 'sys_admin' accesses on the cap_userns label...
Keywords:
Status: CLOSED DUPLICATE of bug 2415016
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 43
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Zdenek Pytela
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:d1b6261164e00f7c55cc7295c2b...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-11-25 11:32 UTC by sun.sternness803
Modified: 2025-11-25 13:35 UTC (History)
8 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2025-11-25 13:35:04 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: description (1.93 KB, text/plain)
2025-11-25 11:32 UTC, sun.sternness803
no flags Details
File: os_info (663 bytes, text/plain)
2025-11-25 11:32 UTC, sun.sternness803
no flags Details

Description sun.sternness803 2025-11-25 11:32:26 UTC
Description of problem:
Hovering or clicking a mp4 video on kde's dolphin somehow triggers this
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-300.fc43.x86_64 #1 SMP
                              PREEMPT_DYNAMIC Fri Nov 14 01:47:12 UTC 2025
                              x86_64
Alert Count                   82
First Seen                    2025-11-25 11:42:50 CET
Last Seen                     2025-11-25 12:18:50 CET
Local ID                      72791de4-fbc7-4a1c-b891-f621d574d4f9

Raw Audit Messages
type=AVC msg=audit(1764069530.675:1183): avc:  denied  { sys_admin } for  pid=103934 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-300.fc43.x86_64
comment:        Hovering or clicking a mp4 video on kde's dolphin somehow triggers this
component:      selinux-policy

Comment 1 sun.sternness803 2025-11-25 11:32:29 UTC
Created attachment 2116177 [details]
File: description

Comment 2 sun.sternness803 2025-11-25 11:32:31 UTC
Created attachment 2116178 [details]
File: os_info

Comment 3 Zdenek Pytela 2025-11-25 13:35:04 UTC

*** This bug has been marked as a duplicate of bug 2415016 ***


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