Bug 679062 - SELinux is preventing /usr/bin/nspluginviewer from 'execute' accesses on the file /usr/lib64/mozilla/plugins-wrapped/nswrapper_32_64.libflashplayer.so.
Summary: SELinux is preventing /usr/bin/nspluginviewer from 'execute' accesses on the ...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 15
Hardware: x86_64
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Miroslav Grepl
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: setroubleshoot_trace_hash:c59a74af211...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-02-21 13:23 UTC by Michal Hlavinka
Modified: 2011-05-26 20:44 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-05-26 20:44:25 UTC
Type: ---


Attachments (Terms of Use)

Description Michal Hlavinka 2011-02-21 13:23:27 UTC
SELinux is preventing /usr/bin/nspluginviewer from 'execute' accesses on the file /usr/lib64/mozilla/plugins-wrapped/nswrapper_32_64.libflashplayer.so.

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

If you believe that nspluginviewer should be allowed execute access on the nswrapper_32_64.libflashplayer.so file 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 nspluginviewer /var/log/audit/audit.log | audit2allow -M mypol
# semodule -i mypol.pp

Additional Information:
Source Context                unconfined_u:unconfined_r:nsplugin_t:s0-s0:c0.c102
                              3
Target Context                unconfined_u:object_r:nsplugin_rw_t:s0
Target Objects                /usr/lib64/mozilla/plugins-
                              wrapped/nswrapper_32_64.libflashplayer.so [ file ]
Source                        nspluginviewer
Source Path                   /usr/bin/nspluginviewer
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           kdebase-4.6.0-2.fc15
Target RPM Packages           
Policy RPM                    selinux-policy-3.9.14-2.fc15
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Host Name                     (removed)
Platform                      Linux (removed)
                              2.6.38-0.rc4.git7.1.fc15.x86_64 #1 SMP Mon Feb 14
                              01:29:48 UTC 2011 x86_64 x86_64
Alert Count                   5
First Seen                    Thu 17 Feb 2011 10:29:00 AM CET
Last Seen                     Mon 21 Feb 2011 09:48:48 AM CET
Local ID                      09c1de81-70a4-473d-903b-876f1cdfb333

Raw Audit Messages
type=AVC msg=audit(1298278128.120:703): avc:  denied  { execute } for  pid=31499 comm="nspluginviewer" path="/usr/lib64/mozilla/plugins-wrapped/nswrapper_32_64.libflashplayer.so" dev=sdb1 ino=669099 scontext=unconfined_u:unconfined_r:nsplugin_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:nsplugin_rw_t:s0 tclass=file


type=SYSCALL msg=audit(1298278128.120:703): arch=x86_64 syscall=mmap success=no exit=EACCES a0=0 a1=21f978 a2=5 a3=802 items=0 ppid=31485 pid=31499 auid=500 uid=500 gid=500 euid=500 suid=500 fsuid=500 egid=500 sgid=500 fsgid=500 tty=(none) ses=1 comm=nspluginviewer exe=/usr/bin/nspluginviewer subj=unconfined_u:unconfined_r:nsplugin_t:s0-s0:c0.c1023 key=(null)

Hash: nspluginviewer,nsplugin_t,nsplugin_rw_t,file,execute

audit2allow

#============= nsplugin_t ==============
allow nsplugin_t nsplugin_rw_t:file execute;

audit2allow -R

#============= nsplugin_t ==============
allow nsplugin_t nsplugin_rw_t:file execute;


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