Bug 907563 - 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: 18
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: 2013-02-04 17:44 UTC by nathaniel
Modified: 2013-02-05 07:03 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-02-05 07:03:58 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description nathaniel 2013-02-04 17:44:46 UTC
Description of problem:
SELinux is preventing /usr/libexec/colord-sane from 'name_bind' accesses on the udp_socket .

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

If you believe that colord-sane should be allowed name_bind access on the  udp_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-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.23-1.fc17.x86_64
                              colord-0.1.23-1.fc17.i686
Target RPM Packages           
Policy RPM                    selinux-policy-3.10.0-166.fc17.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Host Name                     (removed)
Platform                      Linux (removed) 3.7.3-101.fc17.x86_64 #1 SMP Fri
                              Jan 18 17:40:57 UTC 2013 x86_64 x86_64
Alert Count                   16
First Seen                    2013-01-26 17:31:29 EST
Last Seen                     2013-02-02 16:29:10 EST
Local ID                      62f16ebc-9655-46af-b53f-644c0ed71a70

Raw Audit Messages
type=AVC msg=audit(1359840550.507:59): avc:  denied  { name_bind } for  pid=1222 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(1359840550.507:59): arch=x86_64 syscall=bind success=no exit=EACCES a0=c a1=7fff89fbf730 a2=10 a3=7fff89fbe6e0 items=0 ppid=1 pid=1222 auid=4294967295 uid=996 gid=994 euid=996 suid=996 fsuid=996 egid=994 sgid=994 fsgid=994 ses=4294967295 tty=(none) 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

audit2allow

#============= colord_t ==============
allow colord_t howl_port_t:udp_socket name_bind;

audit2allow -R

#============= colord_t ==============
allow colord_t howl_port_t:udp_socket name_bind;


Additional info:
hashmarkername: setroubleshoot
kernel:         3.7.4-204.fc18.x86_64
type:           libreport

Potential duplicate: bug 827934

Comment 1 Miroslav Grepl 2013-02-05 07:03:58 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.