Bug 694523 - SELinux is preventing /usr/libexec/colord from 'write' accesses on the unix_dgram_socket Unknown.
Summary: SELinux is preventing /usr/libexec/colord from 'write' accesses on the unix_d...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 15
Hardware: i386
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Miroslav Grepl
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: setroubleshoot_trace_hash:397599d85ae...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-04-07 14:52 UTC by Acker
Modified: 2011-04-15 21:32 UTC (History)
2 users (show)

Fixed In Version: selinux-policy-3.9.16-15.fc15
Clone Of:
Environment:
Last Closed: 2011-04-15 21:32:46 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Acker 2011-04-07 14:52:21 UTC
SELinux is preventing /usr/libexec/colord from 'write' accesses on the unix_dgram_socket Unknown.

*****  Plugin catchall (100. confidence) suggests  ***************************

If you believe that colord should be allowed write access on the Unknown unix_dgram_socket 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:colord_t:s0-s0:c0.c1023
Target Objects                Unknown [ unix_dgram_socket ]
Source                        colord
Source Path                   /usr/libexec/colord
Port                          <Unbekannt>
Host                          (removed)
Source RPM Packages           colord-0.1.1-3.fc15
Target RPM Packages           
Policy RPM                    selinux-policy-3.9.16-12.fc15
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Host Name                     (removed)
Platform                      Linux (removed) 2.6.38.2-9.fc15.i686 #1 SMP
                              Wed Mar 30 16:54:01 UTC 2011 i686 i686
Alert Count                   1
First Seen                    Do 07 Apr 2011 16:35:53 CEST
Last Seen                     Do 07 Apr 2011 16:35:53 CEST
Local ID                      91f1047c-fd13-49e8-bf52-e56635623254

Raw Audit Messages
type=AVC msg=audit(1302186953.558:89): avc:  denied  { write } for  pid=6396 comm="colord" scontext=system_u:system_r:colord_t:s0-s0:c0.c1023 tcontext=system_u:system_r:colord_t:s0-s0:c0.c1023 tclass=unix_dgram_socket


type=SYSCALL msg=audit(1302186953.558:89): arch=i386 syscall=socketcall success=yes exit=ELIBACC a0=9 a1=bff0f270 a2=46dff4 a3=0 items=0 ppid=1 pid=6396 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,colord_t,unix_dgram_socket,write

audit2allow

#============= colord_t ==============
allow colord_t self:unix_dgram_socket write;

audit2allow -R

#============= colord_t ==============
allow colord_t self:unix_dgram_socket write;

Comment 1 Acker 2011-04-07 14:54:00 UTC
During install of cups-pdf

Comment 2 Daniel Walsh 2011-04-07 15:42:41 UTC
Fixed in selinux-policy-3.9.16-13.fc15

Comment 3 Fedora Update System 2011-04-11 20:37:55 UTC
selinux-policy-3.9.16-14.fc15 has been submitted as an update for Fedora 15.
https://admin.fedoraproject.org/updates/selinux-policy-3.9.16-14.fc15

Comment 4 Fedora Update System 2011-04-13 04:53:18 UTC
Package selinux-policy-3.9.16-14.fc15:
* should fix your issue,
* was pushed to the Fedora 15 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing selinux-policy-3.9.16-14.fc15'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/selinux-policy-3.9.16-14.fc15
then log in and leave karma (feedback).

Comment 5 Fedora Update System 2011-04-13 19:47:56 UTC
selinux-policy-3.9.16-15.fc15 has been submitted as an update for Fedora 15.
https://admin.fedoraproject.org/updates/selinux-policy-3.9.16-15.fc15

Comment 6 Fedora Update System 2011-04-15 21:31:20 UTC
selinux-policy-3.9.16-15.fc15 has been pushed to the Fedora 15 stable repository.  If problems still persist, please make note of it in this bug report.


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