[bug-notifications] [ap2_worker 0004580]: update does not restart in worker

Mantis Bug Tracker noreply at opencsw.org
Tue Oct 26 04:40:47 CEST 2010


A NOTE has been added to this issue. 
====================================================================== 
https://www.opencsw.org/mantis/view.php?id=4580 
====================================================================== 
Reported By:                james
Assigned To:                
====================================================================== 
Project:                    ap2_worker
Issue ID:                   4580
Category:                   packaging
Reproducibility:            sometimes
Severity:                   major
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2010-10-19 13:34 CEST
Last Modified:              2010-10-26 04:40 CEST
====================================================================== 
Summary:                    update does not restart in worker
Description: 
Updating the previous install running httpd.worker restarts prefork not
worker.
====================================================================== 

---------------------------------------------------------------------- 
 (0008413) bwalton (manager) - 2010-10-26 04:40
 https://www.opencsw.org/mantis/view.php?id=4580#c8413 
---------------------------------------------------------------------- 
How did you perform the upgrade?  While I think there is an issue here, you
shouldn't have seen the 'ERROR:...' bit as that should be handled by the
following preinstall script from CSWapache2:


#!/bin/sh

# The old apache2 packages could potentially leave a dangling
# sbin/httpd file.  As this would prevent successful delivery of the
# new packages (alternatives won't instantiate sbin/httpd as a symlink
# since it exists already), we need to kill sbin/httpd if it exists
# when CSWapache2 is installed.

HTTPD=$PKG_INSTALL_ROOT/opt/csw/apache2/sbin/httpd

if [ -f "$HTTPD" -a ! -L "$HTTPD" ]; then
   rm -f "$HTTPD"
fi

exit 0



More information about the bug-notifications mailing list