This is found in snv_25. If you do initial install with snv_25 as follow:
OS: snv_25
Media: DVD image
Cluster: SUNWCXall
Locale to use: C
Locale to install: All
Then you create a wholeroot zone, it had the following warnings:
# ./zonecreate.sh
/var/tmp/sparseroot: No such file or directory
/var/tmp/wholeroot: No such file or directory
ID NAME STATUS PATH
0 global running /
- sparserootzone configured /export/home/sparserootzone
- wholerootzone configured /export/home/wholerootzone
Preparing to install zone <sparserootzone>.
Creating list of files to copy from the global zone.
Copying <3282> files to the zone.
Initializing zone product registry.
Determining zone package initialization order.
Preparing to initialize <1647> packages on the zone.
Initialized <1647> packages on zone.
Zone <sparserootzone> is initialized.
The file </export/home/sparserootzone/root/var/sadm/system/logs/install_log> co
ntains a log of the zone installation.
Preparing to install zone <wholerootzone>.
Creating list of files to copy from the global zone.
Copying <190920> files to the zone.
Initializing zone product registry.
Determining zone package initialization order.
Preparing to initialize <1647> packages on the zone.
Initialized <1647> packages on zone.
Zone <wholerootzone> is initialized.
Installation of these packages generated warnings: <SUNWgnome-a11y-libs-share>
The file </export/home/wholerootzone/root/var/sadm/system/logs/install_log> con
tains a log of the zone installation.
#
If you look at the install_log, it had the following warning:
*** package <SUNWgnome-a11y-libs-share> installed with warnings:
cp: cannot access ../../../../../share/jar/gnome-java-bridge.jar
pkgadd: ERROR: postinstall script did not complete successfully
Installation of <SUNWgnome-a11y-libs-share> on zone <wholerootzone>
partially failed.
The postinstall script had issues:
dong{ding}125: more postinstall
#!/bin/sh
if [ -h $PKG_INSTALL_ROOT/usr/java/jre/lib/accessibility.properties ]; then
rm -f $PKG_INSTALL_ROOT/usr/java/jre/lib/accessibility.properties
fi
cd $PKG_INSTALL_ROOT/usr/java/jre/lib || exit 2
# Extra '..' because traversing up through symlink.
ln -s ../../../../../share/jar/accessibility.properties . || exit 2
cp ../../../../../share/jar/gnome-java-bridge.jar ext || exit 2
installf $PKGINST /usr/java/jre/lib/accessibility.properties=../../../../../sha
re/jar/accessibility.properties s || exit 2
installf $PKGINST /usr/java/jre/lib/ext/gnome-java-bridge.jar f 0644 root other
|| exit 2
installf -f $PKGINST || exit 2
dong{ding}126:
On the global zone, the following link exist:
line2-240# ls -lia /usr/jdk/inst*/jd*1.5.0/jre/lib/acce*
59226 lrwxrwxrwx 1 root other 49 Oct 21 16:28 /usr/jdk/instances/jdk1.5.0/jre/lib/accessibility.properties -> ../../../../../share/jar/accessibility.properties
line2-240#
However, under the wholeroot zone, the link is missing:
line2-240# ls -lia access*
No match
line2-240# pwd
/export/home/wholerootzone/root/usr/jdk/instances/jdk1.5.0/jre/lib
line2-240#
This is also found in s10u2 nightly (01/06/06) build.
# cat /etc/release
Solaris 10 6/06 s10s_u2wos_nightly SPARC
Copyright 2006 Sun Microsystems, Inc. All Rights Reserved.
Use is subject to license terms.
Assembled 06 January 2006
If you look at a normal system installed without zones, the /usr/jva should be a link as follow:
# ls -lia /usr/java
3679 lrwxrwxrwx 1 root other 15 Jan 30 13:35 /usr/java -> jdk/jdk1.5.0_06
#
If you look under the wholeroot zone, it had the following instead:
# cd /export/home/wholerootzone/root/usr
# ls -lia java
total 6
99553 drwxr-xr-x 3 root root 512 Jan 30 17:47 .
29864 drwxr-xr-x 38 root sys 1024 Jan 30 18:59 ..
99554 drwxr-xr-x 3 root root 512 Jan 30 17:47 jre
#
Thus the link is screw up as follow:
# ls -lia java
44420 lrwxrwxrwx 1 root other 16 Jan 30 17:40 java -> ../java/bin/java
# ls ../java/bin/java
../java/bin/java: No such file or directory
# pwd
/export/home/wholerootzone/root/usr/bin
#
This might be a Java install issue with wholeroot zone.
I tried the new SUNWgnome-a11y-libs-share in the latest nevada nightly build. The zone creations works as follow:
# ./zonecreate.sh
/var/tmp/sparseroot: No such file or directory
/var/tmp/wholeroot: No such file or directory
ID NAME STATUS PATH
0 global running /
- sparserootzone configured /export/home/sparserootzone
- wholerootzone configured /export/home/wholerootzone
Preparing to install zone <sparserootzone>.
Creating list of files to copy from the global zone.
Copying <3277> files to the zone.
Initializing zone product registry.
Determining zone package initialization order.
Preparing to initialize <1683> packages on the zone.
Initialized <1683> packages on zone.
Zone <sparserootzone> is initialized.
Installation of these packages generated errors: <SUNWmpsvplr>
The file </export/home/sparserootzone/root/var/sadm/system/logs/install_log> contains a log of the zone installation.
Preparing to install zone <wholerootzone>.
Creating list of files to copy from the global zone.
Copying <192738> files to the zone.
Initializing zone product registry.
Determining zone package initialization order.
Preparing to initialize <1683> packages on the zone.
Initialized <1683> packages on zone.
Zone <wholerootzone> is initialized.
Installation of these packages generated errors: <SUNWmpsvplr>
The file </export/home/wholerootzone/root/var/sadm/system/logs/install_log> contains a log of the zone installation.
zoneadm: zone 'sparserootzone': WARNING: hme0:1: no matching subnet found in netmasks(4) for 10.6.35.130; using default of 255.0.0.0.
zoneadm: zone 'wholerootzone': WARNING: hme0:2: no matching subnet found in netmasks(4) for 10.6.35.131; using default of 255.0.0.0.
#
This will be officially verified when snv_33 is available.