[bug-notifications] [cswclassutils 0003760]: Package contains file to be installed in /usr - doesn't work in a sparse zone

Mantis Bug Tracker noreply at opencsw.org
Thu Jul 9 14:50:25 CEST 2009


A NOTE has been added to this issue. 
====================================================================== 
http://www.opencsw.org/mantis/view.php?id=3760 
====================================================================== 
Reported By:                tlecomte
Assigned To:                bonivart
====================================================================== 
Project:                    cswclassutils
Issue ID:                   3760
Category:                   packaging
Reproducibility:            always
Severity:                   block
Priority:                   normal
Status:                     assigned
====================================================================== 
Date Submitted:             2009-07-08 13:31 CEST
Last Modified:              2009-07-09 14:50 CEST
====================================================================== 
Summary:                    Package contains file to be installed in /usr -
doesn't work in a sparse zone
Description: 
I am trying to install Apache 2 in a sparse Solaris 10 zone, with /usr
being an inherited-pkg-dir, thus read-only. Apache depends on
CSWcswclassutils (or a dependency of Apache depends on...), thus it is
impossible to install it in a sparse zone.

Making this package only install stuff in /etc, /var, and /opt/csw would
be very appreciated.
====================================================================== 

---------------------------------------------------------------------- 
 (0006416) bonivart (manager) - 2009-07-09 14:50
 http://www.opencsw.org/mantis/view.php?id=3760#c6416 
---------------------------------------------------------------------- 
Cswclassutils is not updated frequently and it never changes functionality,
only adds or fixes bugs so it's not critical to always keep it updated. As
far as I know cswclassutils is the only package installing something
outside of /etc/opt, /var/opt and /opt/csw and it's because of Sun's design
of how class action scripts work.

About pkg-get being "preferred", I wouldn't agree about that as being the
author of pkgutil. :-)

If you run "pkgutil -u cswclassutils" (in the global zone) it will only
update cswclassutils since it doesn't have any deps. I'm sure pkg-get can
do the same if you want to stay with that. I will also add a --nodeps
option to pkgutil to make sure only what you specify will get
installed/updated.




More information about the bug-notifications mailing list