Bug 398621 - SELinux is preventing /usr/lib/nspluginwrapper/plugin-config from loading /usr/lib/mozilla/plugins/nppdf.so which requires text relocation.
SELinux is preventing /usr/lib/nspluginwrapper/plugin-config from loading ...
Status: CLOSED DUPLICATE of bug 250249
Product: Fedora
Classification: Fedora
Component: nspluginwrapper (Show other bugs)
i686 Linux
low Severity medium
: ---
: ---
Assigned To: Christopher Aillon
Ben Levenson
Depends On:
  Show dependency treegraph
Reported: 2007-11-25 14:18 EST by James J Catchpole
Modified: 2008-02-19 12:21 EST (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2008-02-19 12:21:28 EST
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 James J Catchpole 2007-11-25 14:18:27 EST
Detailed Description
    The /usr/lib/nspluginwrapper/plugin-config application attempted to load
    /usr/lib/mozilla/plugins/nppdf.so which requires text relocation.  This is 
    potential security problem. Most libraries do not need this permission.
    Libraries are sometimes coded incorrectly and request this permission.  
    http://people.redhat.com/drepper/selinux-mem.html web page explains how to
    remove this requirement.  You can configure SELinux temporarily to allow
    /usr/lib/mozilla/plugins/nppdf.so to use relocation as a workaround, until
    the library is fixed. Please file a
    http://bugzilla.redhat.com/bugzilla/enter_bug.cgi against this package.

Allowing Access
    If you trust /usr/lib/mozilla/plugins/nppdf.so to run correctly, you can
    change the file context to textrel_shlib_t. "chcon -t textrel_shlib_t
    /usr/lib/mozilla/plugins/nppdf.so" You must also change the default file
    context files on the system in order to preserve them even on a full
    relabel.  "semanage fcontext -a -t textrel_shlib_t

    The following command will allow this access:
    chcon -t textrel_shlib_t /usr/lib/mozilla/plugins/nppdf.so

Additional Information        

Source Context                system_u:system_r:unconfined_t:s0
Target Context                system_u:object_r:lib_t:s0
Target Objects                /usr/lib/mozilla/plugins/nppdf.so [ file ]
Affected RPM Packages         nspluginwrapper- [application]
Policy RPM                    selinux-policy-3.0.8-56.fc8
Selinux Enabled               True
Policy Type                   targeted
MLS Enabled                   True
Enforcing Mode                Enforcing
Plugin Name                   plugins.allow_execmod
Host Name                     jjc-mf-Fedora
Platform                      Linux jjc-mf-Fedora #1 SMP Thu 
                              8 21:41:26 EST 2007 i686 i686
Alert Count                   21
First Seen                    Sat Nov 24 22:39:26 2007
Last Seen                     Sun Nov 25 13:53:48 2007
Local ID                      8bab165b-8053-4480-bcc3-7a9462a03468
Line Numbers                  

Raw Audit Messages            

avc: denied { execmod } for comm=plugin-config dev=dm-0 egid=500 euid=0
Comment 2 Martin Stransky 2008-02-19 12:21:28 EST

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

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