[bug-notifications] [cswclassutils 0004416]: check for running in a zone

Mantis Bug Tracker noreply at opencsw.org
Tue Jun 21 17:06:09 CEST 2011


A NOTE has been added to this issue. 
====================================================================== 
https://www.opencsw.org/mantis/view.php?id=4416 
====================================================================== 
Reported By:                verboEse
Assigned To:                bonivart
====================================================================== 
Project:                    cswclassutils
Issue ID:                   4416
Category:                   packaging
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     assigned
====================================================================== 
Date Submitted:             2010-05-11 14:26 CEST
Last Modified:              2011-06-21 17:06 CEST
====================================================================== 
Summary:                    check for running in a zone
Description: 
package install should check for running in a zone and reject installation
during checkinstall
====================================================================== 

---------------------------------------------------------------------- 
 (0009128) bonivart (developer) - 2011-06-21 17:06
 https://www.opencsw.org/mantis/view.php?id=4416#c9128 
---------------------------------------------------------------------- 
This is how it looks when installing a CAS package in a sparse zone (with
read-only /usr):

=> Installing CSWcas-usergroup-1.44,REV=2011.05.02 (4/55) ...
Please see /opt/csw/share/doc/cas_usergroup/license for license
information.
ERROR: attribute verification of
</usr/sadm/install/scripts/i.cswusergroup> failed
    pathname does not exist
ERROR: attribute verification of
</usr/sadm/install/scripts/r.cswusergroup> failed
    pathname does not exist
ERROR: attribute verification of
</usr/sadm/install/scripts/i.cswusergroup> failed
    pathname does not exist
ERROR: attribute verification of
</usr/sadm/install/scripts/r.cswusergroup> failed
    pathname does not exist

Installation of <CSWcas-usergroup> partially failed.
Exiting pkgutil due to pkgadd error: 2
root at atvp1uascm021:~#

The read-only status of /usr can be checked with mount and a useful
message could be printed to help the user, something like: "You need to
install the cas* packages in the global zone first".

This should be added to all cas packages (now that they are separate).



More information about the bug-notifications mailing list