Bug 854829

Summary: SELinux is preventing /usr/libexec/colord from 'read' accesses on the directory /home/share/color/icc.
Product: [Fedora] Fedora Reporter: hostmaster
Component: selinux-policyAssignee: Miroslav Grepl <mgrepl>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 17CC: dominick.grift, dwalsh, mgrepl
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:1c36af29443eed855f959761aba18e48f7b88ec7e59229573886f5fd897f1586
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-09-06 20:49:45 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:
Attachments:
Description Flags
File: type
none
File: hashmarkername none

Description hostmaster 2012-09-06 05:48:25 UTC
Additional info:
libreport version: 2.0.13
kernel:         3.5.3-1.fc17.x86_64

description:
:SELinux is preventing /usr/libexec/colord from 'read' accesses on the directory /home/share/color/icc.
:
:*****  Plugin catchall (100. confidence) suggests  ***************************
:
:If sie denken, dass colord standardmässig erlaubt sein sollte, read Zugriff auf icc directory zu erhalten.
:Then sie sollten dies als Fehler melden.
:Um diesen Zugriff zu erlauben, können Sie ein lokales Richtlinien-Modul erstellen.
:Do
:zugriff jetzt erlauben, indem Sie die nachfolgenden Befehle ausführen:
:# 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
:Target Context                unconfined_u:object_r:user_home_t:s0
:Target Objects                /home/share/color/icc [ dir ]
:Source                        colord
:Source Path                   /usr/libexec/colord
:Port                          <Unbekannt>
:Host                          (removed)
:Source RPM Packages           colord-0.1.21-1.fc17.x86_64
:Target RPM Packages           color-filesystem-1-9.noarch
:Policy RPM                    selinux-policy-3.10.0-146.fc17.noarch
:Selinux Enabled               True
:Policy Type                   targeted
:Enforcing Mode                Permissive
:Host Name                     (removed)
:Platform                      Linux (removed) 3.5.3-1.fc17.x86_64 #1 SMP Wed Aug
:                              29 18:46:34 UTC 2012 x86_64 x86_64
:Alert Count                   2
:First Seen                    2012-09-06 07:46:05 CEST
:Last Seen                     2012-09-06 07:46:05 CEST
:Local ID                      6655e272-4469-4b9b-94d7-7974c2745398
:
:Raw Audit Messages
:type=AVC msg=audit(1346910365.719:79): avc:  denied  { read } for  pid=1922 comm="colord" name="icc" dev="dm-4" ino=1312705 scontext=system_u:system_r:colord_t:s0 tcontext=unconfined_u:object_r:user_home_t:s0 tclass=dir
:
:
:type=AVC msg=audit(1346910365.719:79): avc:  denied  { open } for  pid=1922 comm="colord" path="/home/share/color/icc" dev="dm-4" ino=1312705 scontext=system_u:system_r:colord_t:s0 tcontext=unconfined_u:object_r:user_home_t:s0 tclass=dir
:
:
:type=SYSCALL msg=audit(1346910365.719:79): arch=x86_64 syscall=openat success=yes exit=EACCES a0=ffffffffffffff9c a1=419379 a2=90800 a3=0 items=0 ppid=1 pid=1922 auid=4294967295 uid=990 gid=987 euid=990 suid=990 fsuid=990 egid=987 sgid=987 fsgid=987 tty=(none) ses=4294967295 comm=colord exe=/usr/libexec/colord subj=system_u:system_r:colord_t:s0 key=(null)
:
:Hash: colord,colord_t,user_home_t,dir,read
:
:audit2allow
:
:#============= colord_t ==============
:allow colord_t user_home_t:dir { read open };
:
:audit2allow -R
:
:#============= colord_t ==============
:allow colord_t user_home_t:dir { read open };
:

Comment 1 hostmaster 2012-09-06 05:48:29 UTC
Created attachment 610175 [details]
File: type

Comment 2 hostmaster 2012-09-06 05:48:31 UTC
Created attachment 610176 [details]
File: hashmarkername

Comment 3 Daniel Walsh 2012-09-06 20:49:45 UTC
restorecon -R -v /home