Bug 2356694
| Summary: | SELinux is preventing sadc from 'getattr' accesses on the directory /proc/pressure. | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Michael <michael.scheiffler> | ||||||
| Component: | selinux-policy | Assignee: | Zdenek Pytela <zpytela> | ||||||
| Status: | CLOSED DUPLICATE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||
| Severity: | unspecified | Docs Contact: | |||||||
| Priority: | unspecified | ||||||||
| Version: | 42 | CC: | dwalsh, laurent.rineau__fedora, lvrabec, michael.scheiffler, mmalik, omosnacek, pkoncity, vmojzis, zpytela | ||||||
| Target Milestone: | --- | ||||||||
| Target Release: | --- | ||||||||
| Hardware: | x86_64 | ||||||||
| OS: | Unspecified | ||||||||
| Whiteboard: | abrt_hash:28a2c1c38194034f6b742fadf66e83da06c4d8ecbc1bacbe76275ab7424aa371;VARIANT_ID=workstation; | ||||||||
| Fixed In Version: | Doc Type: | --- | |||||||
| Doc Text: | Story Points: | --- | |||||||
| Clone Of: | Environment: | ||||||||
| Last Closed: | 2025-04-03 20:56:42 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 2082961 [details]
File: description
Created attachment 2082962 [details]
File: os_info
Happened to me, too. I was not doing anything particular. I think my machine was quiet loaded at the moment the SELinux-troubleshooter popped up, and that may explain why /proc/pressure was read. *** This bug has been marked as a duplicate of bug 2356680 *** |
Description of problem: SELinux is preventing sadc from 'getattr' accesses on the directory /proc/pressure. ***** Plugin catchall (100. confidence) suggests ************************** If you believe that sadc should be allowed getattr access on the pressure 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 'sadc' --raw | audit2allow -M my-sadc # semodule -X 300 -i my-sadc.pp Additional Information: Source Context system_u:system_r:sysstat_t:s0 Target Context system_u:object_r:proc_psi_t:s0 Target Objects /proc/pressure [ dir ] Source sadc Source Path sadc Port <Unknown> Host (removed) Source RPM Packages Target RPM Packages SELinux Policy RPM selinux-policy-targeted-41.35-1.fc42.noarch Local Policy RPM selinux-policy-targeted-41.35-1.fc42.noarch Selinux Enabled True Policy Type targeted Enforcing Mode Enforcing Host Name (removed) Platform Linux (removed) 6.14.0-63.fc42.x86_64 #1 SMP PREEMPT_DYNAMIC Mon Mar 24 19:53:37 UTC 2025 x86_64 Alert Count 3 First Seen 2025-04-01 18:32:44 CEST Last Seen 2025-04-01 18:50:04 CEST Local ID c1becdc9-b595-45ec-8eae-f2a76747d0ba Raw Audit Messages type=AVC msg=audit(1743526204.776:427): avc: denied { getattr } for pid=8737 comm="sadc" path="/proc/pressure" dev="proc" ino=4026532088 scontext=system_u:system_r:sysstat_t:s0 tcontext=system_u:object_r:proc_psi_t:s0 tclass=dir permissive=0 Hash: sadc,sysstat_t,proc_psi_t,dir,getattr Version-Release number of selected component: selinux-policy-targeted-41.35-1.fc42.noarch Additional info: reporter: libreport-2.17.15 reason: SELinux is preventing sadc from 'getattr' accesses on the directory /proc/pressure. package: selinux-policy-targeted-41.35-1.fc42.noarch component: selinux-policy hashmarkername: setroubleshoot type: libreport kernel: 6.14.0-63.fc42.x86_64 component: selinux-policy