Bug 632876 - SELinux is preventing /usr/bin/nspluginscan "getattr" access on /usr/lib64/mozilla/plugins-wrapped/npwrapper.so.
Summary: SELinux is preventing /usr/bin/nspluginscan "getattr" access on /usr/lib...
Keywords:
Status: CLOSED DUPLICATE of bug 632875
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:63e1f89bb9a...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-09-11 17:00 UTC by leigh scott
Modified: 2010-11-08 21:30 UTC (History)
12 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2010-09-13 13:15:03 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description leigh scott 2010-09-11 17:00:52 UTC
Summary:

SELinux is preventing /usr/bin/nspluginscan "getattr" access on
/usr/lib64/mozilla/plugins-wrapped/npwrapper.so.

Detailed Description:

SELinux denied access requested by nspluginscan. It is not expected that this
access is required by nspluginscan 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:nsplugin_t:s0-s0:c0.c102
                              3
Target Context                system_u:object_r:nsplugin_rw_t:s0
Target Objects                /usr/lib64/mozilla/plugins-wrapped/npwrapper.so [
                              lnk_file ]
Source                        nspluginscan
Source Path                   /usr/bin/nspluginscan
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           kdebase-4.5.1-1.fc14
Target RPM Packages           nspluginwrapper-1.3.0-14.fc14
Policy RPM                    selinux-policy-3.9.3-4.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                   2
First Seen                    Sat 11 Sep 2010 04:53:21 PM BST
Last Seen                     Sat 11 Sep 2010 04:53:21 PM BST
Local ID                      b3876055-901d-45fd-931d-9c24928c3c35
Line Numbers                  

Raw Audit Messages            

node=(removed) type=AVC msg=audit(1284220401.936:37): avc:  denied  { getattr } for  pid=1799 comm="nspluginscan" path="/usr/lib64/mozilla/plugins-wrapped/npwrapper.so" dev=dm-0 ino=664682 scontext=unconfined_u:unconfined_r:nsplugin_t:s0-s0:c0.c1023 tcontext=system_u:object_r:nsplugin_rw_t:s0 tclass=lnk_file

node=(removed) type=SYSCALL msg=audit(1284220401.936:37): arch=c000003e syscall=6 success=no exit=-13 a0=2134158 a1=7fff4c4008c0 a2=7fff4c4008c0 a3=1 items=0 ppid=1425 pid=1799 auid=500 uid=500 gid=500 euid=500 suid=500 fsuid=500 egid=500 sgid=500 fsgid=500 tty=(none) ses=1 comm="nspluginscan" exe="/usr/bin/nspluginscan" subj=unconfined_u:unconfined_r:nsplugin_t:s0-s0:c0.c1023 key=(null)



Hash String generated from  catchall,nspluginscan,nsplugin_t,nsplugin_rw_t,lnk_file,getattr
audit2allow suggests:

#============= nsplugin_t ==============
allow nsplugin_t nsplugin_rw_t:lnk_file getattr;

Comment 1 Daniel Walsh 2010-09-13 13:15:03 UTC

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


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