Description of problem: SELinux is preventing zabbix_agentd from 'getattr' accesses on the file /proc/kcore. ***** Plugin catchall (100. confidence) suggests ************************** If you believe that zabbix_agentd should be allowed getattr access on the kcore file 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 'zabbix_agentd' --raw | audit2allow -M my-zabbixagentd # semodule -X 300 -i my-zabbixagentd.pp Additional Information: Source Context system_u:system_r:zabbix_agent_t:s0 Target Context system_u:object_r:proc_kcore_t:s0 Target Objects /proc/kcore [ file ] Source zabbix_agentd Source Path zabbix_agentd Port <Unknown> Host (removed) Source RPM Packages Target RPM Packages SELinux Policy RPM selinux-policy-targeted-37.19-1.fc37.noarch Local Policy RPM zabbix-selinux-6.0.8-1.fc37.noarch Selinux Enabled True Policy Type targeted Enforcing Mode Enforcing Host Name (removed) Platform Linux (removed) 6.1.11-200.fc37.x86_64 #1 SMP PREEMPT_DYNAMIC Thu Feb 9 19:20:24 UTC 2023 x86_64 x86_64 Alert Count 4 First Seen 2023-02-17 16:44:35 GMT Last Seen 2023-02-17 19:44:35 GMT Local ID 90ab9a8b-3cf0-4ca3-b381-f4c8fe9245cb Raw Audit Messages type=AVC msg=audit(1676663075.574:440): avc: denied { getattr } for pid=4300 comm="zabbix_agentd" path="/proc/kcore" dev="proc" ino=4026532075 scontext=system_u:system_r:zabbix_agent_t:s0 tcontext=system_u:object_r:proc_kcore_t:s0 tclass=file permissive=0 Hash: zabbix_agentd,zabbix_agent_t,proc_kcore_t,file,getattr Version-Release number of selected component: selinux-policy-targeted-37.19-1.fc37.noarch Additional info: component: zabbix reporter: libreport-2.17.4 hashmarkername: setroubleshoot kernel: 6.1.11-200.fc37.x86_64 type: libreport
*** This bug has been marked as a duplicate of bug 2170630 ***