Bug 854829 - SELinux is preventing /usr/libexec/colord from 'read' accesses on the directory /home/share/color/icc.
Summary: SELinux is preventing /usr/libexec/colord from 'read' accesses on the directo...
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 17
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Miroslav Grepl
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:1c36af29443eed855f959761aba...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-09-06 05:48 UTC by hostmaster
Modified: 2012-09-06 20:49 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2012-09-06 20:49:45 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: type (9 bytes, text/plain)
2012-09-06 05:48 UTC, hostmaster
no flags Details
File: hashmarkername (14 bytes, text/plain)
2012-09-06 05:48 UTC, hostmaster
no flags Details

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


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