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

Update selinux policy files for tomcat and add selinux subpackage

XMLWordPrintable

    • Hide

      1) install tomcat7 or tomcat8 with selinux

      {yum install tomcat7 tomcat7-selinux}

      2) start service

      {service tomcat7 start}

      3) Check the context of the running process expecting tomcat7_t

      {ps -eZf | grep tomcat | head -n1}

      4) [optional] Check the contexts of the tomcat configuration, log dir, etc. to see that they're the correct contexts (tomcat_exec_t, tomcat_config_t, etc).

      {ll -Z /usr/share/tomcat7/conf/}
      Show
      1) install tomcat7 or tomcat8 with selinux {yum install tomcat7 tomcat7-selinux} 2) start service {service tomcat7 start} 3) Check the context of the running process expecting tomcat7_t {ps -eZf | grep tomcat | head -n1} 4) [optional] Check the contexts of the tomcat configuration, log dir, etc. to see that they're the correct contexts (tomcat_exec_t, tomcat_config_t, etc). {ll -Z /usr/share/tomcat7/conf/}

      After moving to systemd in 3.1.0, the selinux policy sources need an update. This needs to be organized into a new subpackage for selinux to prevent user intervention to compile and apply selinux policies.

            rhn-support-csutherl Coty Sutherland
            rhn-support-csutherl Coty Sutherland
            Jan Onderka Jan Onderka
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - 1 day
                1d
                Remaining:
                Remaining Estimate - 1 day
                1d
                Logged:
                Time Spent - Not Specified
                Not Specified