Bug 2436675 - 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-04 09:31 UTC by Patch3
Modified: 2026-02-04 09:35 UTC (History)
8 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2026-02-04 09:35:54 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: os_info (740 bytes, text/plain)
2026-02-04 09:31 UTC, Patch3
no flags Details
File: description (2.22 KB, text/plain)
2026-02-04 09:31 UTC, Patch3
no flags Details

Description Patch3 2026-02-04 09:31:00 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.22-1.fc44.noarch
Local Policy RPM              selinux-policy-targeted-42.22-1.fc44.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Host Name                     (removed)
Platform                      Linux (removed)
                              6.19.0-0.rc7.260128g1f97d9dcf5364.49.fc44.x86_64
                              #1 SMP PREEMPT_DYNAMIC Wed Jan 28 15:22:07 UTC
                              2026 x86_64
Alert Count                   4
First Seen                    2026-02-01 01:22:59 MSK
Last Seen                     2026-02-04 08:55:27 MSK
Local ID                      2dda5695-a5de-44f6-9abc-ef165ca44c1e

Raw Audit Messages
type=AVC msg=audit(1770184527.679:54): avc:  denied  { create } for  pid=979 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.22-1.fc44.noarch

Additional info:
reporter:       libreport-2.17.15
kernel:         6.19.0-0.rc7.260128g1f97d9dcf5364.49.fc44.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.22-1.fc44.noarch
component:      selinux-policy

Comment 1 Patch3 2026-02-04 09:31:02 UTC
Created attachment 2128151 [details]
File: os_info

Comment 2 Patch3 2026-02-04 09:31:04 UTC
Created attachment 2128152 [details]
File: description

Comment 3 Zdenek Pytela 2026-02-04 09:35:54 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.