Bug 700529

Summary: SELinux is preventing /usr/libexec/telepathy-haze from 'name_connect' accesses on the tcp_socket port 49152.
Product: [Fedora] Fedora Reporter: Dawid Zamirski <dzrudy>
Component: selinux-policyAssignee: Miroslav Grepl <mgrepl>
Status: CLOSED WONTFIX QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 15CC: dwalsh, mgrepl
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard: setroubleshoot_trace_hash:73cfdb117aa5563ff8ccd7111f47baf73a3ea6a6889668813ff96702c95e3a02
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-08-07 20:25:59 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Dawid Zamirski 2011-04-28 15:29:25 UTC
SELinux is preventing /usr/libexec/telepathy-haze from 'name_connect' accesses on the tcp_socket port 49152.

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

If you believe that telepathy-haze should be allowed name_connect access on the port 49152 tcp_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 telepathy-haze /var/log/audit/audit.log | audit2allow -M mypol
# semodule -i mypol.pp

Additional Information:
Source Context                unconfined_u:unconfined_r:telepathy_msn_t:s0-s0:c0
                              .c1023
Target Context                system_u:object_r:virt_migration_port_t:s0
Target Objects                port 49152 [ tcp_socket ]
Source                        telepathy-haze
Source Path                   /usr/libexec/telepathy-haze
Port                          49152
Host                          (removed)
Source RPM Packages           telepathy-haze-0.4.0-3.fc15
Target RPM Packages           
Policy RPM                    selinux-policy-3.9.16-15.fc15
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Host Name                     (removed)
Platform                      Linux (removed) 2.6.38.3-18.fc15.x86_64 #1
                              SMP Fri Apr 22 13:24:23 UTC 2011 x86_64 x86_64
Alert Count                   1
First Seen                    Thu 28 Apr 2011 11:28:48 AM EDT
Last Seen                     Thu 28 Apr 2011 11:28:48 AM EDT
Local ID                      ba65e35c-821e-4b69-941b-a21256e495d1

Raw Audit Messages
type=AVC msg=audit(1304004528.361:132): avc:  denied  { name_connect } for  pid=22227 comm="telepathy-haze" dest=49152 scontext=unconfined_u:unconfined_r:telepathy_msn_t:s0-s0:c0.c1023 tcontext=system_u:object_r:virt_migration_port_t:s0 tclass=tcp_socket


type=SYSCALL msg=audit(1304004528.361:132): arch=x86_64 syscall=connect success=no exit=EACCES a0=7 a1=8b5ca0 a2=10 a3=1 items=0 ppid=1 pid=22227 auid=500 uid=500 gid=500 euid=500 suid=500 fsuid=500 egid=500 sgid=500 fsgid=500 tty=(none) ses=3 comm=telepathy-haze exe=/usr/libexec/telepathy-haze subj=unconfined_u:unconfined_r:telepathy_msn_t:s0-s0:c0.c1023 key=(null)

Hash: telepathy-haze,telepathy_msn_t,virt_migration_port_t,tcp_socket,name_connect

audit2allow

#============= telepathy_msn_t ==============
allow telepathy_msn_t virt_migration_port_t:tcp_socket name_connect;

audit2allow -R

#============= telepathy_msn_t ==============
allow telepathy_msn_t virt_migration_port_t:tcp_socket name_connect;

Comment 1 Miroslav Grepl 2011-04-28 17:28:54 UTC
Please update to the latest policy which is available from updates-testing repo.

Comment 2 Fedora End Of Life 2012-08-07 20:26:00 UTC
This message is a notice that Fedora 15 is now at end of life. Fedora
has stopped maintaining and issuing updates for Fedora 15. It is
Fedora's policy to close all bug reports from releases that are no
longer maintained. At this time, all open bugs with a Fedora 'version'
of '15' have been closed as WONTFIX.

(Please note: Our normal process is to give advanced warning of this
occurring, but we forgot to do that. A thousand apologies.)

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, feel free to reopen
this bug and simply change the 'version' to a later Fedora version.

Bug Reporter: Thank you for reporting this issue and we are sorry that
we were unable to fix it before Fedora 15 reached end of life. If you
would still like to see this bug fixed and are able to reproduce it
against a later version of Fedora, you are encouraged to click on
"Clone This Bug" (top right of this page) and open it against that
version of Fedora.

Although we aim to fix as many bugs as possible during every release's
lifetime, sometimes those efforts are overtaken by events. Often a
more recent Fedora release includes newer upstream software that fixes
bugs or makes them obsolete.

The process we are following is described here:
http://fedoraproject.org/wiki/BugZappers/HouseKeeping