Bug 827934 - SELinux is preventing /usr/libexec/colord-sane from 'name_bind' accesses on the udp_socket .
Summary: SELinux is preventing /usr/libexec/colord-sane from 'name_bind' accesses on t...
Keywords:
Status: CLOSED DUPLICATE of bug 790247
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 17
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Miroslav Grepl
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:fbd0330c14ecd293e1a5b6e2fd6...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-06-03 21:19 UTC by Wedeck
Modified: 2012-06-04 09:02 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-06-04 09:02:50 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Wedeck 2012-06-03 21:19:41 UTC
libreport version: 2.0.10
executable:     /usr/bin/python2.7
hashmarkername: setroubleshoot
kernel:         3.3.7-1.fc17.x86_64
time:           dom 03 jun 2012 16:08:49 CDT

description:
:SELinux is preventing /usr/libexec/colord-sane from 'name_bind' accesses on the udp_socket .
:
:*****  Plugin catchall (100. confidence) suggests  ***************************
:
:If cree que de manera predeterminada, colord-sane debería permitir acceso name_bind sobre   udp_socket.     
:Then debería reportar esto como un error.
:Puede generar un módulo de política local para permitir este acceso.
:Do
:permita el acceso momentáneamente executando:
:# grep colord-sane /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:howl_port_t:s0
:Target Objects                 [ udp_socket ]
:Source                        colord-sane
:Source Path                   /usr/libexec/colord-sane
:Port                          5353
:Host                          (removed)
:Source RPM Packages           colord-0.1.18-2.fc17.x86_64
:Target RPM Packages           
:Policy RPM                    selinux-policy-3.10.0-125.fc17.noarch
:Selinux Enabled               True
:Policy Type                   targeted
:Enforcing Mode                Enforcing
:Host Name                     (removed)
:Platform                      Linux (removed) 3.3.7-1.fc17.x86_64 #1 SMP Mon May
:                              21 22:32:19 UTC 2012 x86_64 x86_64
:Alert Count                   2
:First Seen                    dom 03 jun 2012 16:08:18 CDT
:Last Seen                     dom 03 jun 2012 16:08:23 CDT
:Local ID                      4cc674fa-88cf-4795-bdf1-47e7d92497fb
:
:Raw Audit Messages
:type=AVC msg=audit(1338757703.372:94): avc:  denied  { name_bind } for  pid=1272 comm="colord-sane" src=5353 scontext=system_u:system_r:colord_t:s0 tcontext=system_u:object_r:howl_port_t:s0 tclass=udp_socket
:
:
:type=SYSCALL msg=audit(1338757703.372:94): arch=x86_64 syscall=bind success=no exit=EACCES a0=c a1=7fffbf18db40 a2=10 a3=7fffbf18caf0 items=0 ppid=1 pid=1272 auid=4294967295 uid=996 gid=994 euid=996 suid=996 fsuid=996 egid=994 sgid=994 fsgid=994 tty=(none) ses=4294967295 comm=colord-sane exe=/usr/libexec/colord-sane subj=system_u:system_r:colord_t:s0 key=(null)
:
:Hash: colord-sane,colord_t,howl_port_t,udp_socket,name_bind
:
:audit2allowunable to open /sys/fs/selinux/policy:  Permission denied
:
:
:audit2allow -Runable to open /sys/fs/selinux/policy:  Permission denied
:
:

Comment 1 Miroslav Grepl 2012-06-04 09:02:50 UTC

*** This bug has been marked as a duplicate of bug 790247 ***


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