Bug 787324 - SELinux is preventing /usr/libexec/colord from 'read' accesses on the None passwd.
Summary: SELinux is preventing /usr/libexec/colord from 'read' accesses on the None pa...
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: rawhide
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Miroslav Grepl
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:53177d97d356d57967bb0eead63...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-02-04 00:13 UTC by Flóki Pálsson
Modified: 2012-02-06 11:51 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-02-06 11:51:40 UTC
Type: ---


Attachments (Terms of Use)

Description Flóki Pálsson 2012-02-04 00:13:51 UTC
libreport version: 2.0.8
executable:     /usr/bin/python
hashmarkername: setroubleshoot
kernel:         3.3.0-0.rc2.git2.1.fc17.x86_64
reason:         SELinux is preventing /usr/libexec/colord from 'read' accesses on the None passwd.
time:           lau  4.feb 2012, 00:13:38 GMT

description:
:SELinux is preventing /usr/libexec/colord from 'read' accesses on the None passwd.
:
:*****  Plugin catchall (100. confidence) suggests  ***************************
:
:If you believe that colord should be allowed read access on the passwd <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
:Target Context                system_u:object_r:passwd_file_t:s0
:Target Objects                passwd [ None ]
:Source                        colord
:Source Path                   /usr/libexec/colord
:Port                          <Unknown>
:Host                          (removed)
:Source RPM Packages           colord-0.1.16-4.fc17.x86_64
:Target RPM Packages           
:Policy RPM                    selinux-policy-3.10.0-81.2.fc17.noarch
:Selinux Enabled               True
:Policy Type                   targeted
:Enforcing Mode                Enforcing
:Host Name                     (removed)
:Platform                      Linux F17tca1 3.3.0-0.rc2.git2.1.fc17.x86_64 #1
:                              SMP Thu Feb 2 22:24:52 UTC 2012 x86_64 x86_64
:Alert Count                   6
:First Seen                    lau  4.feb 2012, 00:03:25 GMT
:Last Seen                     lau  4.feb 2012, 00:03:25 GMT
:Local ID                      d3844cbd-813a-41dc-a38a-e6c7ec9d9a76
:
:Raw Audit Messages
:type=AVC msg=audit(1328313805.289:121): avc:  denied  { read } for  pid=1229 comm="colord" name="passwd" dev="sdc14" ino=293602 scontext=system_u:system_r:colord_t:s0 tcontext=system_u:object_r:passwd_file_t:s0 tclass=filenode=F17tca1 type=SYSCALL msg=audit(1328313805.289:121): arch=c000003e syscall=2 success=no exit=-13 a0=7f0f5c4396ba a1=80000 a2=1b6 a3=238 items=0 ppid=1 pid=1229 auid=4294967295 uid=996 gid=994 euid=996 suid=996 fsuid=996 egid=994 sgid=994 fsgid=994 tty=(none) ses=4294967295 comm="colord" exe="/usr/libexec/colord" subj=system_u:system_r:colord_t:s0 key=(null)
:
:
:Hash: colord,colord_t,passwd_file_t,None,read
:
:audit2allow
:
:
:audit2allow -R
:
:

Comment 1 Miroslav Grepl 2012-02-06 11:51:40 UTC
Fixed in selinux-policy-3.10.0-83.fc17


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