Bug 827934 - SELinux is preventing /usr/libexec/colord-sane from 'name_bind' accesses on the udp_socket .
SELinux is preventing /usr/libexec/colord-sane from 'name_bind' accesses on t...
Status: CLOSED DUPLICATE of bug 790247
Product: Fedora
Classification: Fedora
Component: selinux-policy (Show other bugs)
x86_64 Unspecified
unspecified Severity unspecified
: ---
: ---
Assigned To: Miroslav Grepl
Fedora Extras Quality Assurance
Depends On:
  Show dependency treegraph
Reported: 2012-06-03 17:19 EDT by Wedeck
Modified: 2012-06-04 05:02 EDT (History)
3 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2012-06-04 05:02:50 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Wedeck 2012-06-03 17:19:41 EDT
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

: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.
: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 05:02:50 EDT

*** 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.