Fedora Account System
Red Hat Associate
Red Hat Customer
Description of problem: SELinux is preventing /usr/lib64/sa/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 /usr/lib64/sa/sadc Port <Unknown> Host (removed) Source RPM Packages sysstat-12.7.7-1.fc42.x86_64 Target RPM Packages SELinux Policy RPM selinux-policy-targeted-41.35-1.fc43.noarch Local Policy RPM selinux-policy-targeted-41.35-1.fc43.noarch Selinux Enabled True Policy Type targeted Enforcing Mode Permissive Host Name (removed) Platform Linux (removed) 6.15.0- 0.rc0.20250401git08733088b566.8.fc43.x86_64+debug #1 SMP PREEMPT_DYNAMIC Tue Apr 1 19:50:36 UTC 2025 x86_64 Alert Count 564 First Seen 2025-03-30 17:35:11 +05 Last Seen 2025-04-03 15:20:04 +05 Local ID dbb07743-3172-4a82-bc14-16ebe7e740ef Raw Audit Messages type=AVC msg=audit(1743675604.255:2403): avc: denied { getattr } for pid=103106 comm="sadc" path="/proc/pressure" dev="proc" ino=4026532070 scontext=system_u:system_r:sysstat_t:s0 tcontext=system_u:object_r:proc_psi_t:s0 tclass=dir permissive=1 type=SYSCALL msg=audit(1743675604.255:2403): arch=x86_64 syscall=newfstatat success=yes exit=0 a0=ffffff9c a1=557abddf5ed1 a2=7ffeb31006d0 a3=0 items=1 ppid=1 pid=103106 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm=sadc exe=/usr/lib64/sa/sadc subj=system_u:system_r:sysstat_t:s0 key=(null) type=CWD msg=audit(1743675604.255:2403): cwd=/usr/lib64/sa type=PATH msg=audit(1743675604.255:2403): item=0 name=/proc/pressure inode=4026532070 dev=00:17 mode=040555 ouid=0 ogid=0 rdev=00:00 obj=system_u:object_r:proc_psi_t:s0 nametype=NORMAL cap_fp=0 cap_fi=0 cap_fe=0 cap_fver=0 cap_frootid=0 Hash: sadc,sysstat_t,proc_psi_t,dir,getattr Version-Release number of selected component: selinux-policy-targeted-41.35-1.fc43.noarch Additional info: reporter: libreport-2.17.15 reason: SELinux is preventing /usr/lib64/sa/sadc from 'getattr' accesses on the directory /proc/pressure. package: selinux-policy-targeted-41.35-1.fc43.noarch component: selinux-policy hashmarkername: setroubleshoot type: libreport kernel: 6.15.0-0.rc0.20250401git08733088b566.8.fc43.x86_64+debug component: selinux-policy
Created attachment 2083201 [details] File: description
Created attachment 2083202 [details] File: os_info
*** This bug has been marked as a duplicate of bug 2356680 ***