Fedora Account System
Red Hat Associate
Red Hat Customer
Description of problem: SELinux is preventing /usr/lib64/sa/sadc from 'search' accesses on the directory /proc/pressure/cpu. ***** Plugin catchall (100. confidence) suggests ************************** If you believe that sadc should be allowed search access on the cpu 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/cpu [ 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 559 First Seen 2025-03-30 17:40:31 +05 Last Seen 2025-04-03 15:30:04 +05 Local ID ee110b3d-92b7-43cc-b0af-8593a6b81058 Raw Audit Messages type=AVC msg=audit(1743676204.247:2414): avc: denied { search } for pid=104397 comm="sadc" name="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=AVC msg=audit(1743676204.247:2414): avc: denied { read } for pid=104397 comm="sadc" name="cpu" dev="proc" ino=4026532073 scontext=system_u:system_r:sysstat_t:s0 tcontext=system_u:object_r:proc_psi_t:s0 tclass=file permissive=1 type=AVC msg=audit(1743676204.247:2414): avc: denied { open } for pid=104397 comm="sadc" path="/proc/pressure/cpu" dev="proc" ino=4026532073 scontext=system_u:system_r:sysstat_t:s0 tcontext=system_u:object_r:proc_psi_t:s0 tclass=file permissive=1 type=SYSCALL msg=audit(1743676204.247:2414): arch=x86_64 syscall=openat success=yes exit=EINTR a0=ffffffffffffff9c a1=5632efb5a4bd a2=0 a3=0 items=1 ppid=1 pid=104397 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(1743676204.247:2414): cwd=/usr/lib64/sa type=PATH msg=audit(1743676204.247:2414): item=0 name=/proc/pressure/cpu inode=4026532073 dev=00:17 mode=0100666 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,search 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 'search' accesses on the directory /proc/pressure/cpu. 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 2083203 [details] File: description
Created attachment 2083204 [details] File: os_info
*** This bug has been marked as a duplicate of bug 2356680 ***