Bug 794939 - SELinux is preventing /usr/libexec/colord from 'read' accesses on the file /proc/<pid>/cmdline.
Summary: SELinux is preventing /usr/libexec/colord from 'read' accesses on the file /p...
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 16
Hardware: i686
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Miroslav Grepl
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:234dbee621e599fcbeae3c483b7...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-02-18 00:20 UTC by Tony Browning
Modified: 2012-02-20 15:50 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-02-20 15:50:31 UTC
Type: ---


Attachments (Terms of Use)

Description Tony Browning 2012-02-18 00:20:06 UTC
libreport version: 2.0.6
executable:     /usr/bin/python
hashmarkername: setroubleshoot
kernel:         3.1.0-7.fc16.i686
reason:         SELinux is preventing /usr/libexec/colord from 'read' accesses on the file /proc/<pid>/cmdline.
time:           Fri Feb 17 19:24:05 2012

description:
:SELinux is preventing /usr/libexec/colord from 'read' accesses on the file /proc/<pid>/cmdline.
:
:*****  Plugin catchall (100. confidence) suggests  ***************************
:
:If you believe that colord should be allowed read access on the cmdline 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 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:system_r:xdm_t:s0-s0:c0.c1023
:Target Objects                /proc/<pid>/cmdline [ file ]
:Source                        colord
:Source Path                   /usr/libexec/colord
:Port                          <Unknown>
:Host                          (removed)
:Source RPM Packages           colord-0.1.12-1.fc16
:Target RPM Packages           
:Policy RPM                    selinux-policy-3.10.0-46.fc16
:Selinux Enabled               True
:Policy Type                   targeted
:Enforcing Mode                Enforcing
:Host Name                     (removed)
:Platform                      Linux (removed) 3.1.0-7.fc16.i686 #1 SMP Tue Nov
:                              1 21:00:16 UTC 2011 i686 i686
:Alert Count                   1
:First Seen                    Fri 17 Feb 2012 02:21:31 AM EST
:Last Seen                     Fri 17 Feb 2012 02:21:31 AM EST
:Local ID                      e797f887-161c-4cd5-9c22-0abccc785acd
:
:Raw Audit Messages
:type=AVC msg=audit(1329463291.365:69): avc:  denied  { read } for  pid=1469 comm="colord" path="/proc/1174/cmdline" dev=proc ino=19561 scontext=system_u:system_r:colord_t:s0-s0:c0.c1023 tcontext=system_u:system_r:xdm_t:s0-s0:c0.c1023 tclass=file
:
:
:type=SYSCALL msg=audit(1329463291.365:69): arch=i386 syscall=execve success=yes exit=0 a0=929ecc0 a1=929ec98 a2=929e008 a3=929e608 items=0 ppid=1468 pid=1469 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,xdm_t,file,read
:
:audit2allow
:
:#============= colord_t ==============
:#!!!! This avc is allowed in the current policy
:
:allow colord_t xdm_t:file read;
:
:audit2allow -R
:
:#============= colord_t ==============
:#!!!! This avc is allowed in the current policy
:
:allow colord_t xdm_t:file read;
:

Comment 1 Miroslav Grepl 2012-02-20 15:50:31 UTC
Please update your system

$ yum update


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