Bug 2440094
| Summary: | SELinux is preventing systemd-machine from 'create' accesses on the directory resolve.hook. | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Mikhail <mikhail.v.gavrilov> | ||||||
| Component: | selinux-policy | Assignee: | Zdenek Pytela <zpytela> | ||||||
| Status: | CLOSED DUPLICATE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||
| Severity: | unspecified | Docs Contact: | |||||||
| Priority: | unspecified | ||||||||
| Version: | rawhide | CC: | dan, lvrabec, mikhail.v.gavrilov, mmalik, omosnacek, pkoncity, vmojzis, zpytela | ||||||
| Target Milestone: | --- | ||||||||
| Target Release: | --- | ||||||||
| Hardware: | x86_64 | ||||||||
| OS: | Unspecified | ||||||||
| Whiteboard: | abrt_hash:717ae2dd7dedd5c523467c03975f4c8bf16d79bf8cbc8c54c5cc5f77e8743149;VARIANT_ID=workstation; | ||||||||
| Fixed In Version: | Doc Type: | --- | |||||||
| Doc Text: | Story Points: | --- | |||||||
| Clone Of: | Environment: | ||||||||
| Last Closed: | 2026-02-27 15:11:50 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: |
|
||||||||
Created attachment 2129602 [details]
File: description
Created attachment 2129603 [details]
File: os_info
*** This bug has been marked as a duplicate of bug 2415701 *** |
Description of problem: SELinux is preventing systemd-machine from 'create' accesses on the directory resolve.hook. ***** Plugin catchall (100. confidence) suggests ************************** If you believe that systemd-machine should be allowed create access on the resolve.hook 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:object_r:init_var_run_t:s0 Target Objects resolve.hook [ 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.24-1.fc45.noarch Local Policy RPM selinux-policy-targeted-42.24-1.fc45.noarch Selinux Enabled True Policy Type targeted Enforcing Mode Permissive Host Name (removed) Platform Linux (removed) 6.19.0-192c0159402e-fix-uaf-sched- mm-cid-v20+ #109 SMP PREEMPT_DYNAMIC Mon Feb 16 01:24:51 +05 2026 x86_64 Alert Count 15 First Seen 2026-02-13 21:16:39 +05 Last Seen 2026-02-16 02:04:56 +05 Local ID 4068506d-982a-447b-8a7d-8f91c28b1b7d Raw Audit Messages type=AVC msg=audit(1771189496.847:61): avc: denied { create } for pid=1474 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=1 Hash: systemd-machine,systemd_machined_t,init_var_run_t,dir,create Version-Release number of selected component: selinux-policy-targeted-42.24-1.fc45.noarch Additional info: reporter: libreport-2.17.15 reason: SELinux is preventing systemd-machine from 'create' accesses on the directory resolve.hook. package: selinux-policy-targeted-42.24-1.fc45.noarch component: selinux-policy hashmarkername: setroubleshoot type: libreport kernel: 6.19.0-192c0159402e-fix-uaf-sched-mm-cid-v20+ component: selinux-policy