java error after installing reference policy

Stephen Smalley sds at tycho.nsa.gov
Thu Aug 9 16:41:20 UTC 2007


On Thu, 2007-08-09 at 11:15 -0400, Mark wrote:
> I followed the instructions for installing the latest reference
> policy: http://oss.tresys.com/projects/refpolicy/wiki/UseRefpolicy 

Why?  The stock Fedora policy is already refpolicy-based.
What kind of policy did you build (build.conf settings)?

> After rebooting, I get the following command when I run SLIDE: 
> 
> Java HotSpot(TM) Client VM warning: Attempt to allocate stack guard
> pages failed.
> Error occurred during initialization of VM
> Could not reserve enough space for code cache
> 
> I then tried just running "java -version", and I get the same error
> message. 
> 
> I am running Sun's JDK version 1.6 update 2.

Likely need to set booleans for execstack/execmem.  Or make sure java
runs in a domain that has those permissions.

-- 
Stephen Smalley
National Security Agency




More information about the fedora-selinux-list mailing list