Bug 786826 - SELinux is preventing /usr/libexec/colord from 'getattr' accesses on the None /media.
Summary: SELinux is preventing /usr/libexec/colord from 'getattr' accesses on the None...
Keywords:
Status: CLOSED ERRATA
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:3eaa3be5a7a11da9ceccfe2c3ea...
: 786827 786828 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-02-02 14:02 UTC by Tran Chi Thanh
Modified: 2012-02-02 16:18 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-02-02 16:17:23 UTC
Type: ---


Attachments (Terms of Use)

Description Tran Chi Thanh 2012-02-02 14:02:52 UTC
libreport version: 2.0.8
executable:     /usr/bin/python
hashmarkername: setroubleshoot
kernel:         3.2.2-1.fc16.x86_64
reason:         SELinux is preventing /usr/libexec/colord from 'getattr' accesses on the None /media.
time:           Thu 02 Feb 2012 09:02:30 PM ICT

description:
:SELinux is preventing /usr/libexec/colord from 'getattr' accesses on the None /media.
:
:*****  Plugin catchall (100. confidence) suggests  ***************************
:
:If you believe that colord should be allowed getattr access on the media <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                system_u:object_r:tmpfs_t:s0
:Target Objects                /media [ None ]
:Source                        colord
:Source Path                   /usr/libexec/colord
:Port                          <Unknown>
:Host                          (removed)
:Source RPM Packages           
:Target RPM Packages           
:Policy RPM                    <Unknown>
:Selinux Enabled               True
:Policy Type                   targeted
:Enforcing Mode                Enforcing
:Host Name                     (removed)
:Platform                      Linux (removed) 3.2.2-1.fc16.x86_64 #1 SMP Thu Jan 26
:                              03:21:58 UTC 2012 x86_64 x86_64
:Alert Count                   1
:First Seen                    Thu 02 Feb 2012 02:01:18 PM ICT
:Last Seen                     Thu 02 Feb 2012 02:01:18 PM ICT
:Local ID                      4ee23fa3-cb39-4d78-b0fd-9c631f6229a3
:
:Raw Audit Messages
:type=AVC msg=audit(1328166078.436:105): avc:  denied  { getattr } for  pid=1627 comm="colord" name="/" dev=tmpfs ino=11528 scontext=system_u:system_r:colord_t:s0-s0:c0.c1023 tcontext=system_u:object_r:tmpfs_t:s0 tclass=filesystemnode=(removed) type=SYSCALL msg=audit(1328166078.436:105): arch=c000003e syscall=137 success=no exit=-13 a0=7fff22a0bcb6 a1=7fff22a0beb0 a2=3c789af758 a3=0 items=0 ppid=1 pid=1627 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,tmpfs_t,None,getattr
:
:audit2allow
:
:
:audit2allow -R
:
:

Comment 1 Miroslav Grepl 2012-02-02 16:17:23 UTC
Please execute

# yum update selinux-policy-targeted

Comment 2 Miroslav Grepl 2012-02-02 16:18:39 UTC
*** Bug 786827 has been marked as a duplicate of this bug. ***

Comment 3 Miroslav Grepl 2012-02-02 16:18:47 UTC
*** Bug 786828 has been marked as a duplicate of this bug. ***


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