Fedora Account System
Red Hat Associate
Red Hat Customer
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
Created attachment 1948457 [details] File: description
Created attachment 1948458 [details] File: os_info
*** This bug has been marked as a duplicate of bug 2173759 ***