[bug-notifications] [apache2 0004579]: Can not install in zone

Mantis Bug Tracker noreply at opencsw.org
Sat Nov 20 18:01:28 CET 2010


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:              2010-11-20 18:01 CET
====================================================================== 
Summary:                    Can not install in zone
Description: 
Package tries to install files in /usr and fails when in zone.
====================================================================== 

---------------------------------------------------------------------- 
 (0008473) japester (reporter) - 2010-11-20 18:01
 https://www.opencsw.org/mantis/view.php?id=4579#c8473 
---------------------------------------------------------------------- 
on a freshly installed clean sparse zone:

# pkg-get   -s http://buildfarm.opencsw.org/opencsw/experimental/apache2
install apache2
...
Generating dummy ssl key and certificate...
chmod: WARNING: can't access /opt/csw/apache2/etc/server.key
chmod: WARNING: can't access /opt/csw/apache2/etc/server.crt
chown: /opt/csw/apache2/etc/server.key: No such file or directory
chown: /opt/csw/apache2/etc/server.crt: No such file or directory
pkgadd: ERROR: class action script did not complete successfully
[ verifying class <build> ]
ERROR: attribute verification of </opt/csw/apache2/etc/server.crt.CSW>
failed
    pathname does not exist
Installing class <cswinitsmf> ...
WARNING! FMRI path contained an illegal dot (removed)
...

Looks like the installation script is failing to create the dummy SSL cert
files.
This leaves the package in a 'not completely installed' state, which means
that other pkgs which depend on apache won't install (apache2rt, etc)

The FMRI error appears to be taken care of in an updated classutils
package (which hasn't been published yet)

Went looking for the postinstall script, but couldn't find it.  where is
it?



More information about the bug-notifications mailing list