Bug 2416638

Summary: SELinux is preventing systemd-machine from 'search' accesses on the directory 86115.
Product: [Fedora] Fedora Reporter: dan
Component: selinux-policyAssignee: Zdenek Pytela <zpytela>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 43CC: dan, dwalsh, lvrabec, mmalik, omosnacek, pkoncity, vmojzis, zpytela
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:261bbef5aa693083a0f4cac92449b34508a8b9cff51d7100f581570e3e98aae8;VARIANT_ID=workstation;
Fixed In Version: Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2025-11-24 08:55:16 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:
Description Flags
File: description
none
File: os_info none

Description dan 2025-11-23 17:51:41 UTC
Description of problem:
After shutting down a VM.
SELinux is preventing systemd-machine from 'search' accesses on the directory 86115.

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

If you believe that systemd-machine should be allowed search access on the 86115 directory 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 'systemd-machine' --raw | audit2allow -M my-systemdmachine
# semodule -X 300 -i my-systemdmachine.pp

Additional Information:
Source Context                system_u:system_r:systemd_machined_t:s0
Target Context                system_u:system_r:svirt_t:s0:c94,c393
Target Objects                86115 [ dir ]
Source                        systemd-machine
Source Path                   systemd-machine
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           
Target RPM Packages           
SELinux Policy RPM            selinux-policy-targeted-42.14-1.fc43.noarch
Local Policy RPM              selinux-policy-targeted-42.14-1.fc43.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Host Name                     (removed)
Platform                      Linux (removed) 6.16.8-200.fc42.x86_64 #1 SMP
                              PREEMPT_DYNAMIC Fri Sep 19 17:47:18 UTC 2025
                              x86_64
Alert Count                   1
First Seen                    2025-11-23 12:50:44 EST
Last Seen                     2025-11-23 12:50:44 EST
Local ID                      84735cff-ebfc-47d1-bb45-4ce9990f31c9

Raw Audit Messages
type=AVC msg=audit(1763920244.397:1832): avc:  denied  { search } for  pid=1482 comm="systemd-machine" name="86115" dev="proc" ino=88791 scontext=system_u:system_r:systemd_machined_t:s0 tcontext=system_u:system_r:svirt_t:s0:c94,c393 tclass=dir permissive=0


Hash: systemd-machine,systemd_machined_t,svirt_t,dir,search

Version-Release number of selected component:
selinux-policy-targeted-42.14-1.fc43.noarch

Additional info:
reporter:       libreport-2.17.15
reason:         SELinux is preventing systemd-machine from 'search' accesses on the directory 86115.
type:           libreport
comment:        After shutting down a VM.
hashmarkername: setroubleshoot
package:        selinux-policy-targeted-42.14-1.fc43.noarch
component:      selinux-policy
kernel:         6.16.8-200.fc42.x86_64
component:      selinux-policy

Comment 1 dan 2025-11-23 17:51:44 UTC
Created attachment 2115923 [details]
File: description

Comment 2 dan 2025-11-23 17:51:46 UTC
Created attachment 2115924 [details]
File: os_info

Comment 3 Zdenek Pytela 2025-11-24 08:55:16 UTC

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