Bug 854090

Summary: SELinux is preventing /usr/lib64/thunderbird/thunderbird from 'name_connect' accesses on the tcp_socket .
Product: [Fedora] Fedora Reporter: Jeffrey S Austin <phyrefyter>
Component: selinux-policyAssignee: Miroslav Grepl <mgrepl>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 17CC: dominick.grift, dwalsh, mgrepl
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:1c9bed3f50a8ed4b4d34596001ac2f557fcde56eb6bbb29c05965a36a5324617
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-09-04 10:36:25 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
File: type
none
File: hashmarkername none

Description Jeffrey S Austin 2012-09-04 02:04:38 UTC
Additional info:
libreport version: 2.0.13
kernel:         3.5.3-1.fc17.x86_64.debug

description:
:SELinux is preventing /usr/lib64/thunderbird/thunderbird from 'name_connect' accesses on the tcp_socket .
:
:*****  Plugin catchall (100. confidence) suggests  ***************************
:
:If you believe that thunderbird should be allowed name_connect access on the  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 thunderbird /var/log/audit/audit.log | audit2allow -M mypol
:# semodule -i mypol.pp
:
:Additional Information:
:Source Context                unconfined_u:unconfined_r:mozilla_plugin_t:s0-s0:c
:                              0.c1023
:Target Context                system_u:object_r:smtp_port_t:s0
:Target Objects                 [ tcp_socket ]
:Source                        thunderbird
:Source Path                   /usr/lib64/thunderbird/thunderbird
:Port                          465
:Host                          (removed)
:Source RPM Packages           thunderbird-15.0-1.fc17.x86_64
:Target RPM Packages           
:Policy RPM                    selinux-policy-3.10.0-146.fc17.noarch
:Selinux Enabled               True
:Policy Type                   targeted
:Enforcing Mode                Enforcing
:Host Name                     (removed)
:Platform                      Linux (removed) 3.5.3-1.fc17.x86_64.debug #1 SMP
:                              Wed Aug 29 18:23:34 UTC 2012 x86_64 x86_64
:Alert Count                   2
:First Seen                    2012-09-03 22:00:32 EDT
:Last Seen                     2012-09-03 22:00:32 EDT
:Local ID                      4d227b45-82ee-4e47-b552-f4bfc647a8e5
:
:Raw Audit Messages
:type=AVC msg=audit(1346724032.451:151): avc:  denied  { name_connect } for  pid=4299 comm="thunderbird" dest=465 scontext=unconfined_u:unconfined_r:mozilla_plugin_t:s0-s0:c0.c1023 tcontext=system_u:object_r:smtp_port_t:s0 tclass=tcp_socket
:
:
:type=SYSCALL msg=audit(1346724032.451:151): arch=x86_64 syscall=connect success=no exit=EACCES a0=2b a1=7f5aabffea40 a2=1c a3=10cb items=0 ppid=1 pid=4299 auid=1000 uid=1000 gid=1000 euid=1000 suid=1000 fsuid=1000 egid=1000 sgid=1000 fsgid=1000 tty=(none) ses=2 comm=thunderbird exe=/usr/lib64/thunderbird/thunderbird subj=unconfined_u:unconfined_r:mozilla_plugin_t:s0-s0:c0.c1023 key=(null)
:
:Hash: thunderbird,mozilla_plugin_t,smtp_port_t,tcp_socket,name_connect
:
:audit2allow
:
:#============= mozilla_plugin_t ==============
:#!!!! This avc can be allowed using the boolean 'allow_ypbind'
:
:allow mozilla_plugin_t smtp_port_t:tcp_socket name_connect;
:
:audit2allow -R
:
:#============= mozilla_plugin_t ==============
:#!!!! This avc can be allowed using the boolean 'allow_ypbind'
:
:allow mozilla_plugin_t smtp_port_t:tcp_socket name_connect;
:

Comment 1 Jeffrey S Austin 2012-09-04 02:04:40 UTC
Created attachment 609504 [details]
File: type

Comment 2 Jeffrey S Austin 2012-09-04 02:04:43 UTC
Created attachment 609505 [details]
File: hashmarkername

Comment 3 Miroslav Grepl 2012-09-04 10:36:25 UTC
Do you have mozplugger installed?

Comment 4 Daniel Walsh 2012-09-04 20:04:11 UTC
Do you have thunderbird running as a plugin to firefox?