Bug 1481560 - SELinux is preventing colord from 'map' accesses on the file /home/adamw/.local/share/icc/U2211H_DVI.icm.
Summary: SELinux is preventing colord from 'map' accesses on the file /home/adamw/.loc...
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: rawhide
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Lukas Vrabec
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:a030f3a6f98864c1f957bd5bc61...
Depends On:
Blocks: 1481454
TreeView+ depends on / blocked
 
Reported: 2017-08-15 05:29 UTC by Adam Williamson
Modified: 2018-02-20 11:20 UTC (History)
8 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-02-20 11:20:23 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Adam Williamson 2017-08-15 05:29:05 UTC
Description of problem:
Happened in normal system use after the 'map' permission was introduced.
SELinux is preventing colord from 'map' accesses on the file /home/adamw/.local/share/icc/U2211H_DVI.icm.

*****  Plugin catchall (100. confidence) suggests   **************************

If you believe that colord should be allowed map access on the U2211H_DVI.icm 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                unconfined_u:object_r:icc_data_home_t:s0
Target Objects                /home/adamw/.local/share/icc/U2211H_DVI.icm [ 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:22:57 PDT
Last Seen                     2017-08-14 09:22:57 PDT
Local ID                      2b49c5aa-8727-434c-8170-bb7aac5d71a8

Raw Audit Messages
type=AVC msg=audit(1502727777.55:386): avc:  denied  { map } for  pid=1228 comm="colord" path="/home/adamw/.local/share/icc/U2211H_DVI.icm" dev="dm-0" ino=524308 scontext=system_u:system_r:colord_t:s0 tcontext=unconfined_u:object_r:icc_data_home_t:s0 tclass=file permissive=1


Hash: colord,colord_t,icc_data_home_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


Note You need to log in before you can comment on or make changes to this bug.