OpenCSW Bug Tracker


Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0004580 [ap2_worker] packaging major sometimes 2010-10-19 13:34 2011-04-01 22:31
Reporter james View Status public  
Assigned To bwalton
Priority normal Resolution fixed  
Status closed  
Summary 0004580: update does not restart in worker
Description Updating the previous install running httpd.worker restarts prefork not worker.
Additional Information
Tags No tags attached.
Attached Files

- Relationships

-  Notes
(0008381)
james (reporter)
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 (administrator)
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 (reporter)
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 (administrator)
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 (administrator)
2011-04-01 22:31

Resolved in current release.


Copyright © 2000 - 2008 Mantis Group
Powered by Mantis Bugtracker