Bug 868006 - SELinux is preventing /usr/libexec/colord from 'read' accesses on the file /home/raj/.local/share/icc/edid-3fa91ccd90de955a77317e7e326b2cca.icc.
Summary: SELinux is preventing /usr/libexec/colord from 'read' accesses on the file /h...
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 17
Hardware: i686
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Miroslav Grepl
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:b482096a377e9a80ac779028bcf...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-10-18 20:45 UTC by Raj Upadhyaya
Modified: 2012-10-19 09:18 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2012-10-19 09:18:09 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: type (9 bytes, text/plain)
2012-10-18 20:45 UTC, Raj Upadhyaya
no flags Details
File: hashmarkername (14 bytes, text/plain)
2012-10-18 20:45 UTC, Raj Upadhyaya
no flags Details

Description Raj Upadhyaya 2012-10-18 20:45:33 UTC
Description of problem:
I just installed the new kernel 3.7.0-rc1 and rebooted and received this error.  I do not know if they are related.

Additional info:
libreport version: 2.0.14
kernel:         3.7.0-rc1

description:
:SELinux is preventing /usr/libexec/colord from 'read' accesses on the file /home/raj/.local/share/icc/edid-3fa91ccd90de955a77317e7e326b2cca.icc.
:
:*****  Plugin catchall (100. confidence) suggests  ***************************
:
:If you believe that colord should be allowed read access on the edid-3fa91ccd90de955a77317e7e326b2cca.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 gdbus /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                system_u:object_r:samba_share_t:s0
:Target Objects                /home/raj/.local/share/icc/edid-
:                              3fa91ccd90de955a77317e7e326b2cca.icc [ file ]
:Source                        gdbus
:Source Path                   /usr/libexec/colord
:Port                          <Unknown>
:Host                          (removed)
:Source RPM Packages           colord-0.1.23-1.fc17.i686
:Target RPM Packages           
:Policy RPM                    selinux-policy-3.10.0-153.fc17.noarch
:Selinux Enabled               True
:Policy Type                   targeted
:Enforcing Mode                Enforcing
:Host Name                     (removed)
:Platform                      Linux (removed) 3.7.0-rc1 #1 SMP Thu Oct 18
:                              09:55:47 CDT 2012 i686 i686
:Alert Count                   2
:First Seen                    2012-10-18 13:50:30 CDT
:Last Seen                     2012-10-18 15:37:09 CDT
:Local ID                      7da58883-8cbe-4dcc-974c-c714ac10f7ca
:
:Raw Audit Messages
:type=AVC msg=audit(1350592629.748:76): avc:  denied  { read } for  pid=904 comm="gdbus" path="/home/raj/.local/share/icc/edid-3fa91ccd90de955a77317e7e326b2cca.icc" dev="dm-2" ino=57 scontext=system_u:system_r:colord_t:s0 tcontext=system_u:object_r:samba_share_t:s0 tclass=file
:
:
:type=SYSCALL msg=audit(1350592629.748:76): arch=i386 syscall=socketcall success=yes exit=EBUSY a0=11 a1=b6bfe7f0 a2=4b060ff4 a3=0 items=0 ppid=1 pid=904 auid=4294967295 uid=997 gid=994 euid=997 suid=997 fsuid=997 egid=994 sgid=994 fsgid=994 ses=4294967295 tty=(none) comm=gdbus exe=/usr/libexec/colord subj=system_u:system_r:colord_t:s0 key=(null)
:
:Hash: gdbus,colord_t,samba_share_t,file,read
:
:audit2allow
:
:#============= colord_t ==============
:allow colord_t samba_share_t:file read;
:
:audit2allow -R
:
:#============= colord_t ==============
:allow colord_t samba_share_t:file read;
:

Comment 1 Raj Upadhyaya 2012-10-18 20:45:35 UTC
Created attachment 629646 [details]
File: type

Comment 2 Raj Upadhyaya 2012-10-18 20:45:37 UTC
Created attachment 629647 [details]
File: hashmarkername

Comment 3 Raj Upadhyaya 2012-10-19 01:35:45 UTC
Rebooting.

Package: (null)
OS Release: Fedora release 17 (Beefy Miracle)

Comment 4 Miroslav Grepl 2012-10-19 09:18:09 UTC
Please execute

# restorecon -R -v /home/raj/.local

will fix your problem. Thank you.


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