Bug 441620 - selinux policy for npviewer.bin breaks file/network access
selinux policy for npviewer.bin breaks file/network access
Product: Fedora
Classification: Fedora
Component: nspluginwrapper (Show other bugs)
All Linux
low Severity low
: ---
: ---
Assigned To: Martin Stransky
Fedora Extras Quality Assurance
Depends On:
  Show dependency treegraph
Reported: 2008-04-08 22:43 EDT by Sean Middleditch
Modified: 2008-04-17 08:44 EDT (History)
3 users (show)

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

Attachments (Terms of Use)

  None (edit)
Description Sean Middleditch 2008-04-08 22:43:53 EDT
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 08:09:55 EDT
You can setsebool allow_ns_plugin_execmem=1
Comment 2 Sean Middleditch 2008-04-17 08:44:49 EDT
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.