Bug 191150 - "SELinux" blocks execution of "libxul.so"
"SELinux" blocks execution of "libxul.so"
Status: CLOSED WONTFIX
Product: Fedora
Classification: Fedora
Component: xulrunner (Show other bugs)
rawhide
All Linux
medium Severity medium
: ---
: ---
Assigned To: Marco Pesenti Gritti
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2006-05-09 05:25 EDT by Joachim Frieben
Modified: 2007-11-30 17:11 EST (History)
2 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2006-05-09 10:44:30 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Joachim Frieben 2006-05-09 05:25:28 EDT
Description of problem:
The configure script of "epiphany" aborts when the "xulrunner" rendering
backend is chosen.

Version-Release number of selected component (if applicable):
selinux-policy-targeted-2.2.38-1

How reproducible:
Always.

Steps to Reproduce:
1. Rebuild "epiphany" with option "--with-gecko=xulrunner"
  
Actual results:
The "configure" stage aborts. The following message appears in
"config.log": "./conftest: error while loading shared libraries:
  /usr/lib/xulrunner-1.8.0.4/libxul.so: cannot restore segment prot
  after reloc: Permission denied".

Expected results:
The "configure" stage should have completed as expected.

Additional info:
After changing the file attribute from "system_u:object_r:lib_t" to
"system_u:object_r:textrel_shlib_t", "configure" completes as
expected.
Comment 1 Joachim Frieben 2006-05-09 05:59:43 EDT
The "xulrunner-1.8.0.cvs20060505" package has been retrieved from "rawhide".
Various symlinks have been added in order to compile "epiphany".
"/usr/lib/xulrunner-1.8.0.4" does not exist in the original package where
it is actually named "/usr/lib/xulrunner-1.8.0.cvs20060505" (Bug #191153).
Comment 2 Daniel Walsh 2006-05-09 08:48:45 EDT
I will fix the policy to allow this to complete but this is actually a bug in
the library to require this.  So I am reassigning to xulrunner.

This link explains the problem

http://people.redhat.com/~drepper/selinux-mem.html
Comment 3 Marco Pesenti Gritti 2006-05-09 10:44:30 EDT
The xulrunner package is not yet ready for rawhide and it was shipped there by
mistake. I removed it now.

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