Bug 2521617

Summary: SELinux is preventing exe from 'open' accesses on the file /tmp/storage-run-962/containers/overlay-containers/b2b2991e82a8b10a0c2bb8d72e9a4ff9f9d228c6434da38e574522d9b5d4b4b2/userdata/hosts.
Product: [Fedora] Fedora Reporter: Mr Beedell, Roke Julian Lockhart <8ru2u4gz>
Component: selinux-policyAssignee: Zdenek Pytela <zpytela>
Status: NEW --- QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 44CC: 8ru2u4gz, dwalsh, lvrabec, mmalik, omosnacek, pkoncity, vmojzis, zpytela
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:7a2acfc180156944d2bd5827d6516809f18a1ef8e7dc61600be786f0b6e6fb47;VARIANT_ID=kde;
Fixed In Version: Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 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:
Description Flags
File: description
none
File: os_info none

Description Mr Beedell, Roke Julian Lockhart 2026-08-23 13:07:37 UTC
Description of problem:
Observe https://bugzilla.redhat.com/show_bug.cgi?id=2521586#c0.
SELinux is preventing exe from 'open' accesses on the file /tmp/storage-run-962/containers/overlay-containers/b2b2991e82a8b10a0c2bb8d72e9a4ff9f9d228c6434da38e574522d9b5d4b4b2/userdata/hosts.

*****  Plugin catchall (100. confidence) suggests   **************************

If you believe that exe should be allowed open access on the hosts file 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 'exe' --raw | audit2allow -M my-exe
# semodule -X 300 -i my-exe.pp

Additional Information:
Source Context                system_u:system_r:boinc_t:s0
Target Context                system_u:object_r:container_file_t:s0
Target Objects                /tmp/storage-run-962/containers/overlay-containers
                              /b2b2991e82a8b10a0c2bb8d72e9a4ff9f9d228c6434da38e5
                              74522d9b5d4b4b2/userdata/hosts [ file ]
Source                        exe
Source Path                   exe
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           
Target RPM Packages           
SELinux Policy RPM            selinux-policy-targeted-44.6-1.fc44.noarch
Local Policy RPM              selinux-policy-targeted-44.6-1.fc44.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Permissive
Host Name                     (removed)
Platform                      Linux (removed) 7.1.9-200.fc44.x86_64 #1 SMP
                              PREEMPT_DYNAMIC Wed Aug 19 17:41:40 UTC 2026
                              x86_64
Alert Count                   1
First Seen                    2026-08-23 13:56:29 BST
Last Seen                     2026-08-23 13:56:29 BST
Local ID                      8dd3c902-9602-4fdb-9eea-86c6bb2495f2

Raw Audit Messages
type=AVC msg=audit(1787489789.60:722): avc:  denied  { open } for  pid=29422 comm="exe" path="/tmp/storage-run-962/containers/overlay-containers/b2b2991e82a8b10a0c2bb8d72e9a4ff9f9d228c6434da38e574522d9b5d4b4b2/userdata/hosts" dev="tmpfs" ino=1141 scontext=system_u:system_r:boinc_t:s0 tcontext=system_u:object_r:container_file_t:s0 tclass=file permissive=1


Hash: exe,boinc_t,container_file_t,file,open

Version-Release number of selected component:
selinux-policy-targeted-44.6-1.fc44.noarch

Additional info:
reporter:       libreport-2.17.15
reason:         SELinux is preventing exe from 'open' accesses on the file /tmp/storage-run-962/containers/overlay-containers/b2b2991e82a8b10a0c2bb8d72e9a4ff9f9d228c6434da38e574522d9b5d4b4b2/userdata/hosts.
package:        selinux-policy-targeted-44.6-1.fc44.noarch
component:      selinux-policy
hashmarkername: setroubleshoot
type:           libreport
kernel:         7.1.9-200.fc44.x86_64
event_log:      2026-08-23-13:58:10> Looking for similar problems in bugzilla
comment:        Observe https://bugzilla.redhat.com/show_bug.cgi?id=2521586#c0.
component:      selinux-policy

Comment 1 Mr Beedell, Roke Julian Lockhart 2026-08-23 13:07:39 UTC
Created attachment 2155413 [details]
File: description

Comment 2 Mr Beedell, Roke Julian Lockhart 2026-08-23 13:07:41 UTC
Created attachment 2155414 [details]
File: os_info