Description of problem:
Just boot the computer and the error spawns constantly
SELinux is preventing gdb from 'read' accesses on the chr_file nvidiactl.
***** Plugin catchall (100. confidence) suggests **************************
Si cree que de manera predeterminada se debería permitir a gdb el acceso read sobre nvidiactl chr_file.
Then debería reportar esto como un error.
Puede generar un módulo de política local para permitir este acceso.
Do
permita el acceso temporalmente ejecutando:
# ausearch -c 'gdb' --raw | audit2allow -M mi-gdb
# semodule -X 300 -i mi-gdb.pp
Additional Information:
Source Context system_u:system_r:abrt_t:s0-s0:c0.c1023
Target Context system_u:object_r:xserver_misc_device_t:s0
Target Objects nvidiactl [ chr_file ]
Source gdb
Source Path gdb
Port <Desconocido>
Host (removed)
Source RPM Packages
Target RPM Packages
SELinux Policy RPM selinux-policy-targeted-3.14.7-25.fc34.noarch
Local Policy RPM selinux-policy-targeted-3.14.7-25.fc34.noarch
Selinux Enabled True
Policy Type targeted
Enforcing Mode Enforcing
Host Name (removed)
Platform Linux (removed) 5.11.9-300.fc34.x86_64 #1 SMP Wed
Mar 24 12:06:51 UTC 2021 x86_64 x86_64
Alert Count 2
First Seen 2021-03-27 12:30:53 CET
Last Seen 2021-03-27 12:30:53 CET
Local ID 305236a3-5862-4227-9055-4eff0ab2bcdd
Raw Audit Messages
type=AVC msg=audit(1616844653.518:665): avc: denied { read } for pid=5580 comm="gdb" name="nvidiactl" dev="devtmpfs" ino=696 scontext=system_u:system_r:abrt_t:s0-s0:c0.c1023 tcontext=system_u:object_r:xserver_misc_device_t:s0 tclass=chr_file permissive=0
Hash: gdb,abrt_t,xserver_misc_device_t,chr_file,read
Version-Release number of selected component:
selinux-policy-targeted-3.14.7-25.fc34.noarch
Additional info:
component: selinux-policy
reporter: libreport-2.14.0
hashmarkername: setroubleshoot
kernel: 5.11.9-300.fc34.x86_64
type: libreport
Potential duplicate: bug 1901406