Bug 1480913
| Summary: | SELinux is preventing pulseaudio from 'map' accesses on the chr_file /dev/snd/pcmC0D0c. | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Joachim Frieben <jfrieben> |
| Component: | selinux-policy | Assignee: | Lukas Vrabec <lvrabec> |
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 27 | CC: | awilliam, dominick.grift, dwalsh, lsm5, lvrabec, mgrepl, plautrba, pmoore, ssekidde |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Unspecified | ||
| Whiteboard: | abrt_hash:67bffdf2668b7a273077ce575d1606b4cde728cc5b614cdcb97e870aa4fcbcc1;VARIANT_ID=workstation; | ||
| Fixed In Version: | selinux-policy-3.13.1-283.14.fc27 | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2017-10-31 15:33:59 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: | |||
| Bug Depends On: | |||
| Bug Blocks: | 1481454 | ||
Description of problem: Happened in normal system use after the 'map' permission was introduced. Version-Release number of selected component: selinux-policy-3.13.1-270.fc27.noarch Additional info: reporter: libreport-2.9.1 hashmarkername: setroubleshoot kernel: 4.13.0-0.rc4.git4.1.fc27.x86_64 type: libreport This bug appears to have been reported against 'rawhide' during the Fedora 27 development cycle. Changing version to '27'. selinux-policy-3.13.1-283.13.fc27 has been submitted as an update to Fedora 27. https://bodhi.fedoraproject.org/updates/FEDORA-2017-b5e9ce60d2 selinux-policy-3.13.1-283.14.fc27 has been pushed to the Fedora 27 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-b5e9ce60d2 selinux-policy-3.13.1-283.14.fc27 has been pushed to the Fedora 27 stable repository. If problems still persist, please make note of it in this bug report. |
Description of problem: SELinux is preventing pulseaudio from 'map' accesses on the chr_file /dev/snd/pcmC0D0c. ***** Plugin catchall (100. confidence) suggests ************************** If you believe that pulseaudio should be allowed map access on the pcmC0D0c chr_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 'pulseaudio' --raw | audit2allow -M my-pulseaudio # semodule -X 300 -i my-pulseaudio.pp Additional Information: Source Context system_u:system_r:xdm_t:s0-s0:c0.c1023 Target Context system_u:object_r:sound_device_t:s0 Target Objects /dev/snd/pcmC0D0c [ chr_file ] Source pulseaudio Source Path pulseaudio Port <Unknown> Host (removed) Source RPM Packages Target RPM Packages Policy RPM selinux-policy-3.13.1-270.fc27.noarch Selinux Enabled True Policy Type targeted Enforcing Mode Permissive Host Name (removed) Platform Linux (removed) 4.13.0-0.rc4.git4.1.fc27.x86_64 #1 SMP Fri Aug 11 15:03:46 UTC 2017 x86_64 x86_64 Alert Count 1 First Seen 2017-08-12 22:44:59 CEST Last Seen 2017-08-12 22:44:59 CEST Local ID 915ae4b3-6122-4841-b5f2-249451851beb Raw Audit Messages type=AVC msg=audit(1502570699.912:310): avc: denied { map } for pid=1346 comm="pulseaudio" path="/dev/snd/pcmC0D0c" dev="devtmpfs" ino=16522 scontext=system_u:system_r:xdm_t:s0-s0:c0.c1023 tcontext=system_u:object_r:sound_device_t:s0 tclass=chr_file permissive=1 Hash: pulseaudio,xdm_t,sound_device_t,chr_file,map Version-Release number of selected component: selinux-policy-3.13.1-270.fc27.noarch Additional info: component: selinux-policy reporter: libreport-2.9.1 hashmarkername: setroubleshoot kernel: 4.13.0-0.rc4.git4.1.fc27.x86_64 type: libreport