| Summary: | SELinux is preventing /usr/libexec/colord from 'write' accesses on the directory /dev/shm. | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Iulian Litcanu <litcanu> |
| Component: | selinux-policy | Assignee: | Miroslav Grepl <mgrepl> |
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | medium | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 15 | CC: | dwalsh, mgrepl |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | setroubleshoot_trace_hash:437bd8103d5af9812dfb44cf3f01dd1530b09d16207d03c65c49e22f040df77d | ||
| Fixed In Version: | selinux-policy-3.9.16-21.fc15 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2011-05-05 05:03:31 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
Fixed in selinux-policy-3.9.16-21.fc15 selinux-policy-3.9.16-21.fc15 has been submitted as an update for Fedora 15. https://admin.fedoraproject.org/updates/selinux-policy-3.9.16-21.fc15 Package selinux-policy-3.9.16-21.fc15: * should fix your issue, * was pushed to the Fedora 15 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.9.16-21.fc15' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/selinux-policy-3.9.16-21.fc15 then log in and leave karma (feedback). selinux-policy-3.9.16-21.fc15 has been pushed to the Fedora 15 stable repository. If problems still persist, please make note of it in this bug report. |
SELinux is preventing /usr/libexec/colord from 'write' accesses on the directory /dev/shm. ***** Plugin catchall (100. confidence) suggests *************************** If you believe that colord should be allowed write access on the shm directory 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: # grep colord /var/log/audit/audit.log | audit2allow -M mypol # semodule -i mypol.pp Additional Information: Source Context system_u:system_r:colord_t:s0-s0:c0.c1023 Target Context system_u:object_r:tmpfs_t:s0 Target Objects /dev/shm [ dir ] Source colord Source Path /usr/libexec/colord Port <Unknown> Host (removed) Source RPM Packages colord-0.1.1-3.fc15 Target RPM Packages Policy RPM selinux-policy-3.9.16-18.fc15 Selinux Enabled True Policy Type targeted Enforcing Mode Enforcing Host Name (removed) Platform Linux (removed) 2.6.38.4-20.fc15.x86_64 #1 SMP Thu Apr 28 23:32:48 UTC 2011 x86_64 x86_64 Alert Count 5 First Seen Fri 29 Apr 2011 08:47:15 PM EEST Last Seen Sat 30 Apr 2011 05:51:59 PM EEST Local ID d3f98a9c-4e5c-4b3a-9d14-fc062c4c12b3 Raw Audit Messages type=AVC msg=audit(1304175119.663:32): avc: denied { write } for pid=1106 comm="colord" name="/" dev=tmpfs ino=9237 scontext=system_u:system_r:colord_t:s0-s0:c0.c1023 tcontext=system_u:object_r:tmpfs_t:s0 tclass=dir type=AVC msg=audit(1304175119.663:32): avc: denied { add_name } for pid=1106 comm="colord" name=6C696276346C2D726F6F743A7573622D303030303A30303A31322E302D313A306334353A363038663A5553422063616D657261 scontext=system_u:system_r:colord_t:s0-s0:c0.c1023 tcontext=system_u:object_r:tmpfs_t:s0 tclass=dir type=AVC msg=audit(1304175119.663:32): avc: denied { create } for pid=1106 comm="colord" name=6C696276346C2D726F6F743A7573622D303030303A30303A31322E302D313A306334353A363038663A5553422063616D657261 scontext=system_u:system_r:colord_t:s0-s0:c0.c1023 tcontext=system_u:object_r:tmpfs_t:s0 tclass=file type=AVC msg=audit(1304175119.663:32): avc: denied { read write open } for pid=1106 comm="colord" name=6C696276346C2D726F6F743A7573622D303030303A30303A31322E302D313A306334353A363038663A5553422063616D657261 dev=tmpfs ino=16087 scontext=system_u:system_r:colord_t:s0-s0:c0.c1023 tcontext=system_u:object_r:tmpfs_t:s0 tclass=file type=SYSCALL msg=audit(1304175119.663:32): arch=x86_64 syscall=open success=yes exit=ENODEV a0=7fff936ae280 a1=a00c2 a2=180 a3=3830363a35346330 items=0 ppid=1 pid=1106 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm=colord exe=/usr/libexec/colord subj=system_u:system_r:colord_t:s0-s0:c0.c1023 key=(null) Hash: colord,colord_t,tmpfs_t,dir,write audit2allow #============= colord_t ============== #!!!! The source type 'colord_t' can write to a 'dir' of the following types: # colord_var_lib_t, colord_tmp_t, tmp_t, var_lib_t allow colord_t tmpfs_t:dir { write add_name }; #!!!! The source type 'colord_t' can write to a 'file' of the following types: # colord_var_lib_t, colord_tmp_t allow colord_t tmpfs_t:file { read write create open }; audit2allow -R #============= colord_t ============== #!!!! The source type 'colord_t' can write to a 'dir' of the following types: # colord_var_lib_t, colord_tmp_t, tmp_t, var_lib_t allow colord_t tmpfs_t:dir { write add_name }; #!!!! The source type 'colord_t' can write to a 'file' of the following types: # colord_var_lib_t, colord_tmp_t allow colord_t tmpfs_t:file { read write create open };