Bug 2035975
| Summary: | SELinux is preventing alsactl from 'execute_no_trans' accesses on the file /usr/bin/kmod. | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | ezwinglet |
| Component: | selinux-policy | Assignee: | Zdenek Pytela <zpytela> |
| Status: | CLOSED DUPLICATE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 35 | CC: | dwalsh, grepl.miroslav, lvrabec, mmalik, omosnace, pkoncity, vmojzis, zpytela |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Unspecified | ||
| Whiteboard: | abrt_hash:8743e12fc576329a943021abe793ea0353f087c3e9ebcd049ed5c6e1d39ca119;VARIANT_ID=cinnamon; | ||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2022-02-08 18:35:15 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
*** This bug has been marked as a duplicate of bug 1958210 *** |
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