[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
Wed Jul 8 19:18:43 CEST 2009


A NOTE has been added to this issue. 
====================================================================== 
http://opencsw.org/bugtrack/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-08 19:18 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.
====================================================================== 

---------------------------------------------------------------------- 
 (0006415) gadavis (reporter) - 2009-07-08 19:18
 http://opencsw.org/bugtrack/view.php?id=3760#c6415 
---------------------------------------------------------------------- 
I would like to add to this discussion a bit:

Often my sparse root zones run a wildly different selection of packages
than those of the global zone. In order to install new ones, I have to run
pkg-get -fu inside the sparse root zone. It's tough to trigger a package
upgrade of a package installed in the global zone from the non-global zone.


Due to the inflexibility of pkg-get (which is listed on opencsw.org as the
preferred package management tool), I can't just periodically run an
upgrade of CSWclassutils from the global zone to ensure that my sparse-root
zones will actually work. If I run "pkg-get -fu", it will trigger an
upgrade of a bunch of packages that I really don't want upgraded right then
and there. I've brought down our web server several times due to an
automatically upgraded apache2 package or some dependent libraries with
incompatible options or binaries.

A solution needs to be devised that works properly in non-global zones and
allows them to have different packages installed than what live in the
global zone. This used to work until CSWclassutils started putting files in
/usr.




More information about the bug-notifications mailing list