Bug 398621
| Summary: | SELinux is preventing /usr/lib/nspluginwrapper/plugin-config from loading /usr/lib/mozilla/plugins/nppdf.so which requires text relocation. | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | James J Catchpole <james_j_catchpole> |
| Component: | nspluginwrapper | Assignee: | Christopher Aillon <caillon> |
| Status: | CLOSED DUPLICATE | QA Contact: | Ben Levenson <benl> |
| Severity: | medium | Docs Contact: | |
| Priority: | low | ||
| Version: | 8 | CC: | mcepl, stransky |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | i686 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2008-02-19 17:21:28 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
Detailed Description The /usr/lib/nspluginwrapper/plugin-config application attempted to load /usr/lib/mozilla/plugins/nppdf.so which requires text relocation. This is a potential security problem. Most libraries do not need this permission. Libraries are sometimes coded incorrectly and request this permission. The 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 /usr/lib/mozilla/plugins/nppdf.so" 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-0.9.91.5-12.fc8 [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 2.6.23.1-49.fc8 #1 SMP Thu Nov 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 exe=/usr/lib/nspluginwrapper/plugin-con