https://bugzilla.redhat.com/show_bug.cgi?id=1311771
--- Comment #10 from Ade Lee <alee(a)redhat.com> ---
The problem of CATALINA_HOME not being set is actually only symptomatic of the
underlying issue - which are the changes implemented for
https://bugzilla.redhat.com/show_bug.cgi?id=1293636 -- Systemd tomcat.service
unit loads /etc/sysconfig/tomcat without shell expansion
Dogtag creates a clone of the tomcat service and therefore -- according to
instructions -- created a copy of the /usr/lib/systemd/system/tomcat@.service
systemd unit file.
Prior to the fix for 1293636, this file would source /etc/tomcat/tomcat.conf as
an environment file. In this file, we set CATALINA_HOME and other parameters.
In the fix for 1293636, the unit file was changed to source
/etc/sysconfig/tomcat instead, and tomcat.conf was changed into a shell script.
This was of course not propagated to our copy of the unit file.
We can certainly change our unit files in F24 if needed, but its not clear
whether it is acceptable to break existing installations by changing the
semantics of config files in F23, F22 and RHEL 7.
If this change needs to be done, then it should be done in a backwards
compatible way -- perhaps leaving /etc/tomcat/tomcat.conf as it is - and as the
referenced file, and then using a different file for the non-systemd/ shell
expanded version.
--
You are receiving this mail because:
You are on the CC list for the bug.