Bug 702069 - SELinux is preventing /usr/libexec/telepathy-gabble from 'write' accesses on the tcp_socket port None.
Summary: SELinux is preventing /usr/libexec/telepathy-gabble from 'write' accesses on ...
Keywords:
Status: CLOSED DUPLICATE of bug 702071
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 15
Hardware: x86_64
OS: Linux
unspecified
low
Target Milestone: ---
Assignee: Miroslav Grepl
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-05-04 16:58 UTC by Ankur Sinha (FranciscoD)
Modified: 2011-05-05 05:43 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-05-05 05:43:29 UTC
Type: ---


Attachments (Terms of Use)

Description Ankur Sinha (FranciscoD) 2011-05-04 16:58:54 UTC
SELinux is preventing /usr/libexec/telepathy-gabble from 'write' accesses on the tcp_socket port None.

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

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

Additional Information:
Source Context                system_u:object_r:unlabeled_t:s0
Target Context                system_u:object_r:unlabeled_t:s0
Target Objects                port None [ tcp_socket ]
Source                        telepathy-gabbl
Source Path                   /usr/libexec/telepathy-gabble
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           telepathy-gabble-0.11.8-1.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.x86_64 #1 SMP Wed
                              Mar 30 16:55:57 UTC 2011 x86_64 x86_64
Alert Count                   1
First Seen                    Sun 24 Apr 2011 14:04:51 IST
Last Seen                     Sun 24 Apr 2011 14:04:51 IST
Local ID                      0c55dc67-d998-413e-a386-cd659bd2e314

Raw Audit Messages
type=AVC msg=audit(1303634091.205:124): avc:  denied  { write } for  pid=24500 comm="telepathy-gabbl" laddr=192.168.0.102 lport=40744 faddr=74.125.71.125 fport=5222 scontext=system_u:object_r:unlabeled_t:s0 tcontext=system_u:object_r:unlabeled_t:s0 tclass=tcp_socket


type=SYSCALL msg=audit(1303634091.205:124): arch=x86_64 syscall=sendto success=no exit=EACCES a0=8 a1=1262660 a2=e5 a3=4000 items=0 ppid=1 pid=24500 auid=500 uid=500 gid=500 euid=500 suid=500 fsuid=500 egid=500 sgid=500 fsgid=500 tty=(none) ses=1 comm=telepathy-gabbl exe=/usr/libexec/telepathy-gabble subj=system_u:object_r:unlabeled_t:s0 key=(null)

Hash: telepathy-gabbl,unlabeled_t,unlabeled_t,tcp_socket,write

audit2allow

#============= unlabeled_t ==============
allow unlabeled_t self:tcp_socket write;

audit2allow -R

#============= unlabeled_t ==============
allow unlabeled_t self:tcp_socket write;

Comment 1 Miroslav Grepl 2011-05-05 05:43:29 UTC

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


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