-
Bug
-
Resolution: Done
-
Critical
-
None
-
None
The documentation in the Installation Guide (https://access.redhat.com/documentation/en-US/Red_Hat_JBoss_Web_Server/3/html-single/Installation_Guide/index.html#sect-Default_SELinux_Policies_for_an_RPM_Installation) section 2.4.1.1 is a little odd looking at may be confusing for users. Presently it looks like:
# cd /etc/tomcat7/selinux/packages/tomcat7 # make -f /usr/share/selinux/devel/Makefile Compiling targeted tomcat7 module /usr/bin/checkmodule: loading policy configuration from tmp/tomcat7.tmp /usr/bin/checkmodule: policy configuration loaded /usr/bin/checkmodule: writing binary representation (version 10) to tmp/tomcat7.mod Creating targeted tomcat7.pp policy package rm tmp/tomcat7.mod tmp/tomcat7.mod.fc # semodule -i tomcat7.pp
When it should look like this:
# cd /etc/tomcat7/selinux/packages/tomcat7 # make -f /usr/share/selinux/devel/Makefile Compiling targeted tomcat7 module /usr/bin/checkmodule: loading policy configuration from tmp/tomcat7.tmp /usr/bin/checkmodule: policy configuration loaded /usr/bin/checkmodule: writing binary representation (version 10) to tmp/tomcat7.mod Creating targeted tomcat7.pp policy package rm tmp/tomcat7.mod tmp/tomcat7.mod.fc # semodule -i tomcat7.pp
so that users can tell what is the output of the command and where the next command starts.