Description of problem: The script /usr/sbin/tomcat at line 22 attempts the following: # Get instance specific config file if [ -r "/etc/sysconfig/${NAME}" ]; then . /etc/sysconfig/${NAME} fi ${NAME} is not defined anywhere in this script nor is it exported by /etc/init.d/tomcat. As a result, tomcat logs the following to stdout: /usr/sbin/tomcat: line 22: .: /etc/sysconfig/: is a directory Two issues: - The `-r` test might be incorrect, as it succeeds when ${NAME} is undefined. A check for `! -d` or somethign might be appropriate. - The whole bit is (I think) unecessary, as the init script takes care of sourcing /etc/init.d/${NAME}. Version-Release number of selected component (if applicable): 7.0.33-3 How reproducible: `service tomcat start; cat /var/log/tomcat/catalina.out` Actual results: /usr/sbin/tomcat: line 22: .: /etc/sysconfig/: is a directory Expected results: nothin Additional info: You're all very good humans.
*** This bug has been marked as a duplicate of bug 1080195 ***