Bug 637750

Summary: SELinux is preventing /usr/lib64/xulrunner-2.0b6/plugin-container "bind" access .
Product: [Fedora] Fedora Reporter: Rahul Sundaram <sundaram>
Component: selinux-policyAssignee: Daniel Walsh <dwalsh>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: 14CC: dwalsh, mgrepl, smohan
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard: setroubleshoot_trace_hash:9bdff119aeb6898e6fba2fb55952101fa389bc9d5cd732e1e5e51c0db45e59bc
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-09-27 12:27:43 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:

Description Rahul Sundaram 2010-09-27 09:57:57 UTC
Summary:

SELinux is preventing /usr/lib64/xulrunner-2.0b6/plugin-container "bind" access
.

Detailed Description:

[plugin-containe has a permissive type (mozilla_plugin_t). This access was not
denied.]

SELinux denied access requested by plugin-containe. It is not expected that this
access is required by plugin-containe and this access may signal an intrusion
attempt. It is also possible that the specific version or configuration of the
application is causing it to require additional access.

Allowing Access:

You can generate a local policy module to allow this access - see FAQ
(http://docs.fedoraproject.org/selinux-faq-fc5/#id2961385) Please file a bug
report.

Additional Information:

Source Context                unconfined_u:unconfined_r:mozilla_plugin_t:s0-s0:c
                              0.c1023
Target Context                unconfined_u:unconfined_r:mozilla_plugin_t:s0-s0:c
                              0.c1023
Target Objects                None [ netlink_route_socket ]
Source                        plugin-containe
Source Path                   /usr/lib64/xulrunner-2.0b6/plugin-container
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           xulrunner2-2.0-0.7.b6.fc14
Target RPM Packages           
Policy RPM                    selinux-policy-3.9.5-5.fc14
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Plugin Name                   catchall
Host Name                     (removed)
Platform                      Linux mether.x200 2.6.35.4-28.fc14.x86_64 #1 SMP
                              Wed Sep 15 01:56:54 UTC 2010 x86_64 x86_64
Alert Count                   1
First Seen                    Mon 27 Sep 2010 03:17:29 PM IST
Last Seen                     Mon 27 Sep 2010 03:17:29 PM IST
Local ID                      954eaa45-a466-4491-8c6b-fb7a6d6a965c
Line Numbers                  

Raw Audit Messages            

node=mether.x200 type=AVC msg=audit(1285580849.56:169): avc:  denied  { bind } for  pid=13359 comm="plugin-containe" scontext=unconfined_u:unconfined_r:mozilla_plugin_t:s0-s0:c0.c1023 tcontext=unconfined_u:unconfined_r:mozilla_plugin_t:s0-s0:c0.c1023 tclass=netlink_route_socket

node=mether.x200 type=SYSCALL msg=audit(1285580849.56:169): arch=c000003e syscall=49 success=yes exit=0 a0=10 a1=7f507fdfe440 a2=c a3=7f507fdfe410 items=0 ppid=9546 pid=13359 auid=500 uid=500 gid=500 euid=500 suid=500 fsuid=500 egid=500 sgid=500 fsgid=500 tty=(none) ses=1 comm="plugin-containe" exe="/usr/lib64/xulrunner-2.0b6/plugin-container" subj=unconfined_u:unconfined_r:mozilla_plugin_t:s0-s0:c0.c1023 key=(null)



Hash String generated from  catchall,plugin-containe,mozilla_plugin_t,mozilla_plugin_t,netlink_route_socket,bind
audit2allow suggests:

#============= mozilla_plugin_t ==============
allow mozilla_plugin_t self:netlink_route_socket bind;

Comment 1 Daniel Walsh 2010-09-27 12:27:43 UTC

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