Bug 2035975 - SELinux is preventing alsactl from 'execute_no_trans' accesses on the file /usr/bin/kmod.
Summary: SELinux is preventing alsactl from 'execute_no_trans' accesses on the file /u...
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:8743e12fc576329a943021abe79...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-12-29 03:49 UTC by ezwinglet
Modified: 2022-02-08 18:35 UTC (History)
8 users (show)

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


Attachments (Terms of Use)

Description ezwinglet 2021-12-29 03:49:36 UTC
Description of problem:
SELinux is preventing alsactl from 'execute_no_trans' accesses on the file /usr/bin/kmod.

*****  Plugin catchall (100. confidence) suggests   **************************

If you believe that alsactl should be allowed execute_no_trans access on the kmod 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 '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                /usr/bin/kmod [ file ]
Source                        alsactl
Source Path                   alsactl
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           
Target RPM Packages           kmod-29-4.fc35.x86_64
SELinux Policy RPM            selinux-policy-targeted-35.7-1.fc35.noarch
Local Policy RPM              selinux-policy-targeted-35.7-1.fc35.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Host Name                     (removed)
Platform                      Linux (removed) 5.15.11-200.fc35.x86_64 #1 SMP Wed
                              Dec 22 15:41:11 UTC 2021 x86_64 x86_64
Alert Count                   5
First Seen                    2021-12-28 19:36:00 PST
Last Seen                     2021-12-28 19:43:18 PST
Local ID                      f37b0366-2078-469c-b6ec-ea5b39f876a4

Raw Audit Messages
type=AVC msg=audit(1640749398.475:149): avc:  denied  { execute_no_trans } for  pid=1188 comm="alsactl" path="/usr/bin/kmod" dev="dm-0" ino=3019 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_no_trans

Version-Release number of selected component:
selinux-policy-targeted-35.7-1.fc35.noarch

Additional info:
component:      selinux-policy
reporter:       libreport-2.15.2
hashmarkername: setroubleshoot
kernel:         5.15.11-200.fc35.x86_64
type:           libreport

Comment 1 Zdenek Pytela 2022-02-08 18:35:15 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.