Bug 795042 - SELinux is preventing /usr/libexec/colord from 'getattr' accesses on the None /home/lesh/.local/share/icc/edid-de1f0c05b11da7bb0a5a91a36f62d248.icc.
Summary: SELinux is preventing /usr/libexec/colord from 'getattr' accesses on the None...
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 16
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Miroslav Grepl
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:7fca49783368ad66f59ffd39faf...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-02-18 20:47 UTC by Les Howell
Modified: 2012-02-20 16:08 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-02-20 16:08:37 UTC
Type: ---


Attachments (Terms of Use)

Description Les Howell 2012-02-18 20:47:03 UTC
libreport version: 2.0.8
executable:     /usr/bin/python
hashmarkername: setroubleshoot
kernel:         3.2.6-3.fc16.x86_64
reason:         SELinux is preventing /usr/libexec/colord from 'getattr' accesses on the None /home/lesh/.local/share/icc/edid-de1f0c05b11da7bb0a5a91a36f62d248.icc.
time:           Sat 18 Feb 2012 12:45:29 PM PST

description:
:SELinux is preventing /usr/libexec/colord from 'getattr' accesses on the None /home/lesh/.local/share/icc/edid-de1f0c05b11da7bb0a5a91a36f62d248.icc.
:
:*****  Plugin catchall (100. confidence) suggests  ***************************
:
:If you believe that colord should be allowed getattr access on the edid-de1f0c05b11da7bb0a5a91a36f62d248.icc <Unknown> 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:home_root_t:s0
:Target Objects                /home/lesh/.local/share/icc/edid-
:                              de1f0c05b11da7bb0a5a91a36f62d248.icc [ None ]
: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-75.fc16.noarch
:Selinux Enabled               True
:Policy Type                   targeted
:Enforcing Mode                Enforcing
:Host Name                     (removed)
:Platform                      Linux (removed) 3.2.6-3.fc16.x86_64 #1 SMP
:                              Mon Feb 13 20:35:42 UTC 2012 x86_64 x86_64
:Alert Count                   1
:First Seen                    Sat 18 Feb 2012 12:44:33 PM PST
:Last Seen                     Sat 18 Feb 2012 12:44:33 PM PST
:Local ID                      eaa860a3-e93b-47fa-9465-99394dc5633d
:
:Raw Audit Messages
:type=AVC msg=audit(1329597873.344:59): avc:  denied  { getattr } for  pid=1842 comm="colord" path="/home/lesh/.local/share/icc/edid-de1f0c05b11da7bb0a5a91a36f62d248.icc" dev=dm-5 ino=8914120 scontext=system_u:system_r:colord_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:home_root_t:s0 tclass=filenode=(removed) type=SYSCALL msg=audit(1329597873.344:59): arch=c000003e syscall=5 success=no exit=-13 a0=a a1=7fff41441660 a2=7fff41441660 a3=7f0b525b57c0 items=0 ppid=1 pid=1842 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,home_root_t,None,getattr
:
:audit2allow
:
:
:audit2allow -R
:
:

Comment 1 Miroslav Grepl 2012-02-20 16:08:37 UTC
your homedir is mislabeled.

$ restorecon -R -v /home/lesh

should fix labeling.


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