Bug 1123423
Summary: | SELinux is preventing /usr/sbin/alsactl from 'read' accesses on the lnk_file /var/lock. | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Elad Alfassa <elad> |
Component: | selinux-policy | Assignee: | Miroslav Grepl <mgrepl> |
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 21 | CC: | b1r63r, brunorobertozanuzzo, cpanceac, decathorpe, dominick.grift, dwalsh, elad, jfrieben, khadgaray, lvrabec, mgrepl, nicolas.mailhot, pds.oganin, peljasz, rharwood, ryu.insang, sangu.fedora, scampa.giovanni, sgallagh, xiangjihan |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | x86_64 | ||
OS: | Unspecified | ||
Whiteboard: | abrt_hash:00ae93b89a84dad4907ab72d104ce7f9464f6abff609b4978df06722bf535db6 | ||
Fixed In Version: | selinux-policy-3.13.1-78.fc21 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2014-09-10 02:45:42 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: |
Description
Elad Alfassa
2014-07-25 15:19:05 UTC
Description of problem: While updating alsa packages in today development Version-Release number of selected component: selinux-policy-3.13.1-67.fc21.noarch Additional info: reporter: libreport-2.2.3 hashmarkername: setroubleshoot kernel: 3.16.0-0.rc6.git0.1.fc21.1.x86_64 type: libreport Does alsa create a lock file? Are you able to reproduce it with # semanage permissive -a alsa_t reproduce and # ausearch -m avc -ts recent # semanage permissive -d alsa_t Description of problem: Happened during an upgrade Version-Release number of selected component: selinux-policy-3.13.1-67.fc21.noarch Additional info: reporter: libreport-2.2.3 hashmarkername: setroubleshoot kernel: 3.16.0-0.rc5.git1.1.fc21.x86_64 type: libreport In permissive, # ausearch -m avc -ts recent -c alsactl ---- time->Wed Jul 30 18:12:25 2014 type=PROCTITLE msg=audit(1406758345.153:484): proctitle=2F7573722F7362696E2F616C736163746C002D73002D6E003139002D63002D4500414C53415F434F4E4649475F504154483D2F6574632F616C73612F616C736163746C2E636F6E66002D2D696E697466696C653D2F6C69622F616C73612F696E69742F30306D61696E00726461656D6F6E type=SYSCALL msg=audit(1406758345.153:484): arch=c000003e syscall=2 success=yes exit=11 a0=7fb0047c47b3 a1=2 a2=7fffdc09b6fb a3=0 items=0 ppid=1 pid=758 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm="alsactl" exe="/usr/sbin/alsactl" subj=system_u:system_r:alsa_t:s0 key=(null) type=AVC msg=audit(1406758345.153:484): avc: denied { open } for pid=758 comm="alsactl" path="/run/lock/asound.state.lock" dev="tmpfs" ino=19719 scontext=system_u:system_r:alsa_t:s0 tcontext=system_u:object_r:var_lock_t:s0 tclass=file permissive=1 commit 651672a21efbb36daa2ce5284aa0c03325940d6f Author: Miroslav Grepl <mgrepl> Date: Thu Jul 31 09:58:27 2014 +0200 Allow alsa to create lock file to see if it fixes #1123423. Description of problem: happens during login Version-Release number of selected component: selinux-policy-3.13.1-67.fc21.noarch Additional info: reporter: libreport-2.2.3 hashmarkername: setroubleshoot kernel: 3.16.0-0.rc7.git1.1.fc21.x86_64 type: libreport *** Bug 1123647 has been marked as a duplicate of this bug. *** *** Bug 1123469 has been marked as a duplicate of this bug. *** selinux-policy-3.13.1-77.fc21 has been submitted as an update for Fedora 21. https://admin.fedoraproject.org/updates/selinux-policy-3.13.1-77.fc21 Package selinux-policy-3.13.1-77.fc21: * should fix your issue, * was pushed to the Fedora 21 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing selinux-policy-3.13.1-77.fc21' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2014-9873/selinux-policy-3.13.1-77.fc21 then log in and leave karma (feedback). selinux-policy-3.13.1-78.fc21 has been submitted as an update for Fedora 21. https://admin.fedoraproject.org/updates/selinux-policy-3.13.1-78.fc21 selinux-policy-3.13.1-78.fc21 has been pushed to the Fedora 21 stable repository. If problems still persist, please make note of it in this bug report. |