Mantis - ghostscript_filters
Viewing Issue Advanced Details
5292 block always 2016-11-22 17:31 2016-11-23 09:17
baataboom  
dam  
normal  
acknowledged  
open  
none    
none  
0005292: Cannot install CSWevince on Solaris 10 sparse-root zones
Our sparse-root non-global zones do not have write permission to the /opt file system. Instead this file system is written/managed by the global zone. CSWevince is the first package that we've seen that attempts to write to /opt in the non-global zones. This action fails because it is readonly.
install log is below. It's possible that a workaround would be to make '/opt/csw/share/glib-2.0/schemas/' a symlink that points to a writable file system on all of the non-global zones.


When installing CSWevince the following occurred on rmf50:

=> Installing CSWevince-2.32.0,REV=2013.12.16 (40/40) ...
Please see /opt/csw/share/doc/evince/license for license information.

Installation of <CSWevince> was successful.
Failed to create file '/opt/csw/share/glib-2.0/schemas/gschemas.compiled.FEWKRY': Read-only file system
pkginstall: ERROR: postinstall script did not complete successfully

Installation of <CSWevince> on zone <zoneB> failed.
Failed to create file '/opt/csw/share/glib-2.0/schemas/gschemas.compiled.EAT8QY': Read-only file system
pkginstall: ERROR: postinstall script did not complete successfully

Installation of <CSWevince> on zone <zoneA> failed.
Failed to create file '/opt/csw/share/glib-2.0/schemas/gschemas.compiled.08OLRY': Read-only file system
pkginstall: ERROR: postinstall script did not complete successfully

Installation of <CSWevince> on zone <zoneC> failed.
Issue History
2016-11-22 17:31 baataboom New Issue
2016-11-23 09:13 dam Status new => assigned
2016-11-23 09:13 dam Assigned To => dam
2016-11-23 09:17 dam Note Added: 0011220
2016-11-23 09:17 dam Status assigned => acknowledged

Notes
(0011220)
dam   
2016-11-23 09:17   
This is due to the postinstall script:
  /opt/csw/bin/glib-compile-schemas /opt/csw/share/glib-2.0/schemas/
The postinstall script should be marked so it is not executes in non-global zones.

You can try a loopback mount as described here for now:
  ^]