-
Bug
-
Resolution: Done
-
Major
-
JWS 5.0_RHEL_GA, JWS 5.0_RHEL ER2
-
4
-
-
-
-
-
-
+
-
-
When trying to run jws 5.0 using systemd for .zip installs on RHEL 7, systemd is unable to execute tomcat/bin/startup.sh due to SELinux permissions once the postinstall has been set up.
SELinux denial in the attached file.
Looks like the wrong context is being applied:
# ll -Z /opt/jws-5.0/tomcat/ drwxrwxr-x. tomcat tomcat unconfined_u:object_r:jws5_tomcat_exec_t:s0 bin drwxrwxr-x. tomcat tomcat unconfined_u:object_r:usr_t:s0 conf drwxrwxr-x. tomcat tomcat unconfined_u:object_r:lib_t:s0 lib drwxrwxr-x. tomcat tomcat unconfined_u:object_r:jws5_tomcat_log_t:s0 logs drwxr-xr-x. tomcat tomcat unconfined_u:object_r:usr_t:s0 selinux drwxr-xr-x. tomcat tomcat unconfined_u:object_r:usr_t:s0 services drwxrwxr-x. tomcat tomcat unconfined_u:object_r:jws5_tomcat_cache_t:s0 temp drwxrwxr-x. tomcat tomcat unconfined_u:object_r:jws5_tomcat_var_lib_t:s0 webapps drwxr-x---. tomcat tomcat system_u:object_r:jws5_tomcat_cache_t:s0 work