Bug 2411815 - SELinux is preventing systemd-machine from 'search' accesses on the directory 165273.
Summary: SELinux is preventing systemd-machine from 'search' accesses on the directory...
Keywords:
Status: CLOSED DUPLICATE of bug 2407206
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:261bbef5aa693083a0f4cac9244...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-11-02 00:03 UTC by khusnutdinov.fazil
Modified: 2025-11-03 15:30 UTC (History)
8 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2025-11-03 15:30:25 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: os_info (712 bytes, text/plain)
2025-11-02 00:03 UTC, khusnutdinov.fazil
no flags Details
File: description (1.96 KB, text/plain)
2025-11-02 00:03 UTC, khusnutdinov.fazil
no flags Details

Description khusnutdinov.fazil 2025-11-02 00:03:12 UTC
Description of problem:
SELinux is preventing systemd-machine from 'search' accesses on the directory 165273.

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

If you believe that systemd-machine should be allowed search access on the 165273 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:c454,c597
Target Objects                165273 [ 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.17.5-300.fc43.x86_64 #1 SMP
                              PREEMPT_DYNAMIC Thu Oct 23 15:35:13 UTC 2025
                              x86_64
Alert Count                   1
First Seen                    2025-11-02 00:59:04 CET
Last Seen                     2025-11-02 00:59:04 CET
Local ID                      09ea505b-7d6a-490a-a90c-c548b016d94d

Raw Audit Messages
type=AVC msg=audit(1762041544.271:2783): avc:  denied  { search } for  pid=6874 comm="systemd-machine" name="165273" dev="proc" ino=1901236 scontext=system_u:system_r:systemd_machined_t:s0 tcontext=system_u:system_r:svirt_t:s0:c454,c597 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 165273.
kernel:         6.17.5-300.fc43.x86_64
component:      selinux-policy
package:        selinux-policy-targeted-42.14-1.fc43.noarch
hashmarkername: setroubleshoot
type:           libreport
component:      selinux-policy

Comment 1 khusnutdinov.fazil 2025-11-02 00:03:15 UTC
Created attachment 2111933 [details]
File: os_info

Comment 2 khusnutdinov.fazil 2025-11-02 00:03:17 UTC
Created attachment 2111934 [details]
File: description

Comment 3 Zdenek Pytela 2025-11-03 15:30:25 UTC

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


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