[bug-notifications] [tomcat5 0001833]: Update problems, /opt/csw/share/tomcat5/logs

Mantis Bug Tracker noreply at opencsw.org
Thu Mar 26 20:35:29 CET 2009


The following issue has been CLOSED 
====================================================================== 
http://www.opencsw.org/bugtrack/view.php?id=1833 
====================================================================== 
Reported By:                james
Assigned To:                wbonnet
====================================================================== 
Project:                    tomcat5
Issue ID:                   1833
Category:                   upgrade
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     closed
Resolution:                 fixed
Fixed in Version:           
====================================================================== 
Date Submitted:             2006-09-27 12:52 CEST
Last Modified:              2009-03-26 20:35 CET
====================================================================== 
Summary:                    Update problems,  /opt/csw/share/tomcat5/logs
Description: 
Previous version of tomcat implicitly created the directory:
/opt/csw/share/tomcat5/logs

In the new package this is a link:
1 s none /opt/csw/share/tomcat5/logs=/var/opt/csw/tomcat5/logs

And hence will fail.  Needs a preinstall script to handle.

# pkgchk CSWtomcat5
ERROR: /opt/csw/share/tomcat5/logs
    file type <s> expected <d> actual



On install catalina.sh tries to create the file catalina.out, but fails. 
Could be because it is now running as user tomcat and previously was root. 
This causes pkgadd to fail because the return status of postinstall is that
of init.d script, there is no explicit exit ion postintsall.

====================================================================== 

---------------------------------------------------------------------- 
 (0004060) wbonnet (manager) - 2006-10-11 18:21
 http://www.opencsw.org/bugtrack/view.php?id=1833#c4060 
---------------------------------------------------------------------- 
A script in the preinstall has been added to handle the file system layout
between version 5.5.12 and latest.

A new version of the package is submitted, including this fix and an
upgrade to 5.5.20 (latest available today)

The same fix has been applied to tomcat4 package 

---------------------------------------------------------------------- 
 (0005756) wbonnet (manager) - 2009-03-26 20:35
 http://www.opencsw.org/bugtrack/view.php?id=1833#c5756 
---------------------------------------------------------------------- 
Preinstall script added 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-03-26 20:35 wbonnet        Note Added: 0005756                          
2009-03-26 20:35 wbonnet        Status                   resolved => closed  
======================================================================




More information about the bug-notifications mailing list