Bug 2175895
| Summary: | SELinux is preventing poweroff from 'search' accesses on the directory dbus. | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| 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: | dwalsh, lvrabec, mmalik, omosnacek, pkoncity, vmojzis, zpytela | ||||||
| Target Milestone: | --- | ||||||||
| Target Release: | --- | ||||||||
| Hardware: | x86_64 | ||||||||
| OS: | Unspecified | ||||||||
| Whiteboard: | abrt_hash:44c95f489afe16026553671434a633c3335b45b523995d7aa136afa9a8e9ccdd;VARIANT_ID=workstation; | ||||||||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |||||||
| Doc Text: | Story Points: | --- | |||||||
| Clone Of: | Environment: | ||||||||
| Last Closed: | 2023-03-07 09:22:28 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 1948457 [details]
File: description
Created attachment 1948458 [details]
File: os_info
*** This bug has been marked as a duplicate of bug 2173759 *** |
Description of problem: SELinux is preventing poweroff from 'search' accesses on the directory dbus. ***** Plugin catchall (100. confidence) suggests ************************** If you believe that poweroff should be allowed search access on the dbus 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 'poweroff' --raw | audit2allow -M my-poweroff # semodule -X 300 -i my-poweroff.pp Additional Information: Source Context system_u:system_r:kernel_systemctl_t:s0 Target Context system_u:object_r:system_dbusd_var_run_t:s0 Target Objects dbus [ dir ] Source poweroff Source Path poweroff Port <Unknown> Host (removed) Source RPM Packages Target RPM Packages SELinux Policy RPM selinux-policy-targeted-38.8-1.fc39.noarch Local Policy RPM selinux-policy-targeted-38.8-1.fc39.noarch Selinux Enabled True Policy Type targeted Enforcing Mode Enforcing Host Name (removed) Platform Linux (removed) 6.3.0- 0.rc0.20230303git2eb29d59ddf0.13.fc39.x86_64+debug #1 SMP PREEMPT_DYNAMIC Fri Mar 3 18:05:19 UTC 2023 x86_64 Alert Count 1 First Seen 2023-03-06 22:21:04 +05 Last Seen 2023-03-06 22:21:04 +05 Local ID b7561126-9fde-47b2-bcdc-9bf9afcb94fe Raw Audit Messages type=AVC msg=audit(1678123264.91:225): avc: denied { search } for pid=5059 comm="poweroff" name="dbus" dev="tmpfs" ino=42 scontext=system_u:system_r:kernel_systemctl_t:s0 tcontext=system_u:object_r:system_dbusd_var_run_t:s0 tclass=dir permissive=0 Hash: poweroff,kernel_systemctl_t,system_dbusd_var_run_t,dir,search Version-Release number of selected component: selinux-policy-targeted-38.8-1.fc39.noarch Additional info: reporter: libreport-2.17.8 reason: SELinux is preventing poweroff from 'search' accesses on the directory dbus. package: selinux-policy-targeted-38.8-1.fc39.noarch component: selinux-policy hashmarkername: setroubleshoot type: libreport kernel: 6.3.0-0.rc0.20230303git2eb29d59ddf0.13.fc39.x86_64+debug component: selinux-policy