Bug 136487

Summary: installation fails to create user and group "tomcat"
Product: [Fedora] Fedora Reporter: Philipp Berndt <philipp.berndt>
Component: tomcatAssignee: Gary Benson <gbenson>
Status: CLOSED INSUFFICIENT_DATA QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 2CC: mattdm, shiva
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: 2006-10-28 16:48:29 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 Philipp Berndt 2004-10-20 14:09:02 UTC
Description of problem:
installation fails to create user and group "tomcat"

Version-Release number of selected component (if applicable):
4.1.27-13

How reproducible:
(re-)install tomcat

Comment 1 Kenneth Porter 2005-03-14 21:50:41 UTC
Works for me. (I installed it Thursday.) The preinstall script has the
appropriate commands:

[root@segw tomcat]# rpm -q --scripts tomcat
preinstall scriptlet (using /bin/sh):
/usr/sbin/groupadd -g 53 tomcat 2>/dev/null || :
/usr/sbin/useradd -u 53 -g tomcat -c "Tomcat server" \
    -s /sbin/nologin -r -d /var/lib/tomcat tomcat 2>/dev/null || :
postinstall scriptlet (using /bin/sh):
/sbin/chkconfig --add tomcat
preuninstall scriptlet (using /bin/sh):
if [ $1 = 0 ]; then
    /sbin/service tomcat stop > /dev/null 2>&1
    /sbin/chkconfig --del tomcat
fi


Comment 2 Philipp Berndt 2005-03-15 07:51:39 UTC
I believe at some point during installing I got some error message that user 
tomcat would not exist. 

Comment 3 Matthew Miller 2005-04-26 15:41:20 UTC
Fedora Core 2 is now maintained by the Fedora Legacy project for
security updates only. If this problem is a security issue, please
reopen and reassign to the Fedora Legacy product. If it is not a
security issue and hasn't been resolved in the current FC3 updates or
in the FC4 test release, reopen and change the version to match.

Comment 4 John Thacker 2006-10-28 16:48:29 UTC
FC1 and FC2 are no longer supported even by Fedora Legacy, and this bug refers
to tomcat version 4.x, last shipped in FC2.  tomcat5 replaced it, and has quite
a few differences, so please retest the bug.  If this still occurs on FC3 or
FC4, please
assign to that version and Fedora Legacy.  If it still occurs on FC5 or FC6,
please reopen and assign to the correct version.