'java' command does not work on RHEL5 servers using SELinux MLS policy

Solution Verified - Updated -

Issue

  • 'java' command does not work on RHEL5 servers using SELinux MLS policy.
  • Running 'java -version' command doesn't return anything on terminal. At the same time, /var/log/audit/audit.log shows the following selinux denials :
type=AVC msg=audit(1280823585.819:456): avc:  denied  { sigchld } for  pid=2944 comm="bash"
scontext=root:sysadm_r:sysadm_javaplugin_t:s0-s15:c0.c1023 tcontext=root:sysadm_r:sysadm_t:s0-s15:c0.c1023 tclass=process

Environment

  • Red Hat Enterprise Linux 5.4
  • selinux-policy-mls-2.4.6-279.el5_5.1

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.