Bug 698266 - SELinux is preventing /usr/libexec/telepathy-haze from 'name_connect' accesses on the tcp_socket port 5061.
Summary: SELinux is preventing /usr/libexec/telepathy-haze from 'name_connect' accesse...
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:0021c1d5e9d...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-04-20 14:33 UTC by Adam Hough
Modified: 2011-05-02 03:39 UTC (History)
2 users (show)

Fixed In Version: selinux-policy-3.9.16-18.fc15
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-05-02 03:39:20 UTC
Type: ---


Attachments (Terms of Use)

Description Adam Hough 2011-04-20 14:33:14 UTC
SELinux is preventing /usr/libexec/telepathy-haze from 'name_connect' accesses on the tcp_socket port 5061.

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

If you believe that telepathy-haze should be allowed name_connect access on the port 5061 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:sip_port_t:s0
Target Objects                port 5061 [ tcp_socket ]
Source                        telepathy-haze
Source Path                   /usr/libexec/telepathy-haze
Port                          5061
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.2-9.fc15.i686 #1 SMP Wed Mar
                              30 16:54:01 UTC 2011 i686 i686
Alert Count                   28
First Seen                    Tue 19 Apr 2011 10:30:07 AM CDT
Last Seen                     Tue 19 Apr 2011 10:32:34 AM CDT
Local ID                      16f7f32c-fb5b-4253-a1ae-4883fab4c3df

Raw Audit Messages
type=AVC msg=audit(1303227154.941:233): avc:  denied  { name_connect } for  pid=11834 comm="telepathy-haze" dest=5061 scontext=unconfined_u:unconfined_r:telepathy_msn_t:s0-s0:c0.c1023 tcontext=system_u:object_r:sip_port_t:s0 tclass=tcp_socket


type=SYSCALL msg=audit(1303227154.941:233): arch=i386 syscall=socketcall success=no exit=EACCES a0=3 a1=bff22b70 a2=4e40395c a3=8448650 items=0 ppid=1 pid=11834 auid=500 uid=500 gid=500 euid=500 suid=500 fsuid=500 egid=500 sgid=500 fsgid=500 tty=(none) ses=1 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,sip_port_t,tcp_socket,name_connect

audit2allow

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

audit2allow -R

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

Comment 1 Daniel Walsh 2011-04-20 14:55:14 UTC
Fixed in selinux-policy-3.9.16-16.fc15

Comment 2 Fedora Update System 2011-04-21 15:05:05 UTC
selinux-policy-3.9.16-16.fc15 has been submitted as an update for Fedora 15.
https://admin.fedoraproject.org/updates/selinux-policy-3.9.16-16.fc15

Comment 3 Fedora Update System 2011-04-22 00:16:16 UTC
Package selinux-policy-3.9.16-16.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-16.fc15'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/selinux-policy-3.9.16-16.fc15
then log in and leave karma (feedback).

Comment 4 Fedora Update System 2011-04-28 19:06:55 UTC
Package selinux-policy-3.9.16-18.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-18.fc15'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/selinux-policy-3.9.16-18.fc15
then log in and leave karma (feedback).

Comment 5 Fedora Update System 2011-05-02 03:38:30 UTC
selinux-policy-3.9.16-18.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.