Description of problem: After unlocking the screen SELinux is preventing (direxec) from 'execute_no_trans' accesses on the file /usr/lib/systemd/system-sleep/sysstat.sleep. ***** Plugin catchall (100. confidence) suggests ************************** If you believe that (direxec) should be allowed execute_no_trans access on the sysstat.sleep file 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 '(direxec)' --raw | audit2allow -M my-direxec # semodule -X 300 -i my-direxec.pp Additional Information: Source Context system_u:system_r:systemd_sleep_t:s0 Target Context system_u:object_r:bin_t:s0 Target Objects /usr/lib/systemd/system-sleep/sysstat.sleep [ file ] Source (direxec) Source Path (direxec) Port <Unknown> Host (removed) Source RPM Packages Target RPM Packages sysstat-12.5.3-1.fc34.x86_64 SELinux Policy RPM selinux-policy-targeted-34.3-1.fc34.noarch Local Policy RPM selinux-policy-targeted-34.3-1.fc34.noarch Selinux Enabled True Policy Type targeted Enforcing Mode Enforcing Host Name (removed) Platform Linux (removed) 5.11.16-300.fc34.x86_64 #1 SMP Wed Apr 21 13:18:33 UTC 2021 x86_64 x86_64 Alert Count 8 First Seen 2021-04-30 13:48:13 CEST Last Seen 2021-04-30 15:56:54 CEST Local ID 10c90037-2a77-496a-8e98-fb4a847f9ffa Raw Audit Messages type=AVC msg=audit(1619791014.575:2061): avc: denied { execute_no_trans } for pid=36021 comm="(direxec)" path="/usr/lib/systemd/system-sleep/sysstat.sleep" dev="dm-0" ino=28053385 scontext=system_u:system_r:systemd_sleep_t:s0 tcontext=system_u:object_r:bin_t:s0 tclass=file permissive=0 Hash: (direxec),systemd_sleep_t,bin_t,file,execute_no_trans Version-Release number of selected component: selinux-policy-targeted-34.3-1.fc34.noarch Additional info: component: selinux-policy reporter: libreport-2.14.0 hashmarkername: setroubleshoot kernel: 5.11.16-300.fc34.x86_64 type: libreport
Similar problem has been detected: Recent Fedora 33 to 34 upgrade. Seen after supsend and wakeup. hashmarkername: setroubleshoot kernel: 5.11.15-300.fc34.x86_64 package: selinux-policy-targeted-34.3-1.fc34.noarch reason: SELinux is preventing (direxec) from 'execute_no_trans' accesses on the file /usr/lib/systemd/system-sleep/sysstat.sleep. type: libreport
*** This bug has been marked as a duplicate of bug 1948070 ***