Bug 615529

Summary: Config file confusion
Product: [Fedora] Fedora Reporter: Orion Poplawski <orion>
Component: tomcat6Assignee: David Knox <dknox>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 14CC: akurtako, dknox, dwalluck, extras-orphan, jclere, jdennis
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-09-23 21:24:17 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Orion Poplawski 2010-07-16 22:32:03 UTC
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):
tomcat6-6.0.26-8.fc14.noarch

Comment 1 Bug Zapper 2010-07-30 12:37:59 UTC
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:
http://fedoraproject.org/wiki/BugZappers/HouseKeeping

Comment 2 Fedora Admin XMLRPC Client 2010-08-23 17:58:39 UTC
This package has changed ownership in the Fedora Package Database.  Reassigning to the new owner of this component.

Comment 3 John Dennis 2010-09-23 21:24:17 UTC

*** This bug has been marked as a duplicate of bug 575341 ***