Uploaded image for project: 'JBoss Web Server'
  1. JBoss Web Server
  2. JWS-106

Tomcat7: Unable to compile selinux policies

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • JWS 3.0.1 CR1
    • JWS 3.0.0 CR3.1
    • tomcat7
    • None
    • Release Notes
    • Hide
      Errors were thrown when attempting to compile the SELinux policies for Tomcat 7 on Red Hat Enterprise Linux 7.

      The SELinux policies for Tomcat 7 on Red Hat Enterprise Linux 7 have been fixed in this release of JBoss Web Server, and should compile successfully.
      Show
      Errors were thrown when attempting to compile the SELinux policies for Tomcat 7 on Red Hat Enterprise Linux 7. The SELinux policies for Tomcat 7 on Red Hat Enterprise Linux 7 have been fixed in this release of JBoss Web Server, and should compile successfully.
    • Documented as Resolved Issue

      The code documented in JWS30 Installation guide fails on RHEL7:

      [root@hp-dl165g6-01 ~]#cd /etc/tomcat7/selinux/packages/tomcat7
      [root@hp-dl165g6-01 tomcat8]# make -f /usr/share/selinux/devel/Makefile
      Compiling targeted tomcat7 module
      /usr/bin/checkmodule:  loading policy configuration from tmp/tomcat7.tmp
      tomcat7.te":78:ERROR 'unknown type tomcat7_domain' at token ';' on line 6151:
      #line 78
              typeattribute tomcat7_domain kernel_system_state_reader;
      /usr/bin/checkmodule:  error(s) encountered while parsing configuration
      make: *** [tmp/tomcat7.mod] Error 1
      

              dknox_jira David Knox (Inactive)
              lfuka Libor Fuka
              Filip Goldefus Filip Goldefus (Inactive)
              Lucas Costi Lucas Costi (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: