Bug 2354167
| Summary: | SELinux is preventing ps from using the 'sys_admin' capabilities. | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Colin J Thomson <colin.thomson> | ||||||
| Component: | pcp | Assignee: | Nathan Scott <nathans> | ||||||
| Status: | CLOSED DUPLICATE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||
| Severity: | unspecified | Docs Contact: | |||||||
| Priority: | unspecified | ||||||||
| Version: | 42 | CC: | agerstmayr, fberat, jkurik, lchilton, nathans, sfeifer, uckelman, wcohen | ||||||
| Target Milestone: | --- | ||||||||
| Target Release: | --- | ||||||||
| Hardware: | x86_64 | ||||||||
| OS: | Unspecified | ||||||||
| Whiteboard: | abrt_hash:697078c193a753489aa30965ad6b53b4a5f74a9835629f7a9582ec3742595616;VARIANT_ID=kde; | ||||||||
| Fixed In Version: | Doc Type: | --- | |||||||
| Doc Text: | Story Points: | --- | |||||||
| Clone Of: | Environment: | ||||||||
| Last Closed: | 2025-03-23 10:06:21 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 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 *** |
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