Bug 631268 - SELinux is preventing /usr/lib64/xulrunner-2.0b4/plugin-container "remove_name" access on wakeup.sol.
Summary: SELinux is preventing /usr/lib64/xulrunner-2.0b4/plugin-container "remove_nam...
Keywords:
Status: CLOSED DUPLICATE of bug 631269
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 14
Hardware: x86_64
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Daniel Walsh
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: setroubleshoot_trace_hash:f5ac77d68e8...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-09-07 17:44 UTC by Rahul Sundaram
Modified: 2013-03-13 05:47 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2010-09-07 17:57:44 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Rahul Sundaram 2010-09-07 17:44:25 UTC
Summary:

SELinux is preventing /usr/lib64/xulrunner-2.0b4/plugin-container "remove_name"
access on wakeup.sol.

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:object_r:nsplugin_home_t:s0
Target Objects                wakeup.sol [ dir ]
Source                        plugin-containe
Source Path                   /usr/lib64/xulrunner-2.0b4/plugin-container
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           xulrunner2-2.0-0.5.b4.fc14
Target RPM Packages           
Policy RPM                    selinux-policy-3.9.0-2.fc14
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Plugin Name                   catchall
Host Name                     (removed)
Platform                      Linux (removed) 2.6.35.4-12.fc14.x86_64 #1 SMP
                              Fri Aug 27 07:45:05 UTC 2010 x86_64 x86_64
Alert Count                   47
First Seen                    Mon 06 Sep 2010 07:50:07 PM IST
Last Seen                     Tue 07 Sep 2010 10:38:45 PM IST
Local ID                      ec14c6b8-0d83-4bf9-8e28-862b4c1253a1
Line Numbers                  

Raw Audit Messages            

node=(removed) type=AVC msg=audit(1283879325.200:2134): avc:  denied  { remove_name } for  pid=28290 comm="plugin-containe" name="wakeup.sol" dev=dm-2 ino=3670042 scontext=unconfined_u:unconfined_r:mozilla_plugin_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:nsplugin_home_t:s0 tclass=dir

node=(removed) type=AVC msg=audit(1283879325.200:2134): avc:  denied  { unlink } for  pid=28290 comm="plugin-containe" name="wakeup.sol" dev=dm-2 ino=3670042 scontext=unconfined_u:unconfined_r:mozilla_plugin_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:nsplugin_home_t:s0 tclass=file

node=(removed) type=SYSCALL msg=audit(1283879325.200:2134): arch=c000003e syscall=87 success=yes exit=0 a0=7f6d2b8633a0 a1=7fff63170740 a2=0 a3=6f6f672e6c69616d items=0 ppid=28247 pid=28290 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.0b4/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,nsplugin_home_t,dir,remove_name
audit2allow suggests:

#============= mozilla_plugin_t ==============
allow mozilla_plugin_t nsplugin_home_t:dir remove_name;
allow mozilla_plugin_t nsplugin_home_t:file unlink;

Comment 1 Daniel Walsh 2010-09-07 17:57:44 UTC

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


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