Description of problem: SELinux is preventing gdb from 'read' accesses on the chr_file kfd. ***** Plugin catchall (100. confidence) suggests ************************** If you believe that gdb should be allowed read access on the kfd chr_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 'gdb' --raw | audit2allow -M my-gdb # semodule -X 300 -i my-gdb.pp Additional Information: Source Context system_u:system_r:abrt_t:s0-s0:c0.c1023 Target Context system_u:object_r:hsa_device_t:s0 Target Objects kfd [ chr_file ] Source gdb Source Path gdb Port <Unknown> Host (removed) Source RPM Packages Target RPM Packages SELinux Policy RPM selinux-policy-targeted-3.14.6-37.fc33.noarch Local Policy RPM selinux-policy-targeted-3.14.6-37.fc33.noarch Selinux Enabled True Policy Type targeted Enforcing Mode Enforcing Host Name (removed) Platform Linux (removed) 5.12.5-200.fc33.x86_64 #1 SMP Wed May 19 18:06:33 UTC 2021 x86_64 x86_64 Alert Count 2 First Seen 2021-05-24 22:10:52 CEST Last Seen 2021-05-24 22:10:52 CEST Local ID 200050d3-bf6a-497c-bf79-53498f835d44 Raw Audit Messages type=AVC msg=audit(1621887052.455:944): avc: denied { read } for pid=139944 comm="gdb" name="kfd" dev="devtmpfs" ino=573 scontext=system_u:system_r:abrt_t:s0-s0:c0.c1023 tcontext=system_u:object_r:hsa_device_t:s0 tclass=chr_file permissive=0 Hash: gdb,abrt_t,hsa_device_t,chr_file,read Version-Release number of selected component: selinux-policy-targeted-3.14.6-37.fc33.noarch Additional info: component: selinux-policy reporter: libreport-2.14.0 hashmarkername: setroubleshoot kernel: 5.12.5-200.fc33.x86_64 type: libreport
This message is a reminder that Fedora 33 is nearing its end of life. Fedora will stop maintaining and issuing updates for Fedora 33 on 2021-11-30. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At that time this bug will be closed as EOL if it remains open with a Fedora 'version' of '33'. Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, simply change the 'version' to a later Fedora version. Thank you for reporting this issue and we are sorry that we were not able to fix it before Fedora 33 is end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora, you are encouraged change the 'version' to a later Fedora version prior this bug is closed as described in the policy above. Although we aim to fix as many bugs as possible during every release's lifetime, sometimes those efforts are overtaken by events. Often a more recent Fedora release includes newer upstream software that fixes bugs or makes them obsolete.
*** This bug has been marked as a duplicate of bug 2017981 ***