Bug 2031176 - SELinux is preventing alsactl from 'execute' accesses on the Datei kmod.
Summary: SELinux is preventing alsactl from 'execute' accesses on the Datei kmod.
Keywords:
Status: CLOSED DUPLICATE of bug 1958210
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 35
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Zdenek Pytela
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:7a8208494fa71721e0950968885...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-12-10 17:10 UTC by Julian Sikorski
Modified: 2022-02-08 18:34 UTC (History)
10 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2022-02-08 18:34:56 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Julian 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

Comment 1 Zdenek Pytela 2022-02-08 18:34:56 UTC

*** This bug has been marked as a duplicate of bug 1958210 ***


Note You need to log in before you can comment on or make changes to this bug.