Bug 1481554
| Summary: | SELinux is preventing colord from 'map' accesses on the file /var/lib/gdm/.local/share/icc/edid-8281d5c3a72a7556691673cb2dff5d69.icc. | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Adam Williamson <awilliam> |
| Component: | selinux-policy | Assignee: | Lukas Vrabec <lvrabec> |
| Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | rawhide | CC: | carlwgeorge, dominick.grift, dwalsh, lsm5, lvrabec, mgrepl, plautrba, pmoore, ssekidde |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Unspecified | ||
| Whiteboard: | abrt_hash:e2f237786a158f0ad9e12f0c087b61eebaab6320d8d5eee5c89e12902b7dff97;VARIANT_ID=workstation; | ||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2018-02-20 11:21:24 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 (GNOME) after 'map' permission was introduced. SELinux is preventing colord from 'map' accesses on the file /var/lib/gdm/.local/share/icc/edid-8281d5c3a72a7556691673cb2dff5d69.icc. ***** Plugin catchall (100. confidence) suggests ************************** If you believe that colord should be allowed map access on the edid-8281d5c3a72a7556691673cb2dff5d69.icc 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 'colord' --raw | audit2allow -M my-colord # semodule -X 300 -i my-colord.pp Additional Information: Source Context system_u:system_r:colord_t:s0 Target Context system_u:object_r:xdm_var_lib_t:s0 Target Objects /var/lib/gdm/.local/share/icc/edid-8281d5c3a72a755 6691673cb2dff5d69.icc [ file ] Source colord Source Path colord 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-14 09:21:54 PDT Last Seen 2017-08-14 09:21:54 PDT Local ID 180980da-193b-40b4-bf54-c1c017ecc0ea Raw Audit Messages type=AVC msg=audit(1502727714.135:309): avc: denied { map } for pid=1228 comm="colord" path="/var/lib/gdm/.local/share/icc/edid-8281d5c3a72a7556691673cb2dff5d69.icc" dev="dm-2" ino=920693 scontext=system_u:system_r:colord_t:s0 tcontext=system_u:object_r:xdm_var_lib_t:s0 tclass=file permissive=1 Hash: colord,colord_t,xdm_var_lib_t,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