Bug 540153 - libjvm.so marked needing execstack
Summary: libjvm.so marked needing execstack
Keywords:
Status: CLOSED DUPLICATE of bug 542586
Alias: None
Product: Fedora
Classification: Fedora
Component: java-1.6.0-openjdk
Version: 12
Hardware: i686
OS: Linux
low
medium
Target Milestone: ---
Assignee: Deepak Bhole
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-11-22 16:14 UTC by Joel F
Modified: 2010-01-23 22:52 UTC (History)
6 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2010-01-23 22:52:24 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Joel F 2009-11-22 16:14:50 UTC
Description of problem:

two libraries are marked as needing execstack, and this causes SELinux (in my case) to prevent tomcat6 from starting.

find /usr/lib -name \*.so\* -exec execstack -q {} \;  2>/dev/null | grep ^X
X /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0/jre/lib/i386/client/libjvm.so                                     
X /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0/jre/lib/i386/server/libjvm.so 

How reproducible:  (from fresh FC12 install I did this)
# yum tomcat6 install
# service tomcat6 start
# cat /var/log/tomcat6/catalina.out
----------------
dl failure on line 696Error: failed /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0/jre/lib/i386/client/libjvm.so, because /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0/jre/lib/i386/client/libjvm.so: cannot enable executable stack as shared object requires: Permission denied
--EOF-----------

Actual results
Tomcat not started

Expected results:
Normal startup

Additional info:
Running the command:
# execstack -c /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0/jre/lib/i386/client/libjvm.so
allows tomcat to startup normally.

Comment 1 Mark Wielaard 2010-01-23 22:52:24 UTC

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


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