Bug 1159672
Summary: | SELinux is preventing /usr/lib/systemd/systemd-logind from 'getattr' accesses on the file /dev/shm/spice.2372. | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Michael Hampton <error> |
Component: | selinux-policy-targeted | Assignee: | Miroslav Grepl <mgrepl> |
Status: | CLOSED ERRATA | QA Contact: | Ben Levenson <benl> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 21 | CC: | amessina, dominick.grift, dpierce, dwalsh, dzrudy, hancockrwd, johannbg, jsynacek, lnykryn, lvrabec, mgrepl, mhayden, mikedep333, msekleta, plautrba, s, systemd-maint, vpavlin, zbyszek |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | x86_64 | ||
OS: | Unspecified | ||
Whiteboard: | abrt_hash:7a429a587efdfbced4741ecc7cd5b30d421b6ed8b16e646aa35d248ffd0ce06c | ||
Fixed In Version: | selinux-policy-3.13.1-105.fc21 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2015-01-30 23:55:20 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
Michael Hampton
2014-11-03 01:06:54 UTC
Why systemd-logind want getattr on /dev/shm/spice.*? Thank you. I'm having the same issue: type=AVC msg=audit(1417441202.817:39907): avc: denied { getattr } for pid=1249 comm="systemd-logind" path="/dev/shm/spice.8885" dev="tmpfs" ino=221317 scontext=system_u:system_r:systemd_logind_t:s0 tcontext=system_u:object_r:svirt_tmpfs_t:s0 tclass=file permissive=1 Suggested policy fix: # grep 1417441202.817:39907 /var/log/audit/audit.log | audit2allow #============= systemd_logind_t ============== allow systemd_logind_t svirt_tmpfs_t:file getattr; Relevant package versions: selinux-policy-3.13.1-92.fc21.noarch kernel-core-3.17.3-300.fc21.x86_64 selinux-policy-targeted-3.13.1-92.fc21.noarch (In reply to Lukas Vrabec from comment #1) > Why systemd-logind want getattr on /dev/shm/spice.*? > Thank you. logind now removes POSIX SHM segments of all users that log out. This is configured via the RemoveIPC= option in logind.conf. Description of problem: I upgraded from F20 to F21 using FedUp. Using Virt-Manager, I then powered on 2 existing VMs that both have "Display Spice", "Channel spice", and "Video XQL". Version-Release number of selected component: selinux-policy-3.13.1-99.fc21.noarch Additional info: reporter: libreport-2.3.0 hashmarkername: setroubleshoot kernel: 3.17.4-301.fc21.x86_64 type: libreport Description of problem: Not sure what is causing this. This is after a fedup upgrade from Fedora 20. Version-Release number of selected component: selinux-policy-3.13.1-99.fc21.noarch Additional info: reporter: libreport-2.3.0 hashmarkername: setroubleshoot kernel: 3.17.6-300.fc21.x86_64 type: libreport 6c7903f1ef132fdaaae089a1385b5b72c9ed1d0b allows this in git. selinux-policy-3.13.1-105.fc21 has been submitted as an update for Fedora 21. https://admin.fedoraproject.org/updates/selinux-policy-3.13.1-105.fc21 Package selinux-policy-3.13.1-105.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-105.fc21' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2015-1337/selinux-policy-3.13.1-105.fc21 then log in and leave karma (feedback). selinux-policy-3.13.1-105.fc21 has been pushed to the Fedora 21 stable repository. If problems still persist, please make note of it in this bug report. |