Description of problem: This appeared after a DNF system upgrade from FC41 to FC42 SELinux is preventing ps from using the 'sys_admin' capabilities. ***** Plugin catchall (100. confidence) suggests ************************** If you believe that ps should have the sys_admin capability 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 'ps' --raw | audit2allow -M my-ps # semodule -X 300 -i my-ps.pp Additional Information: Source Context system_u:system_r:pcp_pmie_t:s0 Target Context system_u:system_r:pcp_pmie_t:s0 Target Objects Unknown [ capability ] Source ps Source Path ps Port <Unknown> Host (removed) Source RPM Packages Target RPM Packages SELinux Policy RPM selinux-policy-targeted-41.34-1.fc42.noarch Local Policy RPM pcp-selinux-6.3.4-1.fc42.x86_64 Selinux Enabled True Policy Type targeted Enforcing Mode Enforcing Host Name (removed) Platform Linux (removed) 6.14.0-0.rc7.56.fc42.x86_64 #1 SMP PREEMPT_DYNAMIC Mon Mar 17 13:25:24 UTC 2025 x86_64 Alert Count 6 First Seen 2025-03-21 18:14:57 GMT Last Seen 2025-03-21 18:58:56 GMT Local ID 1b8d4de5-1e7d-47b0-9491-94d9b49ea7c6 Raw Audit Messages type=AVC msg=audit(1742583536.448:280): avc: denied { sys_admin } for pid=10875 comm="ps" capability=21 scontext=system_u:system_r:pcp_pmie_t:s0 tcontext=system_u:system_r:pcp_pmie_t:s0 tclass=capability permissive=0 Hash: ps,pcp_pmie_t,pcp_pmie_t,capability,sys_admin Version-Release number of selected component: selinux-policy-targeted-41.34-1.fc42.noarch Additional info: reporter: libreport-2.17.15 package: selinux-policy-targeted-41.34-1.fc42.noarch kernel: 6.14.0-0.rc7.56.fc42.x86_64 component: pcp reason: SELinux is preventing ps from using the 'sys_admin' capabilities. hashmarkername: setroubleshoot type: libreport comment: This appeared after a DNF system upgrade from FC41 to FC42 component: pcp
Created attachment 2081272 [details] File: os_info
Created attachment 2081273 [details] File: description
I am not seeing this anymore, so I will close this. Sorry for the noise.
1) Boot up 2) Log in 3) SELinux immediately creates a notification in the KDE/Plasma system tray. reason: SELinux is preventing ps from using the 'sys_admin' capabilities. package: selinux-policy-targeted-41.38-1.fc42.noarch hashmarkername: setroubleshoot type: libreport kernel: 6.14.4-300.fc42.x86_64
I'm seeing this also after upgrading from F41 to F42.
Al momento de reinciar apareció el error reason: SELinux is preventing /usr/bin/ps from using the 'sys_admin' capabilities. package: selinux-policy-targeted-41.34-1.fc42.noarch hashmarkername: setroubleshoot type: libreport kernel: 6.14.0-63.fc42.x86_64 comment: Al momento de reinciar apareció el error
*** This bug has been marked as a duplicate of bug 2363903 ***