Description of problem: SELinux is preventing rm from 'unlink' accesses on the file tlp-run.conf_tmp2Dz8Wi. ***** Plugin catchall (100. confidence) suggests ************************** If you believe that rm should be allowed unlink access on the tlp-run.conf_tmp2Dz8Wi 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 'rm' --raw | audit2allow -M my-rm # semodule -X 300 -i my-rm.pp Additional Information: Source Context system_u:system_r:NetworkManager_dispatcher_t:s0 Target Context system_u:object_r:var_run_t:s0 Target Objects tlp-run.conf_tmp2Dz8Wi [ file ] Source rm Source Path rm Port <Unknown> Host (removed) Source RPM Packages Target RPM Packages SELinux Policy RPM selinux-policy-targeted-36.5-1.fc36.noarch Local Policy RPM selinux-policy-targeted-36.5-1.fc36.noarch Selinux Enabled True Policy Type targeted Enforcing Mode Permissive Host Name (removed) Platform Linux (removed) 5.16.16-200.fc35.x86_64 #1 SMP PREEMPT Wed Mar 23 00:44:58 CET 2022 x86_64 x86_64 Alert Count 9 First Seen 2022-04-05 23:55:50 CEST Last Seen 2022-04-05 23:56:34 CEST Local ID e901c4c9-af18-436a-8f88-f1001fe07bf1 Raw Audit Messages type=AVC msg=audit(1649195794.216:471): avc: denied { unlink } for pid=6095 comm="rm" name="tlp-run.conf_tmp2Dz8Wi" dev="tmpfs" ino=2250 scontext=system_u:system_r:NetworkManager_dispatcher_t:s0 tcontext=system_u:object_r:var_run_t:s0 tclass=file permissive=1 Hash: rm,NetworkManager_dispatcher_t,var_run_t,file,unlink Version-Release number of selected component: selinux-policy-targeted-36.5-1.fc36.noarch Additional info: component: selinux-policy reporter: libreport-2.17.1 hashmarkername: setroubleshoot kernel: 5.16.16-200.fc35.x86_64 type: libreport
This is almost certainly caused by /usr/lib/NetworkManager/dispatcher.d/99tlp-rdw-nm, as in #2070329.
*** This bug has been marked as a duplicate of bug 2070329 ***