Red Hat Bugzilla – Bug 615529
Config file confusion
Last modified: 2015-11-01 19:15:49 EST
Description of problem:
/etc/init.d/tomcat6 sources /etc/sysconfig/tomcat6, then runs /usr/sbin/tomcat6 which sources /etc/tomcat6/tomcat6.conf which is basically the same as /etc/sysconfig/tomcat6 and overwrites those values.
I would suggest making /etc/tomcat6/tomcat6.conf a symlink to /etc/sysconfig/tomcat6 or something similar.
Also, tomcat6 probably should probably create and own /var/run/tomcat6 owned by tomcat and put the pid file there to avoid the file creation shenanigans of the init script. Helps with systemd too I think.
Version-Release number of selected component (if applicable):
This bug appears to have been reported against 'rawhide' during the Fedora 14 development cycle.
Changing version to '14'.
More information and reason for this action is here:
This package has changed ownership in the Fedora Package Database. Reassigning to the new owner of this component.
*** This bug has been marked as a duplicate of bug 575341 ***