Bug 2438544 - SELinux is preventing systemd-machine from 'create' accesses on the каталог resolve.hook.
Summary: SELinux is preventing systemd-machine from 'create' accesses on the каталог r...
Keywords:
Status: CLOSED DUPLICATE of bug 2415701
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: rawhide
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Zdenek Pytela
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:717ae2dd7dedd5c523467c03975...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-02-10 18:26 UTC by Patch3
Modified: 2026-02-27 15:11 UTC (History)
8 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2026-02-27 15:11:43 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: os_info (740 bytes, text/plain)
2026-02-10 18:26 UTC, Patch3
no flags Details
File: description (2.13 KB, text/plain)
2026-02-10 18:26 UTC, Patch3
no flags Details

Description Patch3 2026-02-10 18:26:07 UTC
Description of problem:
SELinux is preventing systemd-machine from 'create' accesses on the каталог resolve.hook.

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

Если вы считаете, что systemd-machine должно быть разрешено create доступ к resolve.hook directory по умолчанию.
Then рекомендуется создать отчет об ошибке.
Чтобы разрешить доступ, можно создать локальный модуль политики.
Do
разрешить этот доступ сейчас, выполнив:
# 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:object_r:init_var_run_t:s0
Target Objects                resolve.hook [ dir ]
Source                        systemd-machine
Source Path                   systemd-machine
Port                          <Неизвестно>
Host                          (removed)
Source RPM Packages           
Target RPM Packages           
SELinux Policy RPM            selinux-policy-targeted-42.23-1.fc44.noarch
Local Policy RPM              selinux-policy-targeted-42.23-1.fc44.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Host Name                     (removed)
Platform                      Linux (removed) 6.19.0-59.fc45.x86_64 #1 SMP
                              PREEMPT_DYNAMIC Mon Feb 9 16:35:21 UTC 2026 x86_64
Alert Count                   17
First Seen                    2026-02-01 01:22:59 MSK
Last Seen                     2026-02-10 21:01:35 MSK
Local ID                      2dda5695-a5de-44f6-9abc-ef165ca44c1e

Raw Audit Messages
type=AVC msg=audit(1770746495.411:56): avc:  denied  { create } for  pid=976 comm="systemd-machine" name="resolve.hook" scontext=system_u:system_r:systemd_machined_t:s0 tcontext=system_u:object_r:init_var_run_t:s0 tclass=dir permissive=0


Hash: systemd-machine,systemd_machined_t,init_var_run_t,dir,create

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

Additional info:
reporter:       libreport-2.17.15
kernel:         6.19.0-59.fc45.x86_64
type:           libreport
hashmarkername: setroubleshoot
reason:         SELinux is preventing systemd-machine from 'create' accesses on the каталог resolve.hook.
component:      selinux-policy
package:        selinux-policy-targeted-42.23-1.fc44.noarch
component:      selinux-policy

Comment 1 Patch3 2026-02-10 18:26:10 UTC
Created attachment 2128929 [details]
File: os_info

Comment 2 Patch3 2026-02-10 18:26:12 UTC
Created attachment 2128930 [details]
File: description

Comment 3 Zdenek Pytela 2026-02-27 15:11:43 UTC

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


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