[bug-notifications] [apache2 0004579]: Can not install in zone
Mantis Bug Tracker
noreply at opencsw.org
Mon Jan 24 18:23:47 CET 2011
A NOTE has been added to this issue.
======================================================================
https://www.opencsw.org/mantis/view.php?id=4579
======================================================================
Reported By: james
Assigned To: bwalton
======================================================================
Project: apache2
Issue ID: 4579
Category: packaging
Reproducibility: sometimes
Severity: block
Priority: high
Status: assigned
======================================================================
Date Submitted: 2010-10-19 13:32 CEST
Last Modified: 2011-01-24 18:23 CET
======================================================================
Summary: Can not install in zone
Description:
Package tries to install files in /usr and fails when in zone.
======================================================================
----------------------------------------------------------------------
(0008738) bwalton (manager) - 2011-01-24 18:23
https://www.opencsw.org/mantis/view.php?id=4579#c8738
----------------------------------------------------------------------
> start fails complaining of missing /opt/csw/apache2/var/run/, this used
to be
> in apache2c.
Ok, I've adjusted the postinstall script to create this on demand rather
than making it owned by the package. I'm repackaging now to include this
change.
> /opt/csw/apache2/sbin/apachectl -k start
> /opt/csw/apache2/sbin/apachectl: /opt/csw/apache2/sbin/httpd: not found
>
> which isn't surprising because it's not there. Copy httpd.worker to
httpd,
> start and it runs.
Again, this should be handled by the cswalternatives CAS. Do you have
CSWalternatives installed?
What does the output of: alternatives --display httpd
show?
Mine is:
root @ m2 : ~
# alternatives --display httpd
Installed alternatives for httpd are:
/opt/csw/apache2/sbin/httpd httpd /opt/csw/apache2/sbin/httpd.worker 100
/opt/csw/apache2/sbin/httpd httpd /opt/csw/apache2/sbin/httpd.prefork 50
If you have the CSWalternatives package installed and your output after
updating is different than the above (assuming you've added ap2_worker),
I'd like to see that output.
Also, are you using pkg-get still, with the broken remove/add sequence?
Are you updating from 2.2.13 where the symlink handling of httpd didn't
work correctly in some removal scenarios?
Thanks
-Ben
More information about the bug-notifications
mailing list