DescriptionJulian Sikorski
2021-12-10 17:10:21 UTC
Description of problem:
Problem appears during boot
SELinux is preventing alsactl from 'execute' accesses on the Datei kmod.
***** Plugin catchall (100. confidence) suggests **************************
Wenn Sie denken, dass es alsactl standardmäßig erlaubt sein sollte, execute Zugriff auf kmod file zu erhalten.
Then sie sollten dies als Fehler melden.
Um diesen Zugriff zu erlauben, können Sie ein lokales Richtlinien-Modul erstellen.
Do
zugriff jetzt erlauben, indem Sie die nachfolgenden Befehle ausführen:
# ausearch -c 'alsactl' --raw | audit2allow -M my-alsactl
# semodule -X 300 -i my-alsactl.pp
Additional Information:
Source Context system_u:system_r:alsa_t:s0
Target Context system_u:object_r:kmod_exec_t:s0
Target Objects kmod [ file ]
Source alsactl
Source Path alsactl
Port <Unbekannt>
Host (removed)
Source RPM Packages
Target RPM Packages
SELinux Policy RPM selinux-policy-targeted-35.6-1.fc35.noarch
Local Policy RPM selinux-policy-targeted-35.6-1.fc35.noarch
Selinux Enabled True
Policy Type targeted
Enforcing Mode Enforcing
Host Name (removed)
Platform Linux (removed) 5.15.5-200.s0ix01.fc35.x86_64 #1
SMP Fri Nov 26 17:29:34 CET 2021 x86_64 x86_64
Alert Count 8
First Seen 2021-12-09 09:33:26 CET
Last Seen 2021-12-10 12:40:25 CET
Local ID ee360c59-610b-4500-bccd-e1a409b485f5
Raw Audit Messages
type=AVC msg=audit(1639136425.681:163): avc: denied { execute } for pid=883 comm="alsactl" name="kmod" dev="nvme0n1p6" ino=5498355 scontext=system_u:system_r:alsa_t:s0 tcontext=system_u:object_r:kmod_exec_t:s0 tclass=file permissive=0
Hash: alsactl,alsa_t,kmod_exec_t,file,execute
Version-Release number of selected component:
selinux-policy-targeted-35.6-1.fc35.noarch
Additional info:
component: selinux-policy
reporter: libreport-2.15.2
hashmarkername: setroubleshoot
kernel: 5.15.5-200.s0ix01.fc35.x86_64
type: libreport
Description of problem: Problem appears during boot SELinux is preventing alsactl from 'execute' accesses on the Datei kmod. ***** Plugin catchall (100. confidence) suggests ************************** Wenn Sie denken, dass es alsactl standardmäßig erlaubt sein sollte, execute Zugriff auf kmod file zu erhalten. Then sie sollten dies als Fehler melden. Um diesen Zugriff zu erlauben, können Sie ein lokales Richtlinien-Modul erstellen. Do zugriff jetzt erlauben, indem Sie die nachfolgenden Befehle ausführen: # ausearch -c 'alsactl' --raw | audit2allow -M my-alsactl # semodule -X 300 -i my-alsactl.pp Additional Information: Source Context system_u:system_r:alsa_t:s0 Target Context system_u:object_r:kmod_exec_t:s0 Target Objects kmod [ file ] Source alsactl Source Path alsactl Port <Unbekannt> Host (removed) Source RPM Packages Target RPM Packages SELinux Policy RPM selinux-policy-targeted-35.6-1.fc35.noarch Local Policy RPM selinux-policy-targeted-35.6-1.fc35.noarch Selinux Enabled True Policy Type targeted Enforcing Mode Enforcing Host Name (removed) Platform Linux (removed) 5.15.5-200.s0ix01.fc35.x86_64 #1 SMP Fri Nov 26 17:29:34 CET 2021 x86_64 x86_64 Alert Count 8 First Seen 2021-12-09 09:33:26 CET Last Seen 2021-12-10 12:40:25 CET Local ID ee360c59-610b-4500-bccd-e1a409b485f5 Raw Audit Messages type=AVC msg=audit(1639136425.681:163): avc: denied { execute } for pid=883 comm="alsactl" name="kmod" dev="nvme0n1p6" ino=5498355 scontext=system_u:system_r:alsa_t:s0 tcontext=system_u:object_r:kmod_exec_t:s0 tclass=file permissive=0 Hash: alsactl,alsa_t,kmod_exec_t,file,execute Version-Release number of selected component: selinux-policy-targeted-35.6-1.fc35.noarch Additional info: component: selinux-policy reporter: libreport-2.15.2 hashmarkername: setroubleshoot kernel: 5.15.5-200.s0ix01.fc35.x86_64 type: libreport