Mantis - ap2_worker
Viewing Issue Advanced Details
4580 packaging major sometimes 2010-10-19 13:34 2011-04-01 22:31
james  
bwalton  
normal  
closed  
fixed  
none    
none  
0004580: update does not restart in worker
Updating the previous install running httpd.worker restarts prefork not worker.
Issue History
2010-10-19 13:34 james New Issue
2010-10-19 13:43 james Note Added: 0008381
2010-10-26 04:40 bwalton Note Added: 0008413
2010-10-26 04:41 bwalton Assigned To => bwalton
2010-10-26 04:41 bwalton Status new => acknowledged
2010-10-27 17:39 james Note Added: 0008419
2011-01-22 15:39 bwalton Note Added: 0008725
2011-04-01 22:31 bwalton Note Added: 0008949
2011-04-01 22:31 bwalton Status acknowledged => closed
2011-04-01 22:31 bwalton Resolution open => fixed

Notes
(0008381)
james   
2010-10-19 13:43   
This bit from install could be related:

## Installing part 1 of 1.
/opt/csw/apache2/sbin/httpd.worker
/opt/csw/share/doc/ap2_worker/license
[ verifying class <none> ]
Registering 'httpd' alternative /opt/csw/apache2/sbin/httpd.worker ...
ERROR: /opt/csw/apache2/sbin/httpd exists, and is not symlink.
Not installing /opt/csw/apache2/sbin/httpd.worker as /opt/csw/apache2/sbin/httpd
[ verifying class <cswalternatives> ]
(0008413)
bwalton   
2010-10-26 04:40   
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
(0008419)
james   
2010-10-27 17:39   
I just ran update on an existing system. I can't test becuse it won't go in a zone, that may be the cause of this anyway.
(0008725)
bwalton   
2011-01-22 15:39   
I believe the packages in http://buildfarm.opencsw.org/experimental.html#apache2 [^] should resolve this issue. I've backed up and addressed only open issues with apache2 (no moving of etc/ and var/, no version bump).

Please test.

Thanks
-Ben
(0008949)
bwalton   
2011-04-01 22:31   
Resolved in current release.