[bug-notifications] [alternatives 0004560]: /opt/csw/sbin/alternatives not installed in sparse zone

Mantis Bug Tracker noreply at opencsw.org
Sat Oct 2 01:28:03 CEST 2010


The following issue has been RESOLVED. 
====================================================================== 
https://www.opencsw.org/mantis/view.php?id=4560 
====================================================================== 
Reported By:                holzi
Assigned To:                phil
====================================================================== 
Project:                    alternatives
Issue ID:                   4560
Category:                   regular use
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     resolved
Resolution:                 fixed
Fixed in Version:           
====================================================================== 
Date Submitted:             2010-10-01 16:13 CEST
Last Modified:              2010-10-02 01:28 CEST
====================================================================== 
Summary:                    /opt/csw/sbin/alternatives not installed in sparse
zone
Description: 
I have CSWsudo installed in globle zone. Hence alternatives too.
If I create a sparse zone alternatives is not installed correct into the
sparse zone. Hence no symlinks for sudo.

pkgchk CSWalternatives              
ERROR: /opt/csw/sbin/alternatives
    pathname does not exist

The script is missing.
====================================================================== 

---------------------------------------------------------------------- 
 (0008314) phil (manager) - 2010-10-02 01:28
 https://www.opencsw.org/mantis/view.php?id=4560#c8314 
---------------------------------------------------------------------- 
PS: I did some more testing: i tried WITHOUT inherit-pkg-dir, and noticed
that the console of the zone was prompting me for some info.
I entered the info, let it reboot, etc, etc... and THEN
/opt/csw/sbin/alternatives
appeared as a proper file in the zone.

So you may have just been checking prematurely.
But even given that, you should change your configuration of /opt/csw in
the zone, to be inherit-pkg-dir, if you are going to be pkgadd'ing packages
from the global zone.



More information about the bug-notifications mailing list