OpenCSW Bug Tracker


Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0001833 [tomcat5] upgrade major always 2006-09-27 12:52 2009-03-26 20:35
Reporter james View Status public  
Assigned To wbonnet
Priority normal Resolution fixed  
Status closed  
Summary 0001833: 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.
Additional Information
Tags No tags attached.
Attached Files

- Relationships

-  Notes
(0004060)
wbonnet (reporter)
2006-10-11 18:21

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 (reporter)
2009-03-26 20:35

Preinstall script added


Copyright © 2000 - 2008 Mantis Group
Powered by Mantis Bugtracker