https://bugzilla.redhat.com/show_bug.cgi?id=1167033
Bug ID: 1167033
Summary: All tomcat at name instances run under the same tomcat
user
Product: Fedora
Version: 20
Component: tomcat
Assignee: ivan.afonichev(a)gmail.com
Reporter: bowabos(a)gmail.com
QA Contact: extras-qa(a)fedoraproject.org
CC: ivan.afonichev(a)gmail.com,
java-sig-commits(a)lists.fedoraproject.org,
krzysztof.daniel(a)gmail.com
Description of problem:
It should be possible to specify TOMCAT_USER variable in /etc/sysconfig/name to
change the user under which the name instance will run.
Version-Release number of selected component (if applicable):
How reproducible: easy
Steps to Reproduce:
1. create a second named instance
2. set TOMCAT_USER to a defined user (i.e. jira)
3. start the tomcat@name instance (i.e. tomcat@jira)
Actual results:
ps -ef | grep java shows the user is tomcat
Expected results:
ps -ef | grep java should return a process owned by the named tomcat instance
(i.e. jira)
Additional info:
modifying /usr/lib/systemd/system/tomcat@.service
and changing the User and Group line with
User=%I
Group=%I
may be an option explored.
--
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug
https://bugzilla.redhat.com/token.cgi?t=c32RhcyRMh&a=cc_unsubscribe