package <SUNWgnome-a11y-libs-share> failed to install with fatal errors

Hi,

On solaris 10 machine when creating a zone the default config it is creating with is as below:

# zonecfg -z Yalong6

zonecfg:Yalong6> info

zonepath: /Yalong/Yalong6

autoboot: false

pool:

inherit-pkg-dir:

dir: /lib

inherit-pkg-dir:

dir: /platform

inherit-pkg-dir:

dir: /sbin

inherit-pkg-dir:

dir: /usr

zonecfg:Yalong6> exit

#

if we remove all the inherit-pkg-dir and install the zone, I'm getting the below error:

*** package <SUNWgnome-a11y-libs-share> failed to install with fatal errors:

/Yalong/Yalong6/root/var/sadm/pkg/SUNWgnome-a11y-libs-share/install/postinstall : cannot return when not in function

pkgadd: ERROR: postinstall script did not complete successfully

Installation of <SUNWgnome-a11y-libs-share> on zone <Yalong6> failed.

Can anyone please tell me how would this effect the zone configuration?

I don't want the /usr of global zone to be available in zones...

[1052 byte] By [Spandanaa] at [2007-11-27 8:52:03]
# 1

Hi

I am not sure what the issue you have here as that should work, but have you tried creating the zone as a whole root zone (create -b) rather than a sparce zone. This creates the zone with no inherited packages:

create the file: nyc-zone1.cfg

create -b

set zonepath=/export/zone_root/nyc-zone1

set autoboot=true

add net

set address=?.?.?.?

set physical=e1000g0

end

add attr

set name=comment

set type=string

set value="put a comment in here"

end

verify

commit

exit

Then create the zone with zonecfg -z nyc-zone1 -f ./nyc_zone1.cfg

sidhugha at 2007-7-12 21:06:46 > top of Java-index,Solaris Operating System,Solaris 10 Features...