Bug 441620 - selinux policy for npviewer.bin breaks file/network access
Summary: selinux policy for npviewer.bin breaks file/network access
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: nspluginwrapper   
(Show other bugs)
Version: rawhide
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Martin Stransky
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Keywords:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-04-09 02:43 UTC by Sean Middleditch
Modified: 2008-04-17 12:44 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2008-04-17 12:09:55 UTC
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

Description Sean Middleditch 2008-04-09 02:43:53 UTC
Flash and Java applets running inside of npviewer.bin are cause SELinux access
denials, causing the applets to fail to function properly.  For example, the
Flash image uploader for Facebook fails to work.  (Using proprietary Flash plugin.)

The usual denied message is this one:

type=AVC msg=audit(1207708459.489:321): avc:  denied  { execmem } for  pid=28566
comm="npviewer.bin" scontext=unconfined_u:unconfined_r:nsplugin_t:s0-s0:c0.c1023
tcontext=unconfined_u:unconfined_r:nsplugin_t:s0-s0:c0.c1023 tclass=process

execmem may be icky, but npviewer.bin needs it in order to actually properly run
the (essentially) two programs it was written for.

Comment 1 Martin Stransky 2008-04-17 12:09:55 UTC
You can setsebool allow_ns_plugin_execmem=1

Comment 2 Sean Middleditch 2008-04-17 12:44:49 UTC
Why should that be necessary?  If you know that the common use for npviewer
requires it to be on, turn it on by default.


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