Bug 808633

Summary: SELinux is preventing /usr/libexec/colord from 'read' accesses on the file /home/gene/.local/share/icc/edid-ae516e8e21203ef1ebbaf796c5a50995.icc.
Product: [Fedora] Fedora Reporter: Gene Snider <genes1122>
Component: selinux-policyAssignee: Miroslav Grepl <mgrepl>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 16CC: dominick.grift, dwalsh, mgrepl
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:9e49992dfd2e6f8ec66d8f1e01e8360e98bb4b27b5ec1e3437331108445e2e81
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-04-02 10:20:14 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 Gene Snider 2012-03-30 22:38:50 UTC
libreport version: 2.0.8
executable:     /usr/bin/python
hashmarkername: setroubleshoot
kernel:         3.3.0-8.fc16.x86_64
reason:         SELinux is preventing /usr/libexec/colord from 'read' accesses on the file /home/gene/.local/share/icc/edid-ae516e8e21203ef1ebbaf796c5a50995.icc.
time:           Fri 30 Mar 2012 03:38:40 PM PDT

description:
:SELinux is preventing /usr/libexec/colord from 'read' accesses on the file /home/gene/.local/share/icc/edid-ae516e8e21203ef1ebbaf796c5a50995.icc.
:
:*****  Plugin restorecon (99.5 confidence) suggests  *************************
:
:If you want to fix the label. 
:/home/gene/.local/share/icc/edid-ae516e8e21203ef1ebbaf796c5a50995.icc default label should be icc_data_home_t.
:Then you can run restorecon.
:Do
:# /sbin/restorecon -v /home/gene/.local/share/icc/edid-ae516e8e21203ef1ebbaf796c5a50995.icc
:
:*****  Plugin catchall (1.49 confidence) suggests  ***************************
:
:If you believe that colord should be allowed read access on the edid-ae516e8e21203ef1ebbaf796c5a50995.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:
:# 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                unconfined_u:object_r:var_run_t:s0
:Target Objects                /home/gene/.local/share/icc/edid-
:                              ae516e8e21203ef1ebbaf796c5a50995.icc [ file ]
:Source                        colord
:Source Path                   /usr/libexec/colord
:Port                          <Unknown>
:Host                          (removed)
:Source RPM Packages           colord-0.1.15-2.fc16.x86_64
:Target RPM Packages           
:Policy RPM                    selinux-policy-3.10.0-81.fc16.noarch
:Selinux Enabled               True
:Policy Type                   targeted
:Enforcing Mode                Permissive
:Host Name                     (removed)
:Platform                      Linux (removed) 3.3.0-8.fc16.x86_64 #1 SMP Thu Mar
:                              29 18:37:19 UTC 2012 x86_64 x86_64
:Alert Count                   1
:First Seen                    Fri 30 Mar 2012 03:33:06 PM PDT
:Last Seen                     Fri 30 Mar 2012 03:33:06 PM PDT
:Local ID                      fd9e3df5-f8b8-4b06-bd93-1a882f992736
:
:Raw Audit Messages
:type=AVC msg=audit(1333146786.507:75): avc:  denied  { read } for  pid=1549 comm="colord" path="/home/gene/.local/share/icc/edid-ae516e8e21203ef1ebbaf796c5a50995.icc" dev="sda9" ino=130906 scontext=system_u:system_r:colord_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:var_run_t:s0 tclass=file
:
:
:type=SYSCALL msg=audit(1333146786.507:75): arch=x86_64 syscall=recvmsg success=yes exit=EBUSY a0=8 a1=7f025b45db40 a2=40000000 a3=1 items=0 ppid=1 pid=1549 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,var_run_t,file,read
:
:audit2allow
:
:#============= colord_t ==============
:allow colord_t var_run_t:file read;
:
:audit2allow -R
:
:#============= colord_t ==============
:allow colord_t var_run_t:file read;
:

Comment 1 Miroslav Grepl 2012-04-02 10:20:14 UTC

*** This bug has been marked as a duplicate of bug 808632 ***